com.dukascopy.api.system
Class Overnights

java.lang.Object
  extended by com.dukascopy.api.system.Overnights
All Implemented Interfaces:
java.io.Serializable

Deprecated.

@Deprecated
public class Overnights
extends java.lang.Object
implements java.io.Serializable

Allows to set fixed overnight values for every Instrument

See Also:
Serialized Form

Field Summary
 java.util.Map<Instrument,java.lang.Double> longValues
          Deprecated.  
 java.util.Map<Instrument,java.lang.Double> shortValues
          Deprecated.  
 
Constructor Summary
Overnights()
          Deprecated. 
Overnights(boolean institutional)
          Deprecated. 
 
Method Summary
 java.util.Map<Instrument,java.lang.Double> getLongOvernights()
          Deprecated. 
 java.util.Map<Instrument,java.lang.Double> getShortOvernights()
          Deprecated. 
 boolean isInstitutional()
          Deprecated. 
 void setOvernights(Instrument instrument, double longValue, double shortValue)
          Deprecated. 
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

longValues

public java.util.Map<Instrument,java.lang.Double> longValues
Deprecated. 

shortValues

public java.util.Map<Instrument,java.lang.Double> shortValues
Deprecated. 
Constructor Detail

Overnights

@Deprecated
public Overnights()
Deprecated. 

Creates Overnights object with all values set to 0.0


Overnights

@Deprecated
public Overnights(boolean institutional)
Deprecated. 

Creates Overnights object with default values (prices taken at 26.04.2010)

Parameters:
institutional - if true, then institutional prices will be filled in as defaults
Method Detail

setOvernights

@Deprecated
public void setOvernights(Instrument instrument,
                                     double longValue,
                                     double shortValue)
Deprecated. 

Sets overnights for instrument

Parameters:
instrument - instrument
longValue - long value
shortValue - short value

getLongOvernights

@Deprecated
public java.util.Map<Instrument,java.lang.Double> getLongOvernights()
Deprecated. 

Returns Map with overnight long values for all instruments. Changing values in array will change values in Overnights class

Returns:
overnight values

getShortOvernights

@Deprecated
public java.util.Map<Instrument,java.lang.Double> getShortOvernights()
Deprecated. 

Returns Map with overnight shoft values for all instruments. Changing values in array will change values in Overnights class

Returns:
overnight values

isInstitutional

@Deprecated
public boolean isInstitutional()
Deprecated. 

Returns true if object contains institutional overnights

Returns:
type ov overnight values