Paper trading
Closed-trade ledger
Full closed-trade history with paging - /positions is capped at 100, this pages through the whole retention window. Follow next_before for the next page.
get/api/bot/v1/trades
Request
- Base URL: https://marginpad.io
- URL: https://marginpad.io/api/bot/v1/trades
- Auth: API key in header X-API-Key
Query parameters
limitstring
1-500, default 100.
beforestring
Cursor: unix ms from next_before.
Response
ok
Example response
{
"retention_days": 30
}Changes
No recorded changes to this operation across all 1 revision of this API.