Skip to Content

Grid Symbol Info

Fetch the grid-trading information for a security: lot size, last done price, price steps, and authorization status. Use it to build a valid grid rule before calling Submit Grid Order. The channel_info.strategy_granted field tells you whether the strategy risk-disclosure consent has already been recorded — if it is false, submit the Strategy Questionnaire first.

CLI
# Show the grid-trading info for 700.HK
longbridge grid info 700.HK

Request

HTTP MethodGET
HTTP URL/v1/orders/info

Parameters

Content-Type: application/json; charset=utf-8

NameTypeRequiredDescription
counter_idstringYESSecurity symbol, ticker.region format, example: 700.HK

Request Example

Response

Response Headers

  • Content-Type: application/json

Response Example

json
{
  "code": 0,
  "message": "success",
  "data": {
    "name": "TENCENT",
    "last_done": "300.000",
    "lot_size": "100",
    "buy_lot_size": "100",
    "sell_lot_size": "100",
    "bid_sizes": [
      {
        "str_proceed": "0.010",
        "end_proceed": "500.000",
        "bid_size": "0.200"
      }
    ],
    "channel_info": {
      "strategy_granted": true,
      "support_rth": false,
      "currency": "HKD",
      "settlement_currency": ["HKD"]
    }
  }
}

Response Status

StatusDescriptionSchema
200The security grid info was returned successfully.grid_symbol_info_rsp
400The request was rejected with an incorrect request parameter.None

Schemas

grid_symbol_info_rsp

NameTypeRequiredDescription
namestringtrueSecurity name
last_donestringtrueLatest traded price
lot_sizestringtrueBoard lot size
buy_lot_sizestringtrueMinimum lot size for a buy order
sell_lot_sizestringtrueMinimum lot size for a sell order
bid_sizesobject[]truePrice-step tiers
∟ str_proceedstringtrueStart price of the tier
∟ end_proceedstringtrueEnd price of the tier
∟ bid_sizestringtrueMinimum price step within the tier
channel_infoobjecttrueTrading-channel info and authorization. strategy_granted indicates whether the one-time strategy risk-disclosure consent has been recorded
∟ strategy_grantedbooleantrueWhether the one-time strategy risk-disclosure consent has been recorded
∟ support_rthbooleantrueWhether the security supports regular-trading-hours grids
∟ currencystringtrueTrading currency
∟ settlement_currencystring[]trueSupported settlement currencies