public class InstrumentInfo extends InstrumentCoreInfo implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
java.lang.String |
fullName
Full instrument name on the platforms where it's available, null otherwise
|
boolean |
isFullDepth
True if data provided for instrument is full depth data
|
double |
multiplier
Similar to "tick value" in its meaning, with the only difference of being
per price unit instead of per tick (can be computed as tick value divided by
pips ) |
double |
pips
Also known as min tick, tick size or minimal price increment.
|
private static long |
serialVersionUID |
double |
sizeMultiplier
Used when size granularity is less than 1 (for most providers it's always 1,
so you can ignore this field if only those are targeted).
|
exchange, symbol, type
Constructor and Description |
---|
InstrumentInfo(java.lang.String symbol,
java.lang.String exchange,
java.lang.String type,
double pips,
double multiplier,
java.lang.String fullName,
boolean isFullDepth) |
InstrumentInfo(java.lang.String symbol,
java.lang.String exchange,
java.lang.String type,
double pips,
double multiplier,
java.lang.String fullName,
boolean isFullDepth,
double sizeMultiplier) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
private static final long serialVersionUID
public final double pips
public final double multiplier
pips
)
Specifically, this field tells bookmap the following: "how many dollars (or other currency units) will my P&L change if I have position of 1 and price moves 1 dollar (or other price unit) up"
public final java.lang.String fullName
public final boolean isFullDepth
public final double sizeMultiplier
public InstrumentInfo(java.lang.String symbol, java.lang.String exchange, java.lang.String type, double pips, double multiplier, java.lang.String fullName, boolean isFullDepth, double sizeMultiplier)
public InstrumentInfo(java.lang.String symbol, java.lang.String exchange, java.lang.String type, double pips, double multiplier, java.lang.String fullName, boolean isFullDepth)
public java.lang.String toString()
toString
in class InstrumentCoreInfo