{% extends "base.html" %} {% block content %}

Order book

Selling (buy from them) Buying (sell to them)

{{ total }} order{{ '' if total == 1 else 's' }} on this side.

Sort: best price · largest · newest
{% if not rows %}

{% if total == 0 %} Nobody is {{ 'selling' if side == 'sell' else 'buying' }} right now. {% if other_total %} {{ other_total }} order{{ '' if other_total == 1 else 's' }} on the {{ 'buying' if other_side == 'buy' else 'selling' }} side, if that's what you're looking for. {% endif %} {% else %} No orders on this page. Back to page 1. {% endif %}

{% else %}
{% for e in rows %} {% endfor %}
Price {{ 'Available' if side == 'sell' else 'Wanted' }} {{ 'Seller' if side == 'sell' else 'Buyer' }} Min fill Expires
{{ fmt_price(e.price) }} XLM {{ fmt_lapse_dp(e.remaining, 2) }} {{ short_addr(e.maker) }}{{ trust_badge(e.maker) | safe }} {% if e.min_fill %}{{ fmt_lapse_dp(e.min_fill, 2) }}{% else %}none{% endif %} {% set blocks_left = e.expiry_block - height %} {% if blocks_left > 0 %}~{{ fmt_duration(blocks_left * 120) }}{% else %}expired{% endif %} {{ 'Buy…' if side == 'sell' else 'Sell…' }}
Page {{ page }} of {{ last_page }}
{% if page > 1 %} Newer page {% endif %} {% if page < last_page %} Next page {% endif %}
{% endif %} {% endblock %}