public abstract class Forex extends SecurityImpl implements ForexI, BaseEntityI
Modifier and Type | Class and Description |
---|---|
static class |
Forex.Converter
Converts instances of of
Forex to corresponding value objects. |
static class |
Forex.Factory
Constructs new instances of
Forex . |
Constructor and Description |
---|
Forex() |
Modifier and Type | Method and Description |
---|---|
<R,P> R |
accept(EntityVisitor<R,? super P> visitor,
P param) |
ForexVO |
convertToVO()
converts this domain object (entity) to its corresponding value object
|
java.lang.String |
getBaseCurrency()
The Base Currency of this Forex Contract (e.g.
|
abstract boolean |
isCrypto() |
abstract boolean |
isFiat() |
boolean |
isInitialized() |
void |
setBaseCurrency(java.lang.String baseCurrency) |
void |
setInitialized() |
adjustPrice, adjustPrice, equals, getPrice, getPrice, getPriceScale, getQuantityScale, getSpreadTicks, getValue, getValue, hashCode, initializeExchange, roundDown, roundDown, roundUp, roundUp, toString
getAdapterTicker, getBbgid, getCngAdapterTicker, getCngid, getCnpid, getConid, getContractSize, getDescription, getExchange, getId, getIsin, getLmaxid, getMaxGap, getMaxPrice, getMaxQty, getMinNotional, getMinPrice, getMinQty, getPriceIncr, getQtyIncr, getQuandlDatabase, getQuandlDataset, getRic, getSecurityFamily, getSymbol, getTransactionCurrency, getTtid, getUnderlying, getXntid, initializeSecurityFamily, initializeUnderlying, isSynthetic, isTradeable, setAdapterTicker, setBbgid, setCngAdapterTicker, setCngid, setCnpid, setConid, setContractSize, setDescription, setExchange, setId, setIsin, setLmaxid, setMaxGap, setMaxPrice, setMaxQty, setMinNotional, setMinPrice, setMinQty, setPriceIncr, setQtyIncr, setQuandlDatabase, setQuandlDataset, setRic, setSecurityFamily, setSymbol, setSynthetic, setTradeable, setTransactionCurrency, setTtid, setUnderlying, setXntid
addProperty, clearProperties, getBooleanProperty, getDateProperty, getDoubleProperty, getIntProperty, getMoneyProperty, getProperties, getPropertiesCount, getProperty, getProperty, getPropertyNames, getTextProperty, hasProperty, removeProperty, setProperties
getId
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getAdapterTicker, getBbgid, getCngAdapterTicker, getCngid, getCnpid, getConid, getContractSize, getDescription, getId, getIsin, getLmaxid, getMaxGap, getMaxPrice, getMaxQty, getMinNotional, getMinPrice, getMinQty, getPriceIncr, getQtyIncr, getQuandlDatabase, getQuandlDataset, getRic, getSymbol, getTransactionCurrency, getTtid, getXntid, isSynthetic, isTradeable
getId, toString
public boolean isInitialized()
isInitialized
in interface BaseEntityI
isInitialized
in class Security
public void setInitialized()
setInitialized
in class Security
public <R,P> R accept(EntityVisitor<R,? super P> visitor, P param)
accept
in interface BaseEntityI
accept
in class Security
public java.lang.String getBaseCurrency()
getBaseCurrency
in interface ForexI
public void setBaseCurrency(java.lang.String baseCurrency)
public abstract boolean isFiat()
public abstract boolean isCrypto()
public ForexVO convertToVO()
convertToVO
in class Security