MatexPipValueCalculator class

Inheritance
Mixed in types

Constructors

MatexPipValueCalculator({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) MatexPipValueCalculator
inherited
baseListedSecond(bool baseListedSecond) MatexPipValueCalculator
inherited
computePipValue() → Decimal
inherited
counterAccountCurrencyPairExchangeRate(double counterAccountCurrencyPairExchangeRate) MatexPipValueCalculator
inherited
currencyPairCode(String? baseCode, String? counterCode) MatexPipValueCalculator
inherited
exchangeRateLastUpdateAt(int? exchangeRateLastUpdateAt) MatexPipValueCalculator
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
lot(double lot) MatexPipValueCalculator
inherited
lotDescriptors(MatexLotDescriptors lotDescriptors) MatexPipValueCalculator
inherited
microLot(double microLot) MatexPipValueCalculator
inherited
miniLot(double miniLot) MatexPipValueCalculator
inherited
nanoLot(double nanoLot) MatexPipValueCalculator
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patchState(MatexBaseCoreState partialState) MatexPipValueCalculator
inherited
pipPrecision(int? pipPrecision) MatexPipValueCalculator
inherited
pipValue(MatexBaseCoreState state, {bool rational = false}) → Decimal
inherited
positionSize(double? positionSize) MatexPipValueCalculator
inherited
rationalPipValue(MatexBaseCoreState state) → Rational
inherited
reset() MatexPipValueCalculator
inherited
resetStateProperties(List<String> properties) MatexPipValueCalculator
inherited
sanitizeDouble(double value) double
inherited
setDefaultState(MatexBaseCoreState nextDefaultState) MatexPipValueCalculator
inherited
setExchangeRates() Future<void>
inherited
setState(MatexBaseCoreState nextState) MatexPipValueCalculator
inherited
toPercentageDecimal(num value) → Decimal
inherited
toString() String
A string representation of this object.
inherited
tradingPairExchangeRate(double tradingPairExchangeRate) MatexPipValueCalculator
inherited
value() Future<double>
override

Operators

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