MatexProfitAndLossCoreMixin<C extends MatexBaseCalculator<C, R>, R> mixin

Superclass Constraints
Mixin Applications

Properties

defaultCalculatorState MatexBaseCoreState
no setterinherited
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 ↔ R?
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

entryFeeAmount(double fee) → C
entryFeeAmountPerUnit(double fee) → C
entryFeePercentage(double fee) → C
entryFeePercentagePerUnit(double fee) → C
entryPrice(double price) → C
exitDiscountAmount(double amount) → C
exitDiscountPercentage(double rate) → C
exitFeeAmount(double fee) → C
exitFeeAmountPerUnit(double fee) → C
exitFeePercentage(double fee) → C
exitFeePercentagePerUnit(double fee) → C
exitPrice(double price) → C
fixedCosts(double costs) → C
getState() MatexBaseCoreState
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patchState(MatexBaseCoreState partialState) → C
inherited
position(MatexPosition position) → C
positionSize(double size) → C
reset() → C
inherited
resetStateProperties(List<String> properties) → C
inherited
sanitizeDouble(double value) double
inherited
setDefaultState(MatexBaseCoreState nextDefaultState) → C
inherited
setState(MatexBaseCoreState nextState) → C
inherited
taxRate(double rate) → C
toPercentageDecimal(num value) → Decimal
inherited
toString() String
A string representation of this object.
inherited
value() → R
inherited

Operators

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