abstract public class AverageIndexScheme extends IndexScheme
Modifier and Type | Field and Description |
---|---|
static Fun_0_1 <Market,Double> |
FUNDAMENTAL_PRICE
Field Type: (plham.Market)=>Double
|
static Fun_0_1 <Market,Double> |
MARKET_PRICE
Field Type: (plham.Market)=>Double
|
Fun_0_1 <Market,Double> |
get
Field Type: (plham.Market)=>Double
|
Double |
indexDivisor |
Constructor and Description |
---|
AverageIndexScheme(Fun_0_1 <Market,Double> get)
Declaration: this(get:(plham.Market)=>Double):plham.index.AverageIndexScheme.
|
Modifier and Type | Method and Description |
---|---|
Double |
getIndex(List<Market> markets) |
Double |
getIndex(List<Market> markets,
List<Long> components) |
Double |
getPrice(Market market) |
void |
setIndexDivisor(Double initialPrice,
Double basePrice) |
getIndex, getIndex, getPrice, getWeight
public static final Fun_0_1 <Market,Double> MARKET_PRICE
public static final Fun_0_1 <Market,Double> FUNDAMENTAL_PRICE
public Fun_0_1 <Market,Double> get
public Double indexDivisor
public AverageIndexScheme(Fun_0_1 <Market,Double> get)