Mints an HS256 token for the trader ID below and stores it in an HttpOnly cookie. There is no user store — anyone can be any trader. Demo only.
{{ error }}
| Symbol | Last | Chg | Margin |
|---|---|---|---|
| {{ t.symbol }}{{ t.spec.description }} | {{ px(t, t.price) }}stale | {{ pct(change(t)) }} | {{ tradeable(t.symbol) ? money(margins[t.symbol]) : '—' }} |
No open positions
| Symbol | Side | Qty | Unrealized | |
|---|---|---|---|---|
| {{ p.symbol }} | {{ p.quantity > 0 ? 'Long' : 'Short' }} | {{ Math.abs(p.quantity) }} | {{ money(p.unrealized_pnl) }} |
No closed trades
| Symbol | Side | Qty | Realized | Closed |
|---|---|---|---|---|
| {{ c.symbol }} | {{ c.direction === 'long' ? 'Long' : 'Short' }}Liq | {{ c.quantity }} | {{ money(c.realized_pnl) }} | {{ ago(c.closed_at) }} |
No notifications
{{ modal.message }}