Download OpenAPI specification:Download
{- "account": {
- "id": 65,
- "tradingType": "HEDGING",
- "accountType": "REGULAR",
- "enabled": true,
- "disableReason": "admin_requested",
- "userTradingEnabled": true,
- "group": "group1",
- "leverage": 30,
- "balance": "0",
- "credit": "0",
- "equity": "0",
- "margin": "0",
- "marginFree": "0",
- "profitLoss": "0",
- "pendingWithdrawal": "50.00",
- "withdrawalAvailability": "ENABLED",
- "marginCall": true,
- "marginLevelPercent": 550,
- "stopOut": true,
- "isDemo": true,
- "currency": "USD",
- "updatedAt": "2024-05-29T09:45:03.754098Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "name": "John Doe",
- "email": "john@doe.com",
- "country": "US"
}
}| search | string Example: search=EURUSD Search query to filter instruments by symbol |
| type | string Example: type=currencies Filter instruments by type |
{- "instruments": [
- {
- "symbol": "EURUSD",
- "ticker": "EURUSD",
- "full_name": "EURUSD",
- "description": "EURUSD",
- "exchange": "WINTRADO",
- "type": "currencies"
}
], - "ok": true
}| symbol required | string Example: EURUSD The symbol of the instrument to retrieve |
{- "ok": true,
- "instrument": {
- "ticker": "EURUSD",
- "name": "EURUSD",
- "full_name": "EURUSD",
- "description": "EURUSD",
- "type": "currencies",
- "session": "24x7",
- "timezone": "Etc/UTC",
- "exchange": "WINTRADO",
- "listed_exchange": "WINTRADO",
- "format": "price",
- "minmov": 1,
- "pricescale": 100000,
- "has_intraday": true,
- "has_daily": true,
- "has_weekly_and_monthly": false,
- "supported_resolutions": [
- "1",
- "5",
- "15",
- "30",
- "60",
- "240",
- "1D"
], - "data_status": "streaming"
}
}{- "defaultInstrument": "EURUSD",
- "instruments": [
- {
- "category": "currencies",
- "contractSize": 100000,
- "currency": "USD",
- "decimals": 5,
- "marginCurrency": "EUR",
- "maxOrderSize": "3",
- "minOrderSize": "0.01",
- "precision": 0.00001,
- "sizes": { },
- "stakeMode": "SPREAD_BETTING",
- "stepOrderSize": "0.01",
- "swap3DayWeekday": null,
- "swapLong": "2",
- "swapMode": "DISABLED",
- "swapShort": "2",
- "symbol": "EURUSD",
- "tradingHours": [
- {
- "startTime": "MONDAY:00:00",
- "endTime": "SUNDAY:23:59"
}
]
}
], - "timezone": "Europe/Berlin",
- "messageType": "InstrumentsInfo"
}{- "orders": [
- {
- "id": 356,
- "type": "market",
- "symbol": "EURUSD",
- "side": "buy",
- "reason": "user_trading",
- "positionId": null,
- "limitPrice": "0.6",
- "stopPrice": null,
- "size": "0.1",
- "takeProfit": null,
- "stopLoss": null,
- "trailingStopLossPct": 5,
- "filledQuantity": null,
- "placedAt": "2024-06-05T09:42:38.01044Z",
- "executedAt": null,
- "averagePrice": null,
- "requestPrice": null,
- "status": "new",
- "orderDuration": "GTC"
}
]
}| symbol required | string |
| type required | string (OrderTypeEnum) Enum: "market" "limit" "stop" |
| side required | string (TradeSideEnum) Enum: "buy" "sell" |
| size required | string <decimal> |
| limitPrice | string or null <decimal> |
| stopPrice | string or null <decimal> |
| stopLoss | string or null <decimal> |
| trailingStopLossPct | number (TrailingStopLossPct) Percentage at which trailing stop loss is triggered. Must be between 0 and 100. |
| takeProfit | string or null <decimal> |
| orderDuration | string (OrderDuration) Enum: "GTC" "GTD" "GFD" "FOK" "IOC" |
| closePositionAfterSeconds | integer or null |
| invest | string or null <decimal> |
| positionId | integer or null <int64> |
{- "symbol": "EURUSD",
- "type": "market",
- "side": "buy",
- "size": "0.01",
- "limitPrice": "1.12345",
- "stopPrice": "1.12345",
- "stopLoss": "1.12345",
- "trailingStopLossPct": 5,
- "takeProfit": "1.12345",
- "orderDuration": "GTC",
- "closePositionAfterSeconds": 50,
- "invest": "0.5",
- "positionId": 15
}{- "id": 356,
- "type": "market",
- "symbol": "EURUSD",
- "side": "buy",
- "reason": "user_trading",
- "positionId": null,
- "limitPrice": "0.6",
- "stopPrice": null,
- "size": "0.1",
- "takeProfit": null,
- "stopLoss": null,
- "trailingStopLossPct": 5,
- "filledQuantity": null,
- "placedAt": "2024-06-05T09:42:38.01044Z",
- "executedAt": null,
- "averagePrice": null,
- "requestPrice": null,
- "status": "new",
- "orderDuration": "GTC"
}| orderId required | integer Example: 100 The order id to modify |
Pass only the parameters you would like to modify
| size | string |
| limitPrice | string |
| stopPrice | string |
| stopLoss | string |
| takeProfit | string |
| trailingStopLossPct | number (TrailingStopLossPct) Percentage at which trailing stop loss is triggered. Must be between 0 and 100. |
{- "size": "0.01",
- "limitPrice": "1.12345",
- "stopPrice": "1.12345",
- "stopLoss": "1.12345",
- "takeProfit": "1.12345",
- "trailingStopLossPct": 5
}{- "id": 356,
- "type": "market",
- "symbol": "EURUSD",
- "side": "buy",
- "reason": "user_trading",
- "positionId": null,
- "limitPrice": "0.6",
- "stopPrice": null,
- "size": "0.1",
- "takeProfit": null,
- "stopLoss": null,
- "trailingStopLossPct": 5,
- "filledQuantity": null,
- "placedAt": "2024-06-05T09:42:38.01044Z",
- "executedAt": null,
- "averagePrice": null,
- "requestPrice": null,
- "status": "new",
- "orderDuration": "GTC"
}{- "positions": [
- {
- "positionId": 183,
- "symbol": "EURUSD",
- "status": "open",
- "size": "0.01",
- "side": "buy",
- "invest": null,
- "closePositionAfterSeconds": null,
- "openPrice": "1.09775",
- "openedAt": "2024-05-29T08:28:23.89257Z",
- "profitLoss": "-0.23",
- "swap": "0",
- "margin": "21.96",
- "commission": "0.01",
- "stopLoss": null,
- "trailingStopLossPct": 5,
- "trailingStopLossPrice": "0.1",
- "takeProfit": null,
- "platform": "wintrado"
}
]
}| positionId required | integer Example: 1000 The position id to modify |
Pass only the parameters you would like to modify
| stopLoss | string |
| takeProfit | string |
| trailingStopLossPct | number (TrailingStopLossPct) Percentage at which trailing stop loss is triggered. Must be between 0 and 100. |
{- "stopLoss": "1.12345",
- "takeProfit": "1.12345",
- "trailingStopLossPct": 5
}{- "ok": true,
- "position": {
- "positionId": 183,
- "symbol": "EURUSD",
- "status": "open",
- "size": "0.01",
- "side": "buy",
- "invest": null,
- "closePositionAfterSeconds": null,
- "openPrice": "1.09775",
- "openedAt": "2024-05-29T08:28:23.89257Z",
- "profitLoss": "-0.23",
- "swap": "0",
- "margin": "21.96",
- "commission": "0.01",
- "stopLoss": null,
- "trailingStopLossPct": 5,
- "trailingStopLossPrice": "0.1",
- "takeProfit": null,
- "platform": "wintrado"
}
}Calculates the margin that would be locked for a hypothetical order and tells you whether the free margin would be exceeded or a margin-call would be triggered.
| size required | string^\d+(\.\d+)?$ Example: size=0.1 Order size in lots/units (decimal). |
| symbol required | string Example: symbol=EURUSD Trading symbol / instrument code (e.g. |
| side required | string Enum: "buy" "sell" Example: side=buy Order side. |
| stopOrLimitPrice | string^\d+(\.\d+)?$ Example: stopOrLimitPrice=1.2050 Stop-loss or limit price that accompanies the order. Optional. Provide when the margin depends on a protective order. |
{- "margin": "1325.67",
- "freeMarginExceeded": false,
- "marginCall": false
}| limit | integer Example: limit=100 The number of items to return |
| offset | integer Example: offset=0 The number of items to skip before starting to collect the result set |
| side | string (TradeSideEnum) Enum: "buy" "sell" Filter by trade side |
| symbols | Array of strings Filter by symbols |
| from | string <date-time> Filter by start date (RFC3339 format) |
| to | string <date-time> Filter by end date (RFC3339 format) |
{- "trade": {
- "id": 1,
- "accountId": 2,
- "orderId": 3,
- "positionId": 3,
- "symbol": "EURUSD",
- "side": "buy",
- "price": "0.6",
- "size": "0.1",
- "profitLoss": "-0.23",
- "commission": "0.02",
- "executedAt": null
}
}Retrieve a list of all prop challenges
{- "count": 1,
- "propChallenges": [
- {
- "id": 1,
- "title": "challenge123",
- "leverage": 100,
- "initialBalance": "100000.00",
- "minTradingDays": 10,
- "maxTradingDays": 30,
- "maxInactivityDays": 5,
- "profitTargetFactor": "0.5",
- "maxDailyDrawdownFactor": "0.1",
- "maxTotalDrawdownFactor": "0.2",
- "accountGroup": "GroupA",
- "accountCurrency": "USD"
}
]
}Retrieve a specific prop challenge by ID
| id required | string Example: TEST ID of the prop challenge to retrieve |
{- "propChallenge": {
- "id": 1,
- "title": "challenge123",
- "leverage": 100,
- "initialBalance": "100000.00",
- "minTradingDays": 10,
- "maxTradingDays": 30,
- "maxInactivityDays": 5,
- "profitTargetFactor": "0.5",
- "maxDailyDrawdownFactor": "0.1",
- "maxTotalDrawdownFactor": "0.2",
- "accountGroup": "GroupA",
- "accountCurrency": "USD"
}
}{- "count": 10,
- "funnels": [
- {
- "id": "my-funnel-id",
- "firstChallenge": {
- "id": 1,
- "title": "challenge123",
- "leverage": 100,
- "initialBalance": "100000.00",
- "minTradingDays": 10,
- "maxTradingDays": 30,
- "maxInactivityDays": 5,
- "profitTargetFactor": "0.5",
- "maxDailyDrawdownFactor": "0.1",
- "maxTotalDrawdownFactor": "0.2",
- "accountGroup": "GroupA",
- "accountCurrency": "USD"
}, - "secondChallenge": {
- "id": 1,
- "title": "challenge123",
- "leverage": 100,
- "initialBalance": "100000.00",
- "minTradingDays": 10,
- "maxTradingDays": 30,
- "maxInactivityDays": 5,
- "profitTargetFactor": "0.5",
- "maxDailyDrawdownFactor": "0.1",
- "maxTotalDrawdownFactor": "0.2",
- "accountGroup": "GroupA",
- "accountCurrency": "USD"
}, - "thirdChallenge": {
- "id": 1,
- "title": "challenge123",
- "leverage": 100,
- "initialBalance": "100000.00",
- "minTradingDays": 10,
- "maxTradingDays": 30,
- "maxInactivityDays": 5,
- "profitTargetFactor": "0.5",
- "maxDailyDrawdownFactor": "0.1",
- "maxTotalDrawdownFactor": "0.2",
- "accountGroup": "GroupA",
- "accountCurrency": "USD"
}, - "fundedAccountType": {
- "id": 1,
- "title": "Demo",
- "leverage": 100,
- "initialBalance": "100000.00",
- "minTradingDays": 10,
- "maxInactivityDays": 30,
- "maxDailyDrawdownFactor": "0.05",
- "maxTotalDrawdownFactor": "0.10",
- "accountGroup": "Group1",
- "accountCurrency": "USD",
- "behavior": "REGULAR",
- "profitTargetFactor": "0.5",
- "traderProfitShareFactor": "0.7"
}
}
]
}Retrieve a specific prop funnel by ID
| id required | string Example: my-funnel-id ID of the prop funnel to retrieve |
{- "funnel": {
- "id": "my-funnel-id",
- "firstChallenge": {
- "id": 1,
- "title": "challenge123",
- "leverage": 100,
- "initialBalance": "100000.00",
- "minTradingDays": 10,
- "maxTradingDays": 30,
- "maxInactivityDays": 5,
- "profitTargetFactor": "0.5",
- "maxDailyDrawdownFactor": "0.1",
- "maxTotalDrawdownFactor": "0.2",
- "accountGroup": "GroupA",
- "accountCurrency": "USD"
}, - "secondChallenge": {
- "id": 1,
- "title": "challenge123",
- "leverage": 100,
- "initialBalance": "100000.00",
- "minTradingDays": 10,
- "maxTradingDays": 30,
- "maxInactivityDays": 5,
- "profitTargetFactor": "0.5",
- "maxDailyDrawdownFactor": "0.1",
- "maxTotalDrawdownFactor": "0.2",
- "accountGroup": "GroupA",
- "accountCurrency": "USD"
}, - "thirdChallenge": {
- "id": 1,
- "title": "challenge123",
- "leverage": 100,
- "initialBalance": "100000.00",
- "minTradingDays": 10,
- "maxTradingDays": 30,
- "maxInactivityDays": 5,
- "profitTargetFactor": "0.5",
- "maxDailyDrawdownFactor": "0.1",
- "maxTotalDrawdownFactor": "0.2",
- "accountGroup": "GroupA",
- "accountCurrency": "USD"
}, - "fundedAccountType": {
- "id": 1,
- "title": "Demo",
- "leverage": 100,
- "initialBalance": "100000.00",
- "minTradingDays": 10,
- "maxInactivityDays": 30,
- "maxDailyDrawdownFactor": "0.05",
- "maxTotalDrawdownFactor": "0.10",
- "accountGroup": "Group1",
- "accountCurrency": "USD",
- "behavior": "REGULAR",
- "profitTargetFactor": "0.5",
- "traderProfitShareFactor": "0.7"
}
}
}| symbol required | string Example: EURUSD The symbol for which to receive the performance data |
{- "oneWeekPerformance": "-1.85%",
- "oneMonthPerformance": "-2.00%",
- "threeMonthsPerformance": "-2.00%",
- "sixMonthsPerformance": "-2.00%",
- "yearPerformance": null,
- "YTDPerformance": null
}| interval required | string Enum: "1H" "4H" "1D" "1W" "1M" "3M" "6M" "1Y" "YTD" Example: 1D The interval for performance data |
[- {
- "symbol": "GBPUSD",
- "performance": "5.5"
}
]| symbol required | string Example: EURUSD The symbol for which to receive the candles |
| start required | string Example: start=2023-05-12T13:55:00Z The start time |
| end | string Example: end=2023-05-13T13:55:00Z The end time |
| resolution | string Enum: "0" "1" "5" "15" "30" "60" "1D" The size of each candle where 0 means no aggregation (raw quotes delivered in candle format) |
{- "candles": [
- {
- "start": 1683899700000,
- "end": 1683899700000,
- "open": "1.09562",
- "close": "1.09562",
- "high": "1.09562",
- "low": "1.09562"
}
]
}| symbol required | string |
| price required | string <decimal> |
| condition required | string (PriceAlertConditionEnum) Enum: "BID_BELOW" "BID_ABOVE" "ASK_BELOW" "ASK_ABOVE" |
| expirationDate | string or null <date-time> |
{- "symbol": "EURUSD",
- "price": "1.12345",
- "condition": "BID_BELOW",
- "expirationDate": "2024-12-31T23:59:59Z"
}{- "priceAlert": {
- "id": 1,
- "accountId": 123,
- "symbol": "EURUSD",
- "price": "1.12345",
- "condition": "BID_BELOW",
- "expirationDate": "2024-12-31T23:59:59Z"
}
}