{{ report_header }} {{ as_of_date }}

Summary

{% for row in summary %} {% endfor %}
Broker Our Trade Volume Their Trade Volume Diff Trade Volume Our Gross Their Gross Diff Gross
{{ row.broker }} {{ "{:,d}".format(row.quantity|int) }} {{ "{:,d}".format(row.quantity_theirs|int) }} {% if row.quantity_diff|int == 0 %}-{% else %}{{ "{:,d}".format(row.quantity_diff|int) }}{% endif %} {{ "{:,d} USD".format(row.principal_local|int) }} {{ "{:,d} USD".format(row.principal_local_theirs|int) }} {% if row.principal_local_diff|int == 0 %}-{% else %}{{ "{:,d} USD".format(row.principal_local_diff|int) }}{% endif %}

Mismatched Quantities: {{ both|length }} {% if both|length > max_breaks %}(showing only first {{ max_breaks }}) {% endif %}

{% if both|length == 0 %}

No breaks

{% else %} {% for row in both %} {% if loop.index <= max_breaks %} {% endif %} {% endfor %}
Account Broker Teza ID Teza Key Side Price Our Quantity Their Quantity Diff Quantity
{{ row.account_name }} {{ row.broker }} {{ row.teza_id }} {{ row.teza_key }} {{ row.side }} {{ row.price }} {{ row.quantity|int }} {{ row.quantity_theirs|int }} {{ row.quantity_diff|int }}
{% endif %}

Mismatched Prices : {{ both_price|length }} {% if both_price|length > max_breaks %}(showing only first {{ max_breaks }}) {% endif %}

{% if both_price|length == 0 %}

No breaks

{% else %} {% for row in both_price %} {% if loop.index <= max_breaks %} {% endif %} {% endfor %}
Account Broker Teza ID Teza Key Side Quantity Our Price Their Price Diff Price
{{ row.account_name }} {{ row.broker }} {{ row.teza_id }} {{ row.teza_key }} {{ row.side }} {{ row.quantity|int }} {{ row.price }} {{ row.price_theirs }} {{ row.price_diff }}
{% endif %}

Our Side Only : {{ ours_only|length }} {% if ours_only|length > max_breaks %}(showing only first {{ max_breaks }}) {% endif %}

{% if ours_only|length == 0 %}

No breaks

{% else %} {% for row in ours_only %} {% if loop.index <= max_breaks %} {% endif %} {% endfor %}
Account Broker Teza ID Teza Key Side Quantity Our Price
{{ row.account_name }} {{ row.broker }} {{ row.teza_id }} {{ row.teza_key }} {{ row.side }} {{ row.quantity|int }} {{ row.price }}
{% endif %}

Their Side Only : {{ theirs_only|length }} {% if theirs_only|length > max_breaks %}(showing only first {{ max_breaks }}) {% endif %}

{% if theirs_only|length == 0 %}

No breaks

{% else %} {% for row in theirs_only %} {% if loop.index <= max_breaks %} {% endif %} {% endfor %}
Account Broker Teza ID Teza Key Side Quantity Their Price
{{ row.account_name }} {{ row.broker }} {{ row.teza_id }} {{ row.teza_key }} {{ row.side }} {{ row.quantity|int }} {{ row.price_theirs }}
{% endif %}