Debug TP/SL orders
Changed onDebug a TP/SL order end to end: returns every tpsl_orders field plus the actual fill (execution price, filled size, filled time, fill status, slippage) joined from matches. All filters are optional and AND-combined.
Request
- Base URLhttps://api.testnet.rise.trade
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
account + market_id + stop_type are REQUIRED. The latest matching order is returned (newest created_at) unless order_id pins an exact one. The other filters narrow further.
sender address (hex) — REQUIRED
REQUIRED
TAKE_PROFIT | STOP_LOSS — REQUIRED
ACCEPTED | TRIGGERED | EXECUTING | SUCCESS | CANCELLED, optional
filter stop_price >= this (human decimal), optional
filter stop_price <= this (human decimal), optional
exact tpsl_orders.id (uuid), optional — pins the order
created_at >= , unix nanoseconds, optional
created_at < , unix nanoseconds, optional
Response
A successful response.
Changes
- info
endpoint added
- info