Trading
API wallet balance
GET
https://www.slay.money/api/trade/balanceRequires an API key: Authorization: Bearer spk_…
Cash on each venue and open positions in your API wallet. ?paper=1: the paper account.
Request
curl -X GET 'https://www.slay.money/api/trade/balance' \ -H 'Authorization: Bearer $SLAY_TOKEN'
Parameters
paperstring · query1 for the paper account.
Responses
200Cash and positions.
cashobjectpositionsobject[]200 response
{
"cash": {},
"positions": [
{}
]
}