haasomeapi.dataobjects.marketdata package¶
Submodules¶
haasomeapi.dataobjects.marketdata.Market module¶
-
class
haasomeapi.dataobjects.marketdata.Market.
Market
¶ Bases:
object
Data Object containing market info
Variables: - priceSource –
EnumPriceSource
: - primaryCurrency – str:
- secondaryCurrency – str:
- contractName – str:
- displayName – str:
- shortName – str:
- amountDecimals – int:
- riceDecimals – int:
- minimumTradeAmount – float:
- minimumTradeVolume – float:
- tradeFee – float:
- settlementDate – int:
- priceSource –
haasomeapi.dataobjects.marketdata.Orderbook module¶
-
class
haasomeapi.dataobjects.marketdata.Orderbook.
Orderbook
¶ Bases:
object
Data Object containing the orderbook
Variables: - 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
Data Object containing a order book record
Variables: - price – float:
- amount – float:
haasomeapi.dataobjects.marketdata.PriceTick module¶
-
class
haasomeapi.dataobjects.marketdata.PriceTick.
PriceTick
¶ Bases:
object
Data Object containing Price Tick information
Variables: - 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
Data Object containing trade information
Variables: - timeStamp –
datetime
: - unixTimeStamp – int:
- tradeType –
EnumTradeType
: - price – float:
- amount – float:
- timeStamp –
haasomeapi.dataobjects.marketdata.TradeContainer module¶
-
class
haasomeapi.dataobjects.marketdata.TradeContainer.
TradeContainer
¶ Bases:
object
Data object containing Trades
Variables: - timeStamp –
datetime
: - unixTimeStamp – int:
- lastTrades – List[~haasomeapi.dataobjects.marketdata.Trade]:
- timeStamp –