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
- Sub-account
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
Copy
Ask AI
{
"id": "clientID3",
"event": "subscribe",
"success": true,
"ts": 1609924478533
}
Copy
Ask AI
{
"topic": "algoexecutionreportv2",
"ts": 1714017148719,
"data": {
"algoOrderId": 10000,
"clientOrderId": "cl_oid",
"rootAlgoOrderId": 10000,
"parentAlgoOrderId": 0,
"symbol": "PERP_NEAR_USDC",
"orderTag": "o_tag",
"algoType": "TP_SL",
"side": "SELL",
"quantity": 1.5,
"isTriggered": true,
"triggerPrice": 7.2,
"triggerStatus": "SUCCESS",
"type": "MARKET",
"status": "FILLED",
"rootAlgoStatus": "FILLED",
"algoStatus": "FILLED",
"triggerPriceType": "MARK_PRICE",
"price": 0,
"triggerTradePrice": 7.25,
"triggerTime": 1714017148700,
"totalExecutedQuantity": 1.5,
"visibleQuantity": 1.5,
"averageExecutedPrice": 7.25,
"totalFee": 0.01,
"feeAsset": "USDC",
"reduceOnly": false,
"createdTime": 1714017110010,
"timestamp": 1714017110086,
"isActivated": true,
"callbackRate": null,
"callbackValue": null,
"extremePrice": null,
"activatedPrice": null,
"tradeId": 123456789,
"executedPrice": 7.25,
"executedQuantity": 1.5,
"fee": 0.01,
"isMaker": false,
"childOrders": [
{
"algoOrderId": 10001,
"clientOrderId": "cl_oid_child",
"rootAlgoOrderId": 10000,
"parentAlgoOrderId": 10000,
"symbol": "PERP_NEAR_USDC",
"orderTag": "o_tag_child",
"algoType": "TAKE_PROFIT",
"side": "SELL",
"quantity": 1.5,
"isTriggered": true,
"triggerPrice": 7.2,
"triggerStatus": "SUCCESS",
"type": "MARKET",
"status": "FILLED",
"rootAlgoStatus": "FILLED",
"algoStatus": "FILLED",
"triggerPriceType": "MARK_PRICE",
"price": 0,
"triggerTradePrice": 7.25,
"triggerTime": 1714017148701,
"totalExecutedQuantity": 1.5,
"visibleQuantity": 1.5,
"averageExecutedPrice": 7.25,
"totalFee": 0.01,
"feeAsset": "USDC",
"reduceOnly": false,
"createdTime": 1714017110011,
"timestamp": 1714017110087,
"isActivated": true,
"callbackRate": null,
"callbackValue": null,
"extremePrice": null,
"activatedPrice": null,
"tradeId": 123456790,
"executedPrice": 7.25,
"executedQuantity": 1.5,
"fee": 0.01,
"isMaker": false,
"childOrders": []
}
]
}
}
Push interval: real-time push
Copy
Ask AI
{
"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 |
Copy
Ask AI
{
"id": "clientID3",
"event": "subscribe",
"success": true,
"ts": 1609924478533
}
Copy
Ask AI
{
"topic": "algoexecutionreportv2",
"ts": 1714017148719,
"data": {
"algoOrderId": 10000,
"clientOrderId": "cl_oid",
"rootAlgoOrderId": 10000,
"parentAlgoOrderId": 0,
"symbol": "PERP_NEAR_USDC",
"orderTag": "o_tag",
"algoType": "TP_SL",
"side": "SELL",
"quantity": 1.5,
"isTriggered": true,
"triggerPrice": 7.2,
"triggerStatus": "SUCCESS",
"type": "MARKET",
"status": "FILLED",
"rootAlgoStatus": "FILLED",
"algoStatus": "FILLED",
"triggerPriceType": "MARK_PRICE",
"price": 0,
"triggerTradePrice": 7.25,
"triggerTime": 1714017148700,
"totalExecutedQuantity": 1.5,
"visibleQuantity": 1.5,
"averageExecutedPrice": 7.25,
"totalFee": 0.01,
"feeAsset": "USDC",
"reduceOnly": false,
"createdTime": 1714017110010,
"timestamp": 1714017110086,
"isActivated": true,
"callbackRate": null,
"callbackValue": null,
"extremePrice": null,
"activatedPrice": null,
"tradeId": 123456789,
"executedPrice": 7.25,
"executedQuantity": 1.5,
"fee": 0.01,
"isMaker": false,
"childOrders": [
{
"algoOrderId": 10001,
"clientOrderId": "cl_oid_child",
"rootAlgoOrderId": 10000,
"parentAlgoOrderId": 10000,
"symbol": "PERP_NEAR_USDC",
"orderTag": "o_tag_child",
"algoType": "TAKE_PROFIT",
"side": "SELL",
"quantity": 1.5,
"isTriggered": true,
"triggerPrice": 7.2,
"triggerStatus": "SUCCESS",
"type": "MARKET",
"status": "FILLED",
"rootAlgoStatus": "FILLED",
"algoStatus": "FILLED",
"triggerPriceType": "MARK_PRICE",
"price": 0,
"triggerTradePrice": 7.25,
"triggerTime": 1714017148701,
"totalExecutedQuantity": 1.5,
"visibleQuantity": 1.5,
"averageExecutedPrice": 7.25,
"totalFee": 0.01,
"feeAsset": "USDC",
"reduceOnly": false,
"createdTime": 1714017110011,
"timestamp": 1714017110087,
"isActivated": true,
"callbackRate": null,
"callbackValue": null,
"extremePrice": null,
"activatedPrice": null,
"tradeId": 123456790,
"executedPrice": 7.25,
"executedQuantity": 1.5,
"fee": 0.01,
"isMaker": false,
"childOrders": []
}
]
}
}
Copy
Ask AI
{
"id": "clientID3",
"event": "subscribe",
"success": true,
"ts": 1609924478533
}
Copy
Ask AI
{
"topic": "algoexecutionreportv2",
"ts": 1714017148719,
"data": {
"algoOrderId": 10000,
"clientOrderId": "cl_oid",
"rootAlgoOrderId": 10000,
"parentAlgoOrderId": 0,
"symbol": "PERP_NEAR_USDC",
"orderTag": "o_tag",
"algoType": "TP_SL",
"side": "SELL",
"quantity": 1.5,
"isTriggered": true,
"triggerPrice": 7.2,
"triggerStatus": "SUCCESS",
"type": "MARKET",
"status": "FILLED",
"rootAlgoStatus": "FILLED",
"algoStatus": "FILLED",
"triggerPriceType": "MARK_PRICE",
"price": 0,
"triggerTradePrice": 7.25,
"triggerTime": 1714017148700,
"totalExecutedQuantity": 1.5,
"visibleQuantity": 1.5,
"averageExecutedPrice": 7.25,
"totalFee": 0.01,
"feeAsset": "USDC",
"reduceOnly": false,
"createdTime": 1714017110010,
"timestamp": 1714017110086,
"isActivated": true,
"callbackRate": null,
"callbackValue": null,
"extremePrice": null,
"activatedPrice": null,
"tradeId": 123456789,
"executedPrice": 7.25,
"executedQuantity": 1.5,
"fee": 0.01,
"isMaker": false,
"childOrders": [
{
"algoOrderId": 10001,
"clientOrderId": "cl_oid_child",
"rootAlgoOrderId": 10000,
"parentAlgoOrderId": 10000,
"symbol": "PERP_NEAR_USDC",
"orderTag": "o_tag_child",
"algoType": "TAKE_PROFIT",
"side": "SELL",
"quantity": 1.5,
"isTriggered": true,
"triggerPrice": 7.2,
"triggerStatus": "SUCCESS",
"type": "MARKET",
"status": "FILLED",
"rootAlgoStatus": "FILLED",
"algoStatus": "FILLED",
"triggerPriceType": "MARK_PRICE",
"price": 0,
"triggerTradePrice": 7.25,
"triggerTime": 1714017148701,
"totalExecutedQuantity": 1.5,
"visibleQuantity": 1.5,
"averageExecutedPrice": 7.25,
"totalFee": 0.01,
"feeAsset": "USDC",
"reduceOnly": false,
"createdTime": 1714017110011,
"timestamp": 1714017110087,
"isActivated": true,
"callbackRate": null,
"callbackValue": null,
"extremePrice": null,
"activatedPrice": null,
"tradeId": 123456790,
"executedPrice": 7.25,
"executedQuantity": 1.5,
"fee": 0.01,
"isMaker": false,
"childOrders": []
}
]
}
}
Assistant
Responses are generated using AI and may contain mistakes.