MatexRequiredMarginCalculator class

Inheritance
Mixed-in types

Constructors

MatexRequiredMarginCalculator({required MatexConfig config, MatexBaseCoreState? defaultState, List<MatexStateValidator>? validators})

Properties

config MatexConfig
finalgetter/setter pairinherited-setteroverride-getter
defaultCalculatorState MatexBaseCoreState
no setteroverride
defaultState MatexBaseCoreState?
getter/setter pairinherited
differenceState MatexBaseCoreState
getter/setter pairinherited
exchangeProvider MatexAbstractExchangeProvider?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
instrumentProvider MatexAbstractInstrumentMetadataProvider
no setterinherited
isDirty bool
no setterinherited
isStateValid bool
getter/setter pairinherited
isValid bool
no setterinherited
pairProvider MatexAbstractPairMetadataProvider
no setterinherited
propertiesUseForDifference Iterable<String>
no setteroverride
result Future<double>?
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state MatexBaseCoreState
getter/setter pairinherited
validators List<MatexStateValidator>?
getter/setter pairinherited

Methods

accountCode(String? accountCode) MatexRequiredMarginCalculator
inherited
baseListedSecond(bool baseListedSecond) MatexRequiredMarginCalculator
inherited
computePipValue() → Decimal
inherited
counterAccountCurrencyPairExchangeRate(double counterAccountCurrencyPairExchangeRate) MatexRequiredMarginCalculator
inherited
currencyPairCode(String? baseCode, String? counterCode) MatexRequiredMarginCalculator
inherited
exchangeRateLastUpdateAt(int? exchangeRateLastUpdateAt) MatexRequiredMarginCalculator
inherited
fetchAccountInstrumentMetadata() Future<MatexInstrumentMetadata?>
inherited
fetchBaseInstrumentMetadata() Future<MatexInstrumentMetadata?>
inherited
fetchCounterInstrumentMetadata() Future<MatexInstrumentMetadata?>
inherited
fetchPairMetadata() Future<MatexPairMetadata?>
inherited
getPositionSizeWithLotDescriptorAndValue(MatexLotDescriptor lotDescriptor, num value) double
inherited
getState() MatexBaseCoreState
inherited
leverage(double leverage) MatexRequiredMarginCalculator
inherited
lot(double lot) MatexRequiredMarginCalculator
inherited
lotDescriptors(MatexLotDescriptors lotDescriptors) MatexRequiredMarginCalculator
inherited
microLot(double microLot) MatexRequiredMarginCalculator
inherited
miniLot(double miniLot) MatexRequiredMarginCalculator
inherited
nanoLot(double nanoLot) MatexRequiredMarginCalculator
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patchState(MatexBaseCoreState partialState) MatexRequiredMarginCalculator
inherited
pipPrecision(int? pipPrecision) MatexRequiredMarginCalculator
inherited
pipValue(MatexBaseCoreState state, {bool rational = false}) → Decimal
inherited
positionSize(double? positionSize) MatexRequiredMarginCalculator
inherited
rationalPipValue(MatexBaseCoreState state) → Rational
inherited
reset() MatexRequiredMarginCalculator
inherited
resetStateProperties(List<String> properties) MatexRequiredMarginCalculator
inherited
sanitizeDouble(double value) double
inherited
setDefaultState(MatexBaseCoreState nextDefaultState) MatexRequiredMarginCalculator
inherited
setExchangeRates() Future<void>
inherited
setState(MatexBaseCoreState nextState) MatexRequiredMarginCalculator
inherited
toPercentageDecimal(num value) → Decimal
inherited
toString() String
A string representation of this object.
inherited
tradingPairExchangeRate(double tradingPairExchangeRate) MatexRequiredMarginCalculator
inherited
value() Future<double>
override

Operators

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