List your options and stock trades
https://app.skylit.ai/api/nexus/v1/tradesYour own options and stock trades, newest first. Futures aren't listed here: read them with the futures account and order history routes.
With test=true it lists your test log instead (your 10 newest test orders, futures ones included) and never a real trade.
Authorization
Authorization: Bearer <your API key>Required. A missing header returns 401; an invalid, revoked or expired key returns 403.
Query parameters
statusstringdefaultallWhich trades to list.
openclosedalllimitintegerdefault50min 1 · max 200Page size. Anything over 200 is read as 200.
offsetintegerdefault0min 0 · max 100000How many trades to skip.
teststringdefaultfalsetruelists your test log instead of your trades.truefalse
Responses
- 200
Your trades.
meta.totalcounts every match, not just this page. - 400
The request was refused before anything was traded. Codes:
bad_request,bad_contract,invalid_quantity,invalid_price,unsupported_asset_class,unsupported_order_type,only_market_orders,test_orders_unavailable,test_modify_unavailable. - 401
No key, or a key that isn't valid. Codes:
missing_api_key,invalid_api_key. - 429
Over a rate limit. Wait
Retry-Afterseconds, then retry. Code:rate_limited.
Response fields
dataobject[]idstringuuiduserIdstringuuidtickerstringstrikenumberexpirationstringdatedirectionstringcallputassetClassstringoptionsstocksaverageEntryPricenumbercurrentPricenumberThe latest mark.
totalQuantityintegerremainingQuantityintegerstatusstringactiveclosedentryDatestringdate-timeexitDatestringdate-timeexitsobject[]sourcestringapion a trade a key opened.testbooleantrueon a test order.
metaobjecttotalintegerlimitintegeroffsetintegertestbooleanWith
test=true: this is your test log.maxRowsintegerWith
test=true: how many test orders the log keeps (10).
Last updated