haasomeapi.dataobjects.custombots.dataobjects package¶
Submodules¶
haasomeapi.dataobjects.custombots.dataobjects.CryptoIndexBotIndex module¶
-
class
haasomeapi.dataobjects.custombots.dataobjects.CryptoIndexBotIndex.
CryptoIndexBotIndex
¶ Bases:
object
Data Object containing a Crypto Index Bot Index
Variables: - coin – str:
- amount – float:
- startPrice – float:
- conversionRate – float:
- buyThreshold – float:
- sellThreshold – float:
- needsReBalancing – bool:
- hasOpenOrder – bool:
- isStopLossActive – bool:
- stopLoss – float:
haasomeapi.dataobjects.custombots.dataobjects.CryptoIndexBotIndexResult module¶
-
class
haasomeapi.dataobjects.custombots.dataobjects.CryptoIndexBotIndexResult.
CryptoIndexBotIndexResult
¶ Bases:
object
Data Object containing a Crypto Index Bot Index Result
Variables: - coin – str:
- inWallet – float:
- indexValue – float:
- deactivated – bool:
- targetPercentage – float:
- currentPercentage – float:
haasomeapi.dataobjects.custombots.dataobjects.CryptoIndexBotIndexSaveObject module¶
-
class
haasomeapi.dataobjects.custombots.dataobjects.CryptoIndexBotIndexSaveObject.
CryptoIndexBotIndexSaveObject
¶ Bases:
object
Data Object containing a Crypto Index Bot Index Save Object
Variables: - coin – str:
- amount – float:
- buyThreshold – float:
- sellThreshold – float:
- stopLoss – float:
haasomeapi.dataobjects.custombots.dataobjects.EmailBotAction module¶
-
class
haasomeapi.dataobjects.custombots.dataobjects.EmailBotAction.
EmailBotAction
¶ Bases:
object
Data Object containing a Email Bot Action
Variables: - guid – str:
- providerGuid – str:
- templateGuid – str:
- messages – List[
EnumBotActionMessage
]: - timeoutInSeconds – int = 65:
- spotAction –
EnumBotTradeResult
: - leverageAction –
EnumFundMovingPosition
:
-
timeoutInSeconds
= 65¶
haasomeapi.dataobjects.custombots.dataobjects.EnumBotActionMessage module¶
-
class
haasomeapi.dataobjects.custombots.dataobjects.EnumBotActionMessage.
EmailBotActionMessage
¶ Bases:
object
Data Object containing a Email Bot Action Message
Variables: - message – str:
- lastReceivedTime – int:
haasomeapi.dataobjects.custombots.dataobjects.FlashCrashBotSaveObject module¶
-
class
haasomeapi.dataobjects.custombots.dataobjects.FlashCrashBotSaveObject.
FlashCrashBotSaveObject
¶ Bases:
object
Data Object containing a Falsh Crash Bot Save Object
Variables: - botName – str:
- botGuid – str:
- accountId – str:
- fee – float:
- priceMarket –
Market
: - basePrice – float:
- priceSpreadType –
EnumFlashSpreadOptions
: - priceSpread – float:
- percentageBoost – float:
- minPercentage – float:
- maxPercentage – float:
- accountType –
EnumCurrencyType
: - amountSpread – float:
- buyAmount – float:
- sellAmount – float:
- refillDelay – int:
- safetyEnabled – bool:
- safetyTriggerLevel – float:
- safetyMoveInOut – bool:
- followTheTrend – bool:
- followTheTrendChannelRange – int:
- followTheTrendChannelOffset – int:
- followTheTrendTimeout – int:
haasomeapi.dataobjects.custombots.dataobjects.Indicator module¶
-
class
haasomeapi.dataobjects.custombots.dataobjects.Indicator.
Indicator
¶ Bases:
object
Data Object containing a Indicator
Variables: - guid – str:
- indicatorType –
EnumIndicator
: - indicatorName – str:
- indicatorInterface – List[
IndicatorOption
]: - indicatorTypeShortName – str:
- indicatorTypeFullName – str:
- priceMarket – Market:
- chartType –
EnumPriceChartType
: - timer – int:
- deviation – int:
- useBuySignals – bool:
- useSellSignals – bool:
- useLongSignals – bool:
- useNoPositionSignals – bool:
- useShortSignals – bool:
- reverseSignals – bool:
- standAlone – bool:
- buySellResult –
EnumBotTradeResult
: - shortLongResult –
EnumFundPosition
: - mappedLongSignal –
EnumFundPosition
: - mappedShortSignal –
EnumFundPosition
:
haasomeapi.dataobjects.custombots.dataobjects.IndicatorOption module¶
-
class
haasomeapi.dataobjects.custombots.dataobjects.IndicatorOption.
IndicatorOption
¶ Bases:
object
Data Object containing a Indicator Option
Variables: - title – str:
- value – str:
- options – List[object]:
haasomeapi.dataobjects.custombots.dataobjects.Insurance module¶
-
class
haasomeapi.dataobjects.custombots.dataobjects.Insurance.
Insurance
¶ Bases:
object
Data Object containing a Insurance
Variables: - guid – str:
- insuranceType –
EnumInsurance
: - insuranceTypeShortName – str:
- insuranceTypeFullName – str:
- agreeToTrade – bool:
- insuranceName – str:
- insuranceInterface – List[
IndicatorOption
]:
haasomeapi.dataobjects.custombots.dataobjects.MarketMakingBotSlot module¶
-
class
haasomeapi.dataobjects.custombots.dataobjects.MarketMakingBotSlot.
MarketMakingBotSlot
¶ Bases:
object
Data Object containing a Market Making Bot Slot
Variables: - buyOrder –
MarketMakingBotSlotObject
: - sellOrder –
MarketMakingBotSlotObject
: - offset – float:
- active – bool:
- buyOrder –
haasomeapi.dataobjects.custombots.dataobjects.MarketMakingBotSlotObject module¶
-
class
haasomeapi.dataobjects.custombots.dataobjects.MarketMakingBotSlotObject.
MarketMakingBotSlotObject
¶ Bases:
object
Data Object containing a Market Making Bot Slot Object
Variables: - orderId – str:
- price – float:
- tempAmount – float:
- timeStamp –
datettime
: - locked – bool:
haasomeapi.dataobjects.custombots.dataobjects.MessageProfile module¶
-
class
haasomeapi.dataobjects.custombots.dataobjects.MessageProfile.
MessageProfile
¶ Bases:
object
Data Object containing a Message Profile
Variables: - activation – bool:
- orderExecution – bool:
- positionSwitch – bool:
- safetyTriggered – bool:
- tradeAmountErrors – bool:
haasomeapi.dataobjects.custombots.dataobjects.OpenRecoveryPositionDefinition module¶
-
class
haasomeapi.dataobjects.custombots.dataobjects.OpenRecoveryPositionDefinition.
OpenRecoveryPositionDefinition
¶ Bases:
object
Data Object containing a Open Recovery Position Definition
Variables: - amount – float:
- price – float:
- targetPrice – float:
- positionId – str:
haasomeapi.dataobjects.custombots.dataobjects.OrderBotPreOrder module¶
-
class
haasomeapi.dataobjects.custombots.dataobjects.OrderBotPreOrder.
OrderBotPreOrder
¶ Bases:
haasomeapi.dataobjects.accountdata.BaseOrder.BaseOrder
Data Object containing a Order Bot Pre Order
Variables: - trigger –
EnumOrderBotTriggerType
- triggerPrice – float:
- customTemplate – str:
- dependsOn – str:
- dependsOnNotExecuted – str:
- trigger –
haasomeapi.dataobjects.custombots.dataobjects.Safety module¶
-
class
haasomeapi.dataobjects.custombots.dataobjects.Safety.
Safety
¶ Bases:
object
Data Object containing a Safety
Variables: - guid – str:
- safetyType –
EnumSafety
: - safetyName – str:
- safetyTypeShortName – str:
- safetyTypeFullName – str:
- priceMarket –
Market
: - buySellResult –
EnumBotTradeResult
: - shortLongResult –
EnumFundPosition
: - mapBuySignal –
EnumFundPosition
: - mapSellSignal –
EnumFundPosition
: - safetyInterface – List[
IndicatorOption
]:
haasomeapi.dataobjects.custombots.dataobjects.ScriptBotOrder module¶
-
class
haasomeapi.dataobjects.custombots.dataobjects.ScriptBotOrder.
ScriptBotOrder
¶ Bases:
object
Data Object containing a Script Bot Order
Variables: - guid – str:
- price – float:
- amount – float:
- orderType –
EnumOrderType
: - fundMovement –
EnumFundMovingPosition
:
haasomeapi.dataobjects.custombots.dataobjects.SlotObject module¶
-
class
haasomeapi.dataobjects.custombots.dataobjects.SlotObject.
SlotObject
¶ Bases:
object
Data Object containing a Slot Object
Variables: - orderId – str:
- price – float:
- amount – float:
- inUse – bool:
- activeSlot – bool:
- type –
EnumSlotType
: - waitingForExecuting – bool:
- lockTimeStamp –
datetime
: - orderIds – List[str]:
haasomeapi.dataobjects.custombots.dataobjects.ZoneDefinition module¶
-
class
haasomeapi.dataobjects.custombots.dataobjects.ZoneDefinition.
ZoneDefinition
¶ Bases:
object
Data Object containing a Zone Definition
Variables: - amount – float:
- price – float:
- targetPrice – float:
- xposureNow – float:
- takenProfit – float:
- takenLosses – float:
- exit – float:
- feeCosts – float: