API dokumentation
List Algos
get
/api/v1/Trade/algosReturns the venue algorithms (broker strategies) the caller can select for an instrument on a trading account they own. {enabled} is false, with no algorithms, when algorithms are switched off for the platform or for the account. Pass an algorithm's {key} and parameter values as {algo} when placing the order.
Trade
Parametrar
accountId
query · integer
Nödvändig
symbol
query · string
Nödvändig
version
path · string
Nödvändig
Svar
- 200Algorithms for the instrument (possibly empty).application/json
{ "enabled": true, "algos": [ { "key": "EQTY|BRKA|VWAP", "name": "VWAP", "broker": "BRKA", "assetClass": "EQTY", "parameters": [ { "name": "StartTime", "type": "Time", "required": false, "disabled": false }, { "name": "Urgency", "type": "Choice", "required": true, "disabled": false, "values": [ "Low", "Medium", "High" ] } ], "orderTypes": [ "Market", "Limit" ], "timeInForces": [ "Day" ], "canModify": false } ] } - 400Symbol missing, or the algorithms could not be loaded.application/json
{ "status": "rejected", "message": "Validation failed." } - 401Not authenticated.
- 403Caller lacks Trading claim or account is not owned by the caller.application/json
{ "type": "Deposit", "title": "Example", "status": 1, "detail": "The request could not be completed. Check the values and try again.", "instance": "Example" }