MatexStopLossTakeProfitCalculator class
- Inheritance
- Mixed in types
-
- MatexLotCoreMixin<
MatexStopLossTakeProfitCalculator, Future< MatexStopLossTakeProfitResult> > - MatexPipValueCoreMixin<
MatexStopLossTakeProfitCalculator, Future< MatexStopLossTakeProfitResult> > - MatexPipValueMixin<
MatexStopLossTakeProfitCalculator, Future< MatexStopLossTakeProfitResult> > - MatexTakeProfitCoreMixin<
MatexStopLossTakeProfitCalculator, Future< MatexStopLossTakeProfitResult> > - MatexStopLossCoreMixin<
MatexStopLossTakeProfitCalculator, Future< MatexStopLossTakeProfitResult> >
- MatexLotCoreMixin<
Constructors
-
MatexStopLossTakeProfitCalculator({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<
MatexStopLossTakeProfitResult> ? -
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) → MatexStopLossTakeProfitCalculator -
inherited
-
baseListedSecond(
bool baseListedSecond) → MatexStopLossTakeProfitCalculator -
inherited
-
computePipValue(
) → Decimal -
inherited
-
counterAccountCurrencyPairExchangeRate(
double counterAccountCurrencyPairExchangeRate) → MatexStopLossTakeProfitCalculator -
inherited
-
currencyPairCode(
String? baseCode, String? counterCode) → MatexStopLossTakeProfitCalculator -
inherited
-
entryPrice(
double entryPrice) → MatexStopLossTakeProfitCalculator -
inherited
-
exchangeRateLastUpdateAt(
int? exchangeRateLastUpdateAt) → MatexStopLossTakeProfitCalculator -
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) → MatexStopLossTakeProfitCalculator -
inherited
-
lotDescriptors(
MatexLotDescriptors lotDescriptors) → MatexStopLossTakeProfitCalculator -
inherited
-
microLot(
double microLot) → MatexStopLossTakeProfitCalculator -
inherited
-
miniLot(
double miniLot) → MatexStopLossTakeProfitCalculator -
inherited
-
nanoLot(
double nanoLot) → MatexStopLossTakeProfitCalculator -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
patchState(
MatexBaseCoreState partialState) → MatexStopLossTakeProfitCalculator -
inherited
-
pipPrecision(
int? pipPrecision) → MatexStopLossTakeProfitCalculator -
inherited
-
pipValue(
MatexBaseCoreState state, {bool rational = false}) → Decimal -
inherited
-
position(
MatexPosition position) → MatexStopLossTakeProfitCalculator -
inherited
-
positionSize(
double? positionSize) → MatexStopLossTakeProfitCalculator -
inherited
-
rationalPipValue(
MatexBaseCoreState state) → Rational -
inherited
-
reset(
) → MatexStopLossTakeProfitCalculator -
inherited
-
resetStateProperties(
List< String> properties) → MatexStopLossTakeProfitCalculator -
inherited
-
sanitizeDouble(
double value) → double -
inherited
-
setDefaultState(
MatexBaseCoreState nextDefaultState) → MatexStopLossTakeProfitCalculator -
inherited
-
setExchangeRates(
) → Future< void> -
inherited
-
setState(
MatexBaseCoreState nextState) → MatexStopLossTakeProfitCalculator -
inherited
-
stopLossAmount(
double stopLossAmount) → MatexStopLossTakeProfitCalculator -
inherited
-
stopLossPips(
double stopLossPips) → MatexStopLossTakeProfitCalculator -
inherited
-
stopLossPrice(
double stopLossPrice) → MatexStopLossTakeProfitCalculator -
inherited
-
takeProfitAmount(
double takeProfitAmount) → MatexStopLossTakeProfitCalculator -
inherited
-
takeProfitPips(
double takeProfitPips) → MatexStopLossTakeProfitCalculator -
inherited
-
takeProfitPrice(
double takeProfitPrice) → MatexStopLossTakeProfitCalculator -
inherited
-
toPercentageDecimal(
num value) → Decimal -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
tradingPairExchangeRate(
double tradingPairExchangeRate) → MatexStopLossTakeProfitCalculator -
inherited
-
value(
) → Future< MatexStopLossTakeProfitResult> -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited