{% extends "base.html" %} {% block content %} {% if alert_ok %}
Trading needs a Stellar address. Generated locally, encrypted with your passphrase.
{% else %}| LAPSE | {{ lapse_addr }} |
| Balance | {{ fmt_lapse_dp(lapse_balance) }} |
| Stellar | {{ xlm_addr }} |
| XLM available | {% if xlm_account_exists %} {{ fmt_xlm(xlm_spendable) }} XLM {% if xlm_locked %} ({{ fmt_xlm(xlm_locked) }} held as the account reserve, not spendable) {% endif %} {% else %} Not funded yet. You can still sell LAPSE: the buyer's first payment creates the account for you and you pay nothing. {% endif %} |
Name your own price. A matching order already in the book is taken immediately; otherwise this waits until someone takes it. To take a specific order yourself, use the book above.
{# --------------------------------------------------------- resting order #}Reason shown below. Auto-accept settings are in Settings.
| Order | From | Amount | Their standing | Why it's waiting | |
|---|---|---|---|---|---|
| {{ 'Buying' if r.direction == 'buy' else 'Selling' }} | {{ short_addr(r.taker_lapse_addr) }}{{ trust_badge(r.taker_lapse_addr) | safe }} | {{ fmt_lapse_dp(r.lapse_total, 2) }} | {% if r.trust.abandoned_count %} Took a payment, did not reciprocate {% else %} {{ fmt_score(r.trust.score) }} {%- if r.trust.completed_count %} ({{ r.trust.completed_count }} completed trade{{ '' if r.trust.completed_count == 1 else 's' }}) {%- endif %} {% endif %} | {% if not r.fits_cap %} Over your exposure cap {% elif r.below_trust_floor %} Below your auto-accept trust floor {% else %} Could not fund this leg right now {% endif %} |
{% if lapse_overcommitted %} Sell orders ask for {{ fmt_lapse_dp(lapse_committed, 2) }} LAPSE, you hold {{ fmt_lapse_dp(lapse_balance, 2) }}. {% endif %} {% if xlm_overcommitted %} Buy orders need {{ fmt_xlm(xlm_committed) }} XLM, {{ fmt_xlm(xlm_spendable) }} spendable. {% endif %} No funds at risk, but a fill may come back declined. Cancel or top up.
| Side | Amount | Received | Price | Margin | Expires | |
|---|---|---|---|---|---|---|
| {{ 'Buying' if o.direction == 'buy' else 'Selling' }} | {{ fmt_lapse_dp(o.lapse_total, 2) }} | {# A ring, not a bar: how much the counterparty has actually paid this maker (market.received_ticks), not how much of the trade overall is done - the leg this maker's own risk actually depends on, not what it sent out itself. #} {{ o.pct_received }}% | {{ fmt_price(o.price_stroops_per_lapse) }} XLM | {% if o.auto_match_margin_stroops %} {{ fmt_price(o.auto_match_margin_stroops) }} XLM {% else %} none {% endif %} | {% if o.blocks_left > 0 %}~{{ fmt_duration(o.blocks_left * 120) }}{% else %}expired{% endif %} |