public abstract class BasePriceCalulation extends Object implements IPriceCalculationV2
| Constructor and Description |
|---|
BasePriceCalulation() |
| Modifier and Type | Method and 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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomputePriceprotected 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.