{% extends "base.html" %} {% block scripts %} {% end %} {% block css %} {% end %} {% block title %} Exchange Account Status {% end %} {% block page_title %}

Account Status

{% end %} {% block content %}
{% for exchange in args['all_exchanges'] %} {% if exchange['is_up'] == True %} {% else %} {% end %} {% else %} {% end %} {% end %}
{{ exchange['name'] }} {% if exchange['is_up'] == True %} {{ exchange['up_since'].seconds }} seconds ago{{ exchange['balance']['BTC'] }} {% if exchange['balance']['USD'] %} {{ exchange['balance']['USD'] }} {% elif exchange['balance']['CAD'] %} {{ exchange['balance']['CAD'] }} {% elif exchange['balance']['EUR'] %} {{ exchange['balance']['EUR'] }} {% else %} None {% end %}
{{ args['system_balances']['BTC'] }}
{{ args['system_balances']['USD'] }}

{{ args['system_balances']['CAD'] }}

{{ args['system_balances']['EUR'] }}




{{ args['total_fiat'] }}

Trading Bank Accounts

{% for account in args['bank_accounts'] %} {% if account['highlight'] %} {% else %} {% end %} {% end %}
{{ account['name'] }} {{ account['balance'] }}

Pending Wire Deposits

{% for tx in args['in_transit_fiat_txs'] %} {% end %}
Type Amount Exchange Time Began
{{ tx.transaction_type }} {{ tx.amount }} {{ tx.exchange.name }} {{ tx.time_created }}

Pending Bitcoin Deposits

{% for tx in args['in_transit_btc_txs'] %} {% if tx.is_stuck() %} {% else %} {% end %} {% end %}
Type Amount Exchange Time Began Confirmations
{{ tx.transaction_type }} {{ tx.amount }} {{ tx.exchange.name }} {{ tx.time_created }} {% try %} {{ tx.confirmations() }} {% except %} ERROR {% end %}

Recent Transactions

{% for tx in args['recent_transactions'] %} {% if tx.transaction_type == 'DEPOSIT' %} {% else %} {% end %} {% end %}
{{ tx.transaction_type }} {{ round(tx.amount.amount, 4) }} {% if tx.transaction_type == 'DEPOSIT' %} into {% else %} from {% end %} {{ tx.exchange.name }} {{ tx.time_created }}

24 Hour Movements

{% for flow in args['net_flows'] %} {% if flow['deposits'] > 0 or flow['withdrawals'] > 0 %} {% if flow['deposits'] >= flow['withdrawals'] %} {% else %} {% end %} {% end %} {% end %}
{{ flow['exchange_name'] }} {{ "%+.2f" % (flow['deposits'] - flow['withdrawals']) }} (+{{ flow['deposits'] }} -{{ flow['withdrawals'] }}]
{% end %}