curl --request GET \
--url https://api.perpo.trade/v1/algo/order/{order_id} \
--header 'perpo-account-id: <perpo-account-id>' \
--header 'perpo-key: <perpo-key>' \
--header 'perpo-signature: <perpo-signature>' \
--header 'perpo-timestamp: <perpo-timestamp>'{
"success": true,
"data": {
"algo_order_id": 168400010,
"algo_status": "NEW",
"algo_type": "STOP",
"fee_asset": "USDC",
"is_triggered": "false",
"order_tag": "test_tag",
"parent_algo_order_id": 0,
"quantity": 5.5,
"root_algo_order_id": 168400010,
"root_algo_order_status": "NEW",
"side": "BUY",
"symbol": "PERP_NEAR_USDC",
"total_executed_quantity": 0,
"total_fee": 0,
"trigger_price": 2.5,
"trigger_price_type": "MARK_PRICE",
"type": "MARKET",
"created_time": 1702871974317,
"updated_time": 1702871974317,
"visible_quantity": 5.5,
"margin_mode": "CROSS",
"executed_quantity": 0,
"realized_pnl": 0,
"child_orders": [
{}
]
},
"timestamp": 1702989203989
}curl --request GET \
--url https://api.perpo.trade/v1/algo/order/{order_id} \
--header 'perpo-account-id: <perpo-account-id>' \
--header 'perpo-key: <perpo-key>' \
--header 'perpo-signature: <perpo-signature>' \
--header 'perpo-timestamp: <perpo-timestamp>'{
"success": true,
"data": {
"algo_order_id": 168400010,
"algo_status": "NEW",
"algo_type": "STOP",
"fee_asset": "USDC",
"is_triggered": "false",
"order_tag": "test_tag",
"parent_algo_order_id": 0,
"quantity": 5.5,
"root_algo_order_id": 168400010,
"root_algo_order_status": "NEW",
"side": "BUY",
"symbol": "PERP_NEAR_USDC",
"total_executed_quantity": 0,
"total_fee": 0,
"trigger_price": 2.5,
"trigger_price_type": "MARK_PRICE",
"type": "MARKET",
"created_time": 1702871974317,
"updated_time": 1702871974317,
"visible_quantity": 5.5,
"margin_mode": "CROSS",
"executed_quantity": 0,
"realized_pnl": 0,
"child_orders": [
{}
]
},
"timestamp": 1702989203989
}id of the order