For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Support Center
OverviewAPIResources
OverviewAPIResources
  • REST API Endpoints
      • GETCommand Dependents
      • GETCommand Item
      • GETCommand Items
      • GETCommand L Dependents
      • GETCommand List
      • GETCommand Report Dependents
      • GETCommand Report Item
      • GETCommand Report Items
      • GETCommand Report L Dependents
      • GETCommand Report List
      • GETExecution Report Dependents
      • GETExecution Report Find
      • GETExecution Report Item
      • GETExecution Report Items
      • GETExecution Report L Dependents
      • GETExecution Report List
      • GETFill Dependents
      • GETFill Item
      • GETFill Items
      • GETFill L Dependents
      • GETFill List
      • GETFill Fee Dependents
      • GETFill Fee Item
      • GETFill Fee Items
      • GETFill Fee L Dependents
      • GETFill Fee List
      • POSTCancel Order
      • GETOrder Dependents
      • GETOrder Item
      • GETOrder Items
      • GETOrder L Dependents
      • POSTLiquidate Position
      • POSTLiquidate Positions
      • GETOrder List
      • POSTModify Order
      • POSTPlace OCO
      • POSTPlace Order
      • POSTPlace OSO
      • GETOrder Strategy Dependents
      • POSTInterrupt Order Strategy
      • GETOrder Strategy Item
      • GETOrder Strategy Items
      • GETOrder Strategy L Dependents
      • GETOrder Strategy List
      • POSTModify Order Strategy
      • POSTStart Order Strategy
      • GETOrder Strategy Link Dependents
      • GETOrder Strategy Link Item
      • GETOrder Strategy Link Items
      • GETOrder Strategy Link L Dependents
      • GETOrder Strategy Link List
      • GETOrder Version Dependents
      • GETOrder Version Item
      • GETOrder Version Items
      • GETOrder Version L Dependents
      • GETOrder Version List
Support Center
LogoLogo
REST API EndpointsOrders

Command List

GET
https://demo.tradovateapi.com/v1/command/list
GET
/v1/command/list
1const url = 'https://demo.tradovateapi.com/v1/command/list';
2const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
3
4try {
5 const response = await fetch(url, options);
6 const data = await response.json();
7 console.log(data);
8} catch (error) {
9 console.error(error);
10}
200Retrieved
1[
2 {
3 "orderId": 1,
4 "timestamp": "2024-01-15T09:30:00Z",
5 "commandType": "Cancel",
6 "commandStatus": "AtExecution",
7 "id": 1,
8 "clOrdId": "string",
9 "senderId": 1,
10 "userSessionId": 1,
11 "activationTime": "2024-01-15T09:30:00Z",
12 "customTag50": "string",
13 "isAutomated": true
14 }
15]
Retrieves all entities of Command type
Was this page helpful?
Previous

Command Report Dependents

Next
Built with

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Response

Command
orderIdlong
timestampdatetime
commandTypeenum
Cancel, Modify, New
Allowed values:
commandStatusenum
AtExecution, ExecutionRejected, ExecutionStopped, ExecutionSuspended, OnHold, Pending, PendingExecution, Replaced, RiskPassed, RiskRejected
idlong
clOrdIdstring<=64 characters
senderIdlong
userSessionIdlong
activationTimedatetime
customTag50string<=64 characters
isAutomatedboolean