多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
# haasomeapi.dataobjects.marketdata package ## 子模块 ## haasomeapi.dataobjects.marketdata.Market module ``` class haasomeapi.dataobjects.marketdata.Market.Market Bases: object ``` 包含市场信息的数据对象 | 变量|类型 | |---|---| priceSource | [EnumPriceSource:](https://www.kancloud.cn/zbb1025/cccc/780202) primaryCurrency |str: secondaryCurrency |str: contractName | str: displayName |str: shortName | str: amountDecimals | int: riceDecimals | int: minimumTradeAmount | float: minimumTradeVolume | float: tradeFee | float: settlementDate | int: ## haasomeapi.dataobjects.marketdata.Orderbook module ``` class haasomeapi.dataobjects.marketdata.Orderbook.Orderbook Bases: object ``` 包含订单簿的数据对象 | 变量|类型 | |---|---| timeStamp | datetime: unixLastUpdate | int: priceMarket | Market: bid | List[OrderbookRecord]:(本链接) ask | List[OrderbookRecord]:(本链接) ## haasomeapi.dataobjects.marketdata.OrderbookRecord module ``` class haasomeapi.dataobjects.marketdata.OrderbookRecord.OrderbookRecord Bases: object ``` 包含订单簿记录的数据对象 | 变量|类型 | |---|---| price | float: amount | float: ## haasomeapi.dataobjects.marketdata.PriceTick module ``` class haasomeapi.dataobjects.marketdata.PriceTick.PriceTick Bases: object ``` 包含价格刻度信息的数据对象 | 变量|类型 | |---|---| timeStamp | datetime: unixTimeStamp | int: open | float: highValue | float: lowValue | float: close | float: volume | float: currentBuyValue | float: currentSellValue | float: ## haasomeapi.dataobjects.marketdata.Trade module ``` class haasomeapi.dataobjects.marketdata.Trade.Trade Bases: object ``` 包含交易信息的数据对象 | 变量|类型 | |---|---| timeStamp | datetime: unixTimeStamp | int: tradeType |[ EnumTradeType:](https://www.kancloud.cn/zbb1025/cccc/780202) price | float: amount | float: ## haasomeapi.dataobjects.marketdata.TradeContainer module ``` class haasomeapi.dataobjects.marketdata.TradeContainer.TradeContainer Bases: object ``` 包含交易的数据对象 | 变量|类型 | |---|---| timeStamp | datetime: unixTimeStamp | int: lastTrades | List[~haasomeapi.dataobjects.marketdata.Trade]: ## 模块内容