Private User Data
Algo Execution Report v2
Partner Support
User Flows
General API
- Builder Info
- System Info
- USDC Faucet
User API
- Registration
- Key Management
- Account/User Info
- Account Notifications
- Account Config
- Delegate Signer
Trading API
- Order Management
- Liquidations
- Assets/Withdraw/Settle PnL
- Positions
- Funding
Rewards API
- Trading Rewards
- Market Making Rewards
Staking & Valor API
- Staking
- Valor
Builder API
- User Data
- Trading Campaigns
- Fee Setting
- Referral Program
Market Data API
- TradingView
- Funding Rates
- Market Info
Websocket API
- Introduction
- PING/PONG
- Authentication
- Error Response
- Public Market Data
- Private User Data
Private User Data
Algo Execution Report v2
{
"id": "clientID3",
"event": "subscribe",
"success": true,
"ts": 1609924478533
}
{
"topic":"executionreportv2",
"ts":1704679472455,
"data":[
{
"symbol":"PERP_MATIC_USDC",
"rootAlgoOrderId":123,
"parentAlgoOrderId":123,
"algoOrderId":123,
"orderTag":"some tags",
"algoType": "STOP",
"clientOrderId":"client_id",
"type":"LIMIT", // MARKET, LIMIT, CLOSE_POSITION
"side":"BUY",
"quantity":7029.0,
"price":0.7699,
"tradeId":0,
"triggerTradePrice":0,
"triggerTime":1234567,
"triggered": false,
"activated": false,
"executedPrice":0.0,
"executedQuantity":0.0,
"fee":0.0,
"feeAsset":"USDC",
"totalExecutedQuantity":0.0,
"averageExecutedQuantity":0.0,
"avgPrice":0,
"triggerPrice":0.0,
"triggerPriceType":"STOP",
"isActivated": false,
"status":"NEW",
"rootAlgoStatus": "FILLED",
"algoStatus": "FILLED",
"reason":"",
"totalFee":0.0,
"visible": 7029.0,
"visibleQuantity":7029.0,
"timestamp":1704679472448,
"maker":false,
"isMaker":false,
"createdTime":1704679472448,
"match_id":"1707119522287540609"
}
]
}
Push interval: real-time push
{
"id": "clientID3",
"topic": "algoexecutionreportv2",
"event": "subscribe"
}
Parameters
Name | Type | Required | Description |
---|---|---|---|
id | string | Y | id generate by client |
event | string | Y | subscribe /unsubscribe |
topic | string | Y | algoexecutionreportv2 |
{
"id": "clientID3",
"event": "subscribe",
"success": true,
"ts": 1609924478533
}
{
"topic":"executionreportv2",
"ts":1704679472455,
"data":[
{
"symbol":"PERP_MATIC_USDC",
"rootAlgoOrderId":123,
"parentAlgoOrderId":123,
"algoOrderId":123,
"orderTag":"some tags",
"algoType": "STOP",
"clientOrderId":"client_id",
"type":"LIMIT", // MARKET, LIMIT, CLOSE_POSITION
"side":"BUY",
"quantity":7029.0,
"price":0.7699,
"tradeId":0,
"triggerTradePrice":0,
"triggerTime":1234567,
"triggered": false,
"activated": false,
"executedPrice":0.0,
"executedQuantity":0.0,
"fee":0.0,
"feeAsset":"USDC",
"totalExecutedQuantity":0.0,
"averageExecutedQuantity":0.0,
"avgPrice":0,
"triggerPrice":0.0,
"triggerPriceType":"STOP",
"isActivated": false,
"status":"NEW",
"rootAlgoStatus": "FILLED",
"algoStatus": "FILLED",
"reason":"",
"totalFee":0.0,
"visible": 7029.0,
"visibleQuantity":7029.0,
"timestamp":1704679472448,
"maker":false,
"isMaker":false,
"createdTime":1704679472448,
"match_id":"1707119522287540609"
}
]
}
{
"id": "clientID3",
"event": "subscribe",
"success": true,
"ts": 1609924478533
}
{
"topic":"executionreportv2",
"ts":1704679472455,
"data":[
{
"symbol":"PERP_MATIC_USDC",
"rootAlgoOrderId":123,
"parentAlgoOrderId":123,
"algoOrderId":123,
"orderTag":"some tags",
"algoType": "STOP",
"clientOrderId":"client_id",
"type":"LIMIT", // MARKET, LIMIT, CLOSE_POSITION
"side":"BUY",
"quantity":7029.0,
"price":0.7699,
"tradeId":0,
"triggerTradePrice":0,
"triggerTime":1234567,
"triggered": false,
"activated": false,
"executedPrice":0.0,
"executedQuantity":0.0,
"fee":0.0,
"feeAsset":"USDC",
"totalExecutedQuantity":0.0,
"averageExecutedQuantity":0.0,
"avgPrice":0,
"triggerPrice":0.0,
"triggerPriceType":"STOP",
"isActivated": false,
"status":"NEW",
"rootAlgoStatus": "FILLED",
"algoStatus": "FILLED",
"reason":"",
"totalFee":0.0,
"visible": 7029.0,
"visibleQuantity":7029.0,
"timestamp":1704679472448,
"maker":false,
"isMaker":false,
"createdTime":1704679472448,
"match_id":"1707119522287540609"
}
]
}