# Functions
No description provided by the author
No description provided by the author
通用InstId转InstType.
No description provided by the author
获取现货instId的交易币种.
获取合约的保证金币种.
No description provided by the author
是否为U本位合约.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
交易所InstId(symbol)转为通用instId 通用instId格式: 现货:btc_usdt(仅支持usdt交易对) U本位永续:btc_usdt_swap 币本位永续:btc_usd_swap.
通用instId转为交易所instId.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
模拟一个合约仓位,计算其盈利、手续费等.
No description provided by the author
订单簿 为了提升加载速度,这里使用float存储 运算时要注意精度.
k线.
#region from MarketCollector k线单位(跟MarketCollector保持一致).
No description provided by the author
截面数据 某一时刻各个品种的某一数据.
截面序列 截面序列中的data,共享相同的InstIds,数量和顺序都需要一致.
Ticker.
市场成交.