🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
# haasomeapi.dataobjects.custombots.dataobjects package ## 子模块 ## haasomeapi.dataobjects.custombots.dataobjects.CryptoIndexBotIndex module ``` class haasomeapi.dataobjects.custombots.dataobjects.CryptoIndexBotIndex.CryptoIndexBotIndex Bases: object ``` 包含Crypto Index Bot指数的数据 | 变量 |类型 | |---|---| 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 ``` 包含Crypto Index Bot指数结果的数据 | 变量 |类型 | |---|---| 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 ``` 包含Crypto Index Bot指数保存的数据 | 变量 |类型 | |---|---| 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 ``` 包含电子邮件机器人操作的数据 | 变量 |类型 | |---|---| guid|str: providerGuid|str: templateGuid|str: messages|List[EnumBotActionMessage(本链接)]: timeoutInSeconds|int = 65: spotAction|[EnumBotTradeResult:](https://www.kancloud.cn/zbb1025/cccc/780202) leverageAction|[EnumFundMovingPosition:](https://www.kancloud.cn/zbb1025/cccc/780202) timeoutInSeconds = 65 ## haasomeapi.dataobjects.custombots.dataobjects.[EnumBotActionMessage](https://www.kancloud.cn/zbb1025/cccc/780202) module ``` class haasomeapi.dataobjects.custombots.dataobjects.[EnumBotActionMessage](https://www.kancloud.cn/zbb1025/cccc/780202).EmailBotActionMessage Bases: object ``` 包含电子邮件机器人操作消息的数据 | 变量 |类型 | |---|---| message|str: lastReceivedTime|int: ## haasomeapi.dataobjects.custombots.dataobjects.FlashCrashBotSaveObject module ``` class haasomeapi.dataobjects.custombots.dataobjects.FlashCrashBotSaveObject.FlashCrashBotSaveObject Bases: object ``` 包含Falsh Crash Bot保存对象的数据 | 变量 |类型 | |---|---| botName|str: botGuid|str: accountId|str: fee|float: priceMarket|[Market:](https://www.kancloud.cn/zbb1025/xxxx/780573) basePrice|float: priceSpreadType|[EnumFlashSpreadOptions:](https://www.kancloud.cn/zbb1025/cccc/780202) priceSpread|float: percentageBoost|float: minPercentage|float: maxPercentage|float: accountType|[EnumCurrencyType:](https://www.kancloud.cn/zbb1025/cccc/780202) 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 ``` 包含指标的数据对象 | 变量 |类型 | |---|---| guid|str: indicatorType|[EnumIndicator:](https://www.kancloud.cn/zbb1025/cccc/780202) indicatorName|str: indicatorInterface|List[IndicatorOption(本链接)]: indicatorTypeShortName|str: indicatorTypeFullName|str: priceMarket|Market: chartType|[EnumPriceChartType:](https://www.kancloud.cn/zbb1025/cccc/780202) timer|int: deviation|int: useBuySignals|bool: useSellSignals|bool: useLongSignals|bool: useNoPositionSignals|bool: useShortSignals|bool: reverseSignals|bool: standAlone|bool: buySellResult|[EnumBotTradeResult:](https://www.kancloud.cn/zbb1025/cccc/780202) shortLongResult|[EnumFundPosition:](https://www.kancloud.cn/zbb1025/cccc/780202) mappedLongSignal|[EnumFundPosition:](https://www.kancloud.cn/zbb1025/cccc/780202) mappedShortSignal|[EnumFundPosition:](https://www.kancloud.cn/zbb1025/cccc/780202) ## haasomeapi.dataobjects.custombots.dataobjects.IndicatorOption module ``` class haasomeapi.dataobjects.custombots.dataobjects.IndicatorOption.IndicatorOption Bases: object ``` 包含指标选项的数据对象 | 变量 |类型 | |---|---| title|str: value|str: options|List[object]: ## haasomeapi.dataobjects.custombots.dataobjects.Insurance module ``` class haasomeapi.dataobjects.custombots.dataobjects.Insurance.Insurance Bases: object ``` 包含保险的数据对象 | 变量 |类型 | |---|---| guid|str: insuranceType|[EnumInsurance:](https://www.kancloud.cn/zbb1025/cccc/780202) 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 | 变量 |类型 | |---|---| buyOrder|MarketMakingBotSlotObject:(本链接) sellOrder|MarketMakingBotSlotObject:(本链接) offset|float: active|bool: ## haasomeapi.dataobjects.custombots.dataobjects.MarketMakingBotSlotObject module ``` class haasomeapi.dataobjects.custombots.dataobjects.MarketMakingBotSlotObject.MarketMakingBotSlotObject Bases: object ``` Data Object containing a Market Making Bot Slot Object | 变量 |类型 | |---|---| 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 ``` 包含消息配置文件的数据对象 | 变量 |类型 | |---|---| 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 | 变量 |类型 | |---|---| 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](https://www.kancloud.cn/zbb1025/vvvv/781234) ``` 包含Order Bot预订单的数据对象 | 变量 |类型 | |---|---| trigger|[EnumOrderBotTriggerType](https://www.kancloud.cn/zbb1025/cccc/780202) triggerPrice|float: customTemplate|str: dependsOn|str: dependsOnNotExecuted|str: ## haasomeapi.dataobjects.custombots.dataobjects.Safety module ``` class haasomeapi.dataobjects.custombots.dataobjects.Safety.Safety Bases: object ``` 包含安全性的数据对象 | 变量 |类型 | |---|---| guid|str: safetyType|[EnumSafety:](https://www.kancloud.cn/zbb1025/cccc/780202) safetyName|str: safetyTypeShortName|str: safetyTypeFullName|str: priceMarket|Market: buySellResult|[EnumBotTradeResult:](https://www.kancloud.cn/zbb1025/cccc/780202) shortLongResult|[EnumFundPosition:](https://www.kancloud.cn/zbb1025/cccc/780202) mapBuySignal|[EnumFundPosition:](https://www.kancloud.cn/zbb1025/cccc/780202) mapSellSignal|[EnumFundPosition:](https://www.kancloud.cn/zbb1025/cccc/780202) safetyInterface|List[IndicatorOption(本链接)]: ## haasomeapi.dataobjects.custombots.dataobjects.ScriptBotOrder module ``` class haasomeapi.dataobjects.custombots.dataobjects.ScriptBotOrder.ScriptBotOrder Bases: object ``` 包含脚本机器人命令的数据对象 | 变量 |类型 | |---|---| guid|str: price|float: amount|float: orderType|[EnumOrderType:](https://www.kancloud.cn/zbb1025/cccc/780202) fundMovement|[EnumFundMovingPosition:](https://www.kancloud.cn/zbb1025/cccc/780202) ## haasomeapi.dataobjects.custombots.dataobjects.SlotObject module ``` class haasomeapi.dataobjects.custombots.dataobjects.SlotObject.SlotObject Bases: object ``` 包含Slot对象的数据对象 | 变量 |类型 | |---|---| orderId|str: price|float: amount|float: inUse|bool: activeSlot|bool: type|[EnumSlotType:](https://www.kancloud.cn/zbb1025/cccc/780202) waitingForExecuting|bool: lockTimeStamp|datetime: orderIds|List[str]: ## haasomeapi.dataobjects.custombots.dataobjects.ZoneDefinition module ``` class haasomeapi.dataobjects.custombots.dataobjects.ZoneDefinition.ZoneDefinition Bases: object ``` 包含Zone Definition的数据对象 | 变量 |类型 | |---|---| amount|float: price|float: targetPrice|float: xposureNow|float: takenProfit|float: takenLosses|float: exit|float: feeCosts|float: ## 模块内容