MatexBaseCoreState class

Inheritance
  • Object
  • TModel
  • TEntity
  • TDocument
  • MatexBaseCoreState

Constructors

MatexBaseCoreState({String? accountCode, String? baseCode, String? counterCode, double? customPrice, double? highPrice, double? lowPrice, int? precision, MatexTrend? trend, List<double>? extensionLevels, List<double>? retracementLevels, double? counterAccountCurrencyPairExchangeRate, double? tradingPairExchangeRate, double? positionSize, int? pipPrecision, MatexLotDescriptors? lotDescriptors, bool? baseListedSecond, double? leverage, double? closePrice, double? openPrice, MatexPivotPointsMethods? method, double? accountSize, double? entryPrice, double? amountAtRisk, double? riskRatio, double? stopLossPips, double? stopLossPrice, MatexPosition? position, double? stopLossAmount, double? takeProfitPips, double? takeProfitPrice, double? takeProfitAmount, int? exchangeRateLastUpdateAt, double? exitPrice, double? entryFeePercentage, double? entryFeeAmount, double? exitFeePercentage, double? exitFeeAmount, double? taxRate, double? priceA, double? priceB, double? fixedCosts, double? exitDiscountAmount, double? exitDiscountPercentage, double? entryFeePercentagePerUnit, double? entryFeeAmountPerUnit, double? exitFeePercentagePerUnit, double? exitFeeAmountPerUnit, bool? drip, MatexFrequency? dividendPaymentFrequency, double? annualSharePriceIncrease, double? annualDividendIncrease, double? annualContribution, double? numberOfShares, double? dividendYield, int? yearsToGrow, double? sharePrice, double? taxExemptAmountPerYear, double? totalDividend, double? netIncome})
const
MatexBaseCoreState.fromJson(dynamic json)
factory

Properties

accountCode String?
final
accountSize double?
final
amountAtRisk double?
final
annualContribution double?
final
annualDividendIncrease double?
final
annualSharePriceIncrease double?
final
baseCode String?
final
baseListedSecond bool?
final
closePrice double?
final
counterAccountCurrencyPairExchangeRate double?
final
counterCode String?
final
customPrice double?
final
dividendPaymentFrequency MatexFrequency?
final
dividendYield double?
final
drip bool?
final
entryFeeAmount double?
final
entryFeeAmountPerUnit double?
final
entryFeePercentage double?
final
entryFeePercentagePerUnit double?
final
entryPrice double?
final
exchangeRateLastUpdateAt int?
final
exitDiscountAmount double?
final
exitDiscountPercentage double?
final
exitFeeAmount double?
final
exitFeeAmountPerUnit double?
final
exitFeePercentage double?
final
exitFeePercentagePerUnit double?
final
exitPrice double?
final
extensionLevels List<double>?
final
fixedCosts double?
final
hashCode int
The hash code for this object.
no setterinherited
highPrice double?
final
leverage double?
final
lotDescriptors MatexLotDescriptors?
final
lowPrice double?
final
method MatexPivotPointsMethods?
final
netIncome double?
final
numberOfShares double?
final
openPrice double?
final
pipPrecision int?
final
position MatexPosition?
final
positionSize double?
final
precision int?
final
priceA double?
final
priceB double?
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
retracementLevels List<double>?
final
riskRatio double?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sharePrice double?
final
stopLossAmount double?
final
stopLossPips double?
final
stopLossPrice double?
final
stringify bool
If set to true, the toString method will be overridden to output this instance's props.
no setter
takeProfitAmount double?
final
takeProfitPips double?
final
takeProfitPrice double?
final
taxExemptAmountPerYear double?
final
taxRate double?
final
totalDividend double?
final
tradingPairExchangeRate double?
final
trend MatexTrend?
final
version int
The version of the document.
no setterinherited
yearsToGrow int?
final

Methods

assignValue<T>(T? value, {T? defaultValue, bool loose = true}) → T?
inherited
clone() MatexBaseCoreState
Creates a copy of this TModel.
override
copyWith({double? customPrice, double? highPrice, double? lowPrice, int? precision, MatexTrend? trend, List<double>? extensionLevels, List<double>? retracementLevels, double? counterAccountCurrencyPairExchangeRate, double? tradingPairExchangeRate, double? positionSize, int? pipPrecision, MatexLotDescriptors? lotDescriptors, bool? baseListedSecond, double? leverage, double? closePrice, double? openPrice, MatexPivotPointsMethods? method, double? accountSize, double? entryPrice, double? amountAtRisk, double? riskRatio, MatexPosition? position, double? stopLossPips, double? stopLossPrice, double? stopLossAmount, double? takeProfitPips, double? takeProfitPrice, double? takeProfitAmount, String? accountCode, String? baseCode, String? counterCode, int? exchangeRateLastUpdateAt, double? exitPrice, double? entryFeePercentage, double? entryFeeAmount, double? exitFeePrecentage, double? exitFeeAmount, double? taxRate, double? priceA, double? priceB, double? exitFeePercentage, double? fixedCosts, double? exitDiscountAmount, double? exitDiscountPercentage, double? entryFeePercentagePerUnit, double? entryFeeAmountPerUnit, double? exitFeePercentagePerUnit, double? exitFeeAmountPerUnit, bool? drip, MatexFrequency? dividendPaymentFrequency, double? annualSharePriceIncrease, double? annualDividendIncrease, double? annualContribution, double? numberOfShares, double? dividendYield, int? yearsToGrow, double? sharePrice, double? taxExemptAmountPerYear, double? totalDividend, double? netIncome}) MatexBaseCoreState
Creates a copy of this TModel but with the given fields replaced with the new values.
override
copyWithDefaults() → TModel
inherited
copyWithOmittedProperties(List<String> properties, {MatexBaseCoreState? defaultState}) MatexBaseCoreState
copyWithState(MatexBaseCoreState state) MatexBaseCoreState
merge(covariant MatexBaseCoreState model) MatexBaseCoreState
Creates a new TModel where each properties from this object has been merged with the matching properties from the other object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Returns a JSON representation of this object.
override
toString() String
Returns a string representation of this object.
inherited

Operators

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