|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.dukascopy.api.system.Overnights
public class Overnights
Allows to set fixed overnight values for every Instrument
| Field Summary | |
|---|---|
Map<Instrument,Double> |
longValues
|
Map<Instrument,Double> |
shortValues
|
| Constructor Summary | |
|---|---|
Overnights()
Creates Overnights object with all values set to 0.0 |
|
Overnights(boolean institutional)
Creates Overnights object with default values (prices taken at 26.04.2010) |
|
| Method Summary | |
|---|---|
Map<Instrument,Double> |
getLongOvernights()
Returns Map with overnight long values for all instruments. |
Map<Instrument,Double> |
getShortOvernights()
Returns Map with overnight shoft values for all instruments. |
boolean |
isInstitutional()
Returns true if object contains institutional overnights |
void |
setOvernights(Instrument instrument,
double longValue,
double shortValue)
Sets overnights for instrument |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public Map<Instrument,Double> longValues
public Map<Instrument,Double> shortValues
| Constructor Detail |
|---|
public Overnights()
public Overnights(boolean institutional)
institutional - if true, then institutional prices will be filled in as defaults| Method Detail |
|---|
public void setOvernights(Instrument instrument,
double longValue,
double shortValue)
instrument - instrumentlongValue - long valueshortValue - short valuepublic Map<Instrument,Double> getLongOvernights()
public Map<Instrument,Double> getShortOvernights()
public boolean isInstitutional()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||