Skip to content

setSymbol(symbol) ​

setSymbol 设置交易对。

参考 ​

typescript
(
  symbol: {
    ticker: string
    pricePrecision?: number
    volumePrecision?: number
  }
) => void

参数 ​

  • symbol 交易对信息。
    • ticker 交易对唯一标识。
    • pricePrecision 价格精度。
    • volumePrecision 数量精度。

返回值 ​

setSymbol 返回 undefined 。

用法 ​

基本使用 ​