haasomeapi.dataobjects.tradebot package

Submodules

haasomeapi.dataobjects.tradebot.TradeBot module

class haasomeapi.dataobjects.tradebot.TradeBot.TradeBot

Bases: object

Data Object cotaining a trade bots information

Variables:
  • botTypeEnumBotType:
  • guid – str:
  • name – str:
  • accountId – str:
  • activated – bool:
  • currentTradeAmount – float:
  • currentFeePercentage – float:
  • coinsPositionEnumCoinPosition:
  • fundsPositionEnumFundPosition:
  • lastBuyPrice – float:
  • lastSellPrice – float:
  • lastLongPrice – float:
  • lastShortPrice – float:
  • adjustAmountDown – bool:
  • limitOrderTypeEnumLimitOrderPriceType:
  • openOrderTimeout – int:
  • templateTimeout – int:
  • goAllIn – bool:
  • issuedOrders – List[str]:
  • completedOrders – List[BaseOrder]:
  • roi – float:
  • totalFeeCosts – float:
  • totalProfits – float:
  • lastPriceUpdate – float:
  • contractValue – float:
  • groupName – str:
  • botSignalsTradeBotSignals:
  • messageProfileMessageProfile:
  • botLogBook – List[str]:
  • priceMarketMarket:
  • leverage – float:
  • unixSettlementDate – int:
  • highFrequencyUpdates – bool:
  • useHiddenOrders – bool:
  • buyOrderTemplateId – str:
  • sellOrderTemplateId – str:
  • enterPositionOrderTemplateId – str:
  • exitPositionOrderTemplateId – str:
  • profitLabel – str:
  • notes – str:
  • locked – bool:
  • activatedSince – int:
  • deactivatedSince – int:
  • consensusMode – bool:
  • safeties – Dict[str, Safety]:
  • indicators – Dict[str, Indicator]:
  • insurances – Dict[str, Insurance]:

haasomeapi.dataobjects.tradebot.TradeBotSignals module

class haasomeapi.dataobjects.tradebot.TradeBotSignals.TradeBotSignals

Bases: object

Data Object containing a trade bot signals

Variables:
  • priceSourceConnected – bool:
  • accountConnected – bool:
  • tradeAmountOk – bool:
  • openOrdersOk – bool:
  • isBenchmark – bool:
  • isSafetySignalNow – bool:
  • maxLongAmount – float:
  • maxNoPositionAmount – float:
  • maxShortAmount – float:
  • maxBuyAmount – float:
  • maxSellAmount – float:
  • botBuySellSignal – int = 50:
  • botLongShortSignal – int = 50:
  • lastPoolMomentdatettime:
  • unixLastPoolMoment – int:
  • buySellResultEnumBotTradeResult:
  • longShortResultEnumFundPosition:
botBuySellSignal = 50
botLongShortSignal = 50

Module contents