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
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