Paper trading
Equity curve
starting_balance_usd + realized P&L per bucket from the ledger (fees and funding settled), the live unrealized point at the end, and max_drawdown_pct. Buckets before the first close carry the realized total up to that time.
get/api/bot/v1/equity
Request
- Base URL: https://marginpad.io
- URL: https://marginpad.io/api/bot/v1/equity
- Auth: API key in header X-API-Key
Query parameters
daysstring
1-90, default 30.
step_minstring
Bucket size in minutes, 5-1440 (default 60 up to 14 days, 240 beyond).
Response
{ ok, points:[{t, realized_pnl_usd, equity_usd, closes}], now:{…}, max_drawdown_pct }
Changes
No recorded changes to this operation across all 1 revision of this API.