MatexPipValueCalculatorCore class

Inheritance
Mixed in types

Constructors

MatexPipValueCalculatorCore({MatexBaseCoreState? defaultState, List<MatexStateValidator>? validators})

Properties

defaultCalculatorState MatexBaseCoreState
no setteroverride
defaultState MatexBaseCoreState?
getter/setter pairinherited
differenceState MatexBaseCoreState
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
isDirty bool
no setterinherited
isStateValid bool
getter/setter pairinherited
isValid bool
no setterinherited
propertiesUseForDifference Iterable<String>
no setterinherited
result 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

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

Operators

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