Yellow BoxTrading APIv1 · pre-release

Trade

GETCurrent pending orders (USER_DATA)

API Description

Every pending order currently resting on the account. Market orders never appear here — once filled they are positions.

HTTP Request

HTTP
GET /v1/openOrders

Request Weight

1

Request Parameters

Name Type Mandatory Description
login LONG YES
symbol STRING NO Filter to one symbol. Exact, case-sensitive.
recvWindow, timestamp, signature

Response Example

JSON
[
  {
    "login": 100123,
    "orderId": 44412350,
    "clientOrderId": "bot-002",
    "symbol": "XAUUSD",
    "side": "BUY",
    "type": "BUY_LIMIT",
    "status": "NEW",
    "volume": "0.10",
    "remainingVolume": "0.10",
    "price": "2325.00",
    "stopLimitPrice": "0",
    "sl": "2315.00",
    "tp": "0",
    "timeInForce": "GTC",
    "expiration": 0,
    "comment": "",
    "time": 1789012345690,
    "updateTime": 1789012345690
  }
]
Field Type Description
volume DECIMAL Initial volume, lots.
remainingVolume DECIMAL Volume still resting, lots. Less than volume after a partial fill.

clientOrderId is "" for orders this API did not place — the account holder and the broker can place orders too, and they appear here.