Storm Trade
EN
EnglishРусскийNot available
Menu
On this page

List active orders

Try it out ↓
GET/api/orders/{trader}/active
List active ordersPositions and order history
Base URL https://api.storm.tg

Parameters

Path
traderstringrequired
Example: 0:72c310c83de5060d21674d58379b9a153854338a63d82588f8d912f83a3f8660
Query
statusesstring · enum[]optional
Array items · string · enum

string · enum

Allowed: "seq_pending" "seq_executing" "active" "pending" "tx_sent" "executed" "canceled" "canceled_by_sequencer" "expired" "error"
View example
[
  "seq_pending"
]
directionstring · enumoptional
Allowed: "long" "short"
Example: long
limitintegeroptional

Default: 20

Example: 20
offsetintegeroptional

Default: 0

Example: 0
walletIdstringoptional
Example: string

Examples

curl --request GET 'https://api.storm.tg/api/orders/{trader}/active' \
  --header 'Accept: application/json'

Responses

200Responseapplication/json

Array of Data.OrderResponse

idstringrequired
Example: string
txIdstringrequired
Example: string
traderstringrequired
Example: 0:72c310c83de5060d21674d58379b9a153854338a63d82588f8d912f83a3f8660
masterTraderstringrequired
Example: 0:72c310c83de5060d21674d58379b9a153854338a63d82588f8d912f83a3f8660
marketstringrequired
Example: 0:72c310c83de5060d21674d58379b9a153854338a63d82588f8d912f83a3f8660
statusstring · enumrequired
Allowed: "seq_pending" "seq_executing" "active" "pending" "tx_sent" "executed" "canceled" "canceled_by_sequencer" "expired" "error"
Example: seq_pending
typestring · enumrequired
Allowed: "market" "stop" "take" "limit" "liquidation" "max_pnl" "add_margin" "remove_margin"
Example: market
directionstring · enumrequired
Allowed: "long" "short"
Example: long
stopPricestring · int64 · nullablerequired
pattern
^(0|-?[1-9][0-9]*)$
Example: 0
limitPricestring · int64 · nullablerequired
pattern
^(0|-?[1-9][0-9]*)$
Example: 0
stopTriggerPricestring · int64 · nullablerequired
pattern
^(0|-?[1-9][0-9]*)$
Example: 0
takeTriggerPricestring · int64 · nullablerequired
pattern
^(0|-?[1-9][0-9]*)$
Example: 0
leveragestring · int64 · nullablerequired
pattern
^(0|-?[1-9][0-9]*)$
Example: 0
indexnumber · nullablerequired
Example: 0
positionIdstring · nullablerequired
Example: string
expirationstring · date-time · nullablerequired
Example: 2026-01-01T00:00:00Z
amountstring · int64 · nullablerequired
pattern
^(0|-?[1-9][0-9]*)$
Example: 0
indexPricestring · int64 · nullablerequired
pattern
^(0|-?[1-9][0-9]*)$
Example: 0
settlementOraclePricestring · int64 · nullablerequired
pattern
^(0|-?[1-9][0-9]*)$
Example: 0
createdAtstring · date-timerequired
Example: 2026-01-01T00:00:00Z
errorstring · nullablerequired
Example: string