|
<< Click to Display Table of Contents >> Navigation: 3. Script Language > Internet and Network > MCP. - MCP (Model-Context Protocol) server operations > BINANCE API - Cryptocurrency Trading > BINANCE.GetOrders - Get Open Orders |
Retrieves a list of open orders for a specific symbol or all symbols.
Syntax:
BINANCE.GetOrders|$$SYMBOL|$$RET_VAR
Parameters:
$$SYMBOL (String, required) - Trading pair symbol, or empty for all symbols.
$$RET_VAR (Variable, required) - Variable to receive JSON order list.
Examples:
; Get open orders for BTCUSDT
BINANCE.GetOrders|BTCUSDT|orders
; Get all open orders
BINANCE.GetOrders||allOrders
Return Value:
JSON array of open orders. Each order contains: orderId, symbol, side, type, price, origQty, status.
See Also: