IPriceCalculationV2BezierPriceCalculationpublic abstract class BasePriceCalulation extends java.lang.Object implements IPriceCalculationV2
| Constructor | Description |
|---|---|
BasePriceCalulation() |
| Modifier and Type | Method | Description |
|---|---|---|
protected int |
getMaxValue(ITradable tradable,
boolean buy) |
Retreive the maximal value from tradable dependent if we are buying or selling.
|
protected int |
getMinValue(ITradable tradable,
boolean buy) |
Retreive the minimal value from tradable dependent if we are buying or selling.
|
protected int |
getSaturation(ITradable tradable,
boolean buy) |
Retreive the saturation value from tradable dependent if we are buying or selling.
|
computePriceprotected int getMinValue(ITradable tradable, boolean buy)
tradable - holding the min valuebuy - flag indicating if we are buying or sellingbuy flag.protected int getMaxValue(ITradable tradable, boolean buy)
tradable - holding the max valuebuy - flag indicating if we are buying or sellingbuy flag.protected int getSaturation(ITradable tradable, boolean buy)
tradable - holding the max valuebuy - flag indicating if we are buying or sellingbuy flag.Copyright © 2011-2018 Sahits GmbH. All Rights Reserved.