Skip to main content

Exchange information

GET 

/bot-gateway-service/api/v3/exchangeInfo

Retrieves a list of trading rules and symbol information of the Ping Exchange.

  • If any symbol provided in either symbol or symbols does not exist, the endpoint will display an error saying the symbol is invalid.
  • All parameters are optional.

Request

Query Parameters

    Symbol string

    Trading symbol (optional).

    Example: BTCETH
    Symbols string[]

    Trading symbols (optional)

    Example: [BTCUSDT, BNBBTC]

Responses

Success

Schema

    timezone stringnullable

    The timezone of the exchange.

    serverTime int64

    The server time in milliseconds.

    rateLimits

    object[]

    nullable

    The rate limits for the API requests.

  • Array [

  • rateLimitType stringnullable

    The type of rate limit (e.g., REQUEST_WEIGHT).

    interval stringnullable

    The time interval for the rate limit (e.g., MINUTE).

    intervalNum int32

    The number of intervals.

    limit int32

    The limit for the rate limit.

  • ]

  • exchangeFilters undefined[]nullable

    The exchange filters.

    symbols

    object[]

    nullable

    Information about the trading symbols on the exchange.

  • Array [

  • symbol stringnullable

    The symbol for the trading pair, e.g. BTCETH.

    status stringnullable

    The status of the symbol. Possible values: TRADING (Open), HALT (Stopped), BREAK (Paused)

    baseAsset stringnullable

    The base asset of the symbol.

    baseAssetPrecision int32

    The precision of the base asset.

    quoteAsset stringnullable

    The quote asset of the symbol.

    quotePrecision int32

    The precision of the quote asset.

    quoteAssetPrecision int32

    The precision of the quote asset.

    baseCommissionPrecision int32

    The precision of the base commission.

    quoteCommissionPrecision int32

    The precision of the quote commission.

    orderTypes string[]nullable

    The list of order types supported for the symbol. Possible values: LIMIT, LIMIT_MAKER, MARKET, STOP_LOSS, STOP_LOSS_LIMIT, TAKE_PROFIT, TAKE_PROFIT_LIMIT

    icebergAllowed boolean

    Indicates if iceberg orders are allowed for the symbol.

    ocoAllowed boolean

    Indicates if OCO (One-Cancels-the-Other) orders are allowed for the symbol. Example: false

    quoteOrderQtyMarketAllowed boolean

    Indicates if quote order quantity market orders are allowed for the symbol. MARKET orders using quoteOrderQty specifies the amount the user wants to spend (when buying) or receive (when selling) the quote asset By using quoteOrderQty for MARKET order, server will execute the order and fill as much as possible. But the final received quantity can be a little bit different than quoteOrderQty.

    allowTrailingStop boolean

    A trailing stop order is very similar to a stop-limit order, but a trailing stop order’s trigger price will follow your position when the market moves favorably, and will close the position if the market moves adversely against you. With a spot trailing stop order, you can place a pre-set order at a specific percentage away from the market price. When the price moves favorably, a trailing stop order locks in profit by enabling a trade to remain open and continue to profit as long as the price moves in the favorable direction. The trailing stop does not move back in the other direction. When the price moves in the opposite direction by a specified percentage, the trailing stop order will be executed as a limit order. When a trade does not move in the favorable direction, a trailing stop order can help you minimize losses and protect gains.

    cancelReplaceAllowed boolean

    Indicates if cancel/replace orders are allowed for the symbol.

    isSpotTradingAllowed boolean

    Indicates if spot trading is allowed for the symbol.

    isMarginTradingAllowed boolean

    Indicates if margin trading is allowed for the symbol.

    filters undefined[]nullable

    The filters associated with the symbol.

    • Example:
      • "filters": [ { "filterType": "PRICE_FILTER", "minPrice": "0.00000000", "maxPrice": "0.00000000", "tickSize": "0.10000000" }, { "filterType": "LOT_SIZE", "minQty": "0.00010000", "maxQty": "999999999999.00000000", "stepSize": "0.10000000" }, { "filterType": "MIN_NOTIONAL", "minNotional": "0.00000000", "applyToMarket": true, "avgPriceMins": 0 } ],
    permissions string[]nullable

    The permissions associated with the symbol.

    defaultSelfTradePreventionMode stringnullable

    The default self-trade prevention mode for the symbol. Example: EXPIRE_TAKER

    allowedSelfTradePreventionModes string[]nullable

    The allowed self-trade prevention modes for the symbol. Possible values: NONE, EXPIRE_TAKER, EXPIRE_MAKER, EXPIRE_BOTH

  • ]

Loading...