Trading
Get trade by ID
Permissions required: Read trade activity or Execute trades (if trade created by this API key)
Get trade by ID.
get/trading/trades/{tradeId}
Request
- Base URLhttps://api.anchorage-staging.com/v2
- AuthAPI key in header Api-Access-Key
- TypeScripthttps://skmtc.dev/anchorage/apis/anchorage-digital-api-reference/docs/trading/trades/:tradeId/get.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
tradeIdstring required
The ID of the trade to get details for
Response
Metadata about a specific trade
Example response
{
"data": {
"account": {
"accountId": "6290d9bd-494f-11ed-975e-2e567b4c0e09",
"subaccountId": "5490d9bd-494f-11ed-975e-2e567b4c0e09"
},
"side": "BUY",
"vault": {
"vaultID": "1c920f4241b78a1d483a29f3c24b6c4c"
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.