Type/to search
Built-in Functions
Structures
Trade
Ticker
Record
Order
Condition
OrderBook
Depth
Account
Asset
Position
Market
Funding
OtherStruct
HttpQuery-options
HttpQuery-return
LogStatus-table
LogStatus-btnTypeOne
LogStatus-btnTypeTwo
Chart-options
KLineChart-options
SetData-data
EventLoop-return
DBExec-return
Thread.join-return
Built-in Variables

Data structure for trading symbol market information.

Attributes

NameTypeDescription

Symbol

string

Example value: "btcusdt", the Symbol field records the original name of this trading symbol on the exchange. Note that the format and definition of this attribute differs from the Symbol field in the Ticker structure.

BaseAsset

string

Example value: "BTC", the BaseAsset field records the base currency name (i.e., baseCurrency), uniformly in uppercase letters.

QuoteAsset

string

Example value: "USDT", the QuoteAsset field records the quote currency name (i.e., quoteCurrency), uniformly in uppercase letters.

TickSize

number

Example value: 0.01, the TickSize field records the minimum price increment for this trading symbol on the exchange.

AmountSize

number

Example value: 0.01, the AmountSize field records the minimum order quantity increment for this trading symbol on the exchange.

PricePrecision

number

Example value: 2, the PricePrecision field records the price precision for this trading symbol on the exchange, indicating the price is accurate to 2 decimal places.

AmountPrecision

number

Example value: 3, the AmountPrecision field records the order quantity precision for this trading symbol on the exchange, indicating the order quantity is accurate to 3 decimal places.

MinQty

number

Example value: 0.001, the MinQty field records the minimum order quantity for this trading symbol on the exchange.

MaxQty

number

Example value: 1000, the MaxQty field records the maximum order quantity for this trading symbol on the exchange.

MinNotional

number

Example value: 5, the MinNotional field records the minimum order value for this trading symbol on the exchange.

MaxNotional

number

Example value: 9999999, the MaxNotional field records the maximum order value for this trading symbol on the exchange.

CtVal

number

The CtVal field records the value corresponding to a single contract for this trading symbol on the exchange, with the unit specified in the CtValCcy field. For example: CtVal of 0.01 and CtValCcy of "BTC" means a single contract is worth 0.01 BTC.

CtValCcy

number

The CtValCcy field records the value unit of a single contract. The value unit of a single contract can be: BTC, USD, ETH, etc.

Info

object

The Info field records the raw data of this symbol returned by the exchange's market information interface.

See Also

Remarks

The exchange.GetMarkets() function returns a dictionary containing this Market structure.

Due to varying levels of support for market information data across different exchanges, fields not supported by an exchange will be ignored. All field values above are derived from the exchange interface's raw data, and specific details can also be found in the Info field content.