Deal class

Constructors

Deal(int id, String type, int botId, int maxSafetyOrders, bool dealHasError, int fromCurrencyId, int toCurrencyId, int accountId, int activeSafetyOrdersCount, DateTime createdAt, DateTime updatedAt, bool finished, int currentActiveSafetyOrdersCount, int currentActiveSafetyOrders, int completedSafetyOrdersCount, int completedManualSafetyOrdersCount, bool cancellable, bool panicSellable, bool trailingEnabled, bool tslEnabled, bool stopLossTimeoutEnabled, int stopLossTimeoutInSeconds, int activeManualSafetyOrders, String pair, String status, String localizedStatus, double takeProfit, double baseOrderVolume, double safetyOrderVolume, double safetyOrderStepPercentage, String leverageType, double boughtAmount, double boughtVolume, double boughtAveragePrice, double baseOrderAveragePrice, double soldAmount, double soldVolume, double soldAveragePrice, String takeProfitType, double finalProfit, double martingaleCoefficient, double martingaleVolumeCoefficient, double martingaleStepCoefficient, double stopLossPercentage, String safetyOrderVolumeType, String fromCurrency, String toCurrency, double currentPrice, double takeProfitPrice, double finalProfitPercentage, double actualProfitPercentage, String botName, String accountName, double usdFinalProfit, double actualProfit, double actualUsdProfit, double reservedBaseCoin, double reservedSecondCoin, double trailingDeviation, String strategy, double reservedQuoteFunds, double reservedBaseFunds, String baseOrderVolumeType, String profitCurrency, String stopLossType)
Deal.fromJson(Map<String, dynamic> json)

Properties

accountId int
getter/setter pair
accountName String
getter/setter pair
activeManualSafetyOrders int
getter/setter pair
activeSafetyOrdersCount int
getter/setter pair
actualProfit double
getter/setter pair
actualProfitPercentage double
getter/setter pair
actualUsdProfit double
getter/setter pair
baseOrderAveragePrice double
getter/setter pair
baseOrderVolume double
getter/setter pair
baseOrderVolumeType String
getter/setter pair
botId int
getter/setter pair
botName String
getter/setter pair
boughtAmount double
getter/setter pair
boughtAveragePrice double
getter/setter pair
boughtVolume double
getter/setter pair
cancellable bool
getter/setter pair
completedManualSafetyOrdersCount int
getter/setter pair
completedSafetyOrdersCount int
getter/setter pair
createdAt DateTime
getter/setter pair
currentActiveSafetyOrders int
getter/setter pair
currentActiveSafetyOrdersCount int
getter/setter pair
currentPrice double
getter/setter pair
dealHasError bool
getter/setter pair
finalProfit double
getter/setter pair
finalProfitPercentage double
getter/setter pair
finished bool
getter/setter pair
fromCurrency String
getter/setter pair
fromCurrencyId int
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id int
getter/setter pair
leverageType String
getter/setter pair
localizedStatus String
getter/setter pair
martingaleCoefficient double
getter/setter pair
martingaleStepCoefficient double
getter/setter pair
martingaleVolumeCoefficient double
getter/setter pair
maxSafetyOrders int
getter/setter pair
pair String
getter/setter pair
panicSellable bool
getter/setter pair
profitCurrency String
getter/setter pair
reservedBaseCoin double
getter/setter pair
reservedBaseFunds double
getter/setter pair
reservedQuoteFunds double
getter/setter pair
reservedSecondCoin double
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
safetyOrderStepPercentage double
getter/setter pair
safetyOrderVolume double
getter/setter pair
safetyOrderVolumeType String
getter/setter pair
soldAmount double
getter/setter pair
soldAveragePrice double
getter/setter pair
soldVolume double
getter/setter pair
status String
getter/setter pair
stopLossPercentage double
getter/setter pair
stopLossTimeoutEnabled bool
getter/setter pair
stopLossTimeoutInSeconds int
getter/setter pair
stopLossType String
getter/setter pair
strategy String
getter/setter pair
takeProfit double
getter/setter pair
takeProfitPrice double
getter/setter pair
takeProfitType String
getter/setter pair
toCurrency String
getter/setter pair
toCurrencyId int
getter/setter pair
trailingDeviation double
getter/setter pair
trailingEnabled bool
getter/setter pair
tslEnabled bool
getter/setter pair
type String
getter/setter pair
updatedAt DateTime
getter/setter pair
usdFinalProfit double
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited