|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.fxcm.fix.pretrade.MarketDataSnapshot
com.fxcm.fix.entity.MarketDataSnapshot
public class MarketDataSnapshot
| Field Summary |
|---|
| Fields inherited from class com.fxcm.fix.pretrade.MarketDataSnapshot |
|---|
OBJ_TYPE |
| Constructor Summary | |
|---|---|
MarketDataSnapshot()
|
|
MarketDataSnapshot(MarketDataSnapshot aMarketDataSnapshot)
|
|
| Method Summary | |
|---|---|
boolean |
fill(IMessage aMsg)
Recreates object state from given message. |
String |
getAskCurrency()
Returns dealt currency, when field empty dealt currency is a left currency of quote symbol |
double |
getAskEntrySize()
Returns quote liquidity, impressed in dealt currency, when field is missed any order quantity possible |
UTCDate |
getAskExpireDate()
Returns quote expiration date |
UTCTimeOnly |
getAskExpireTime()
Returns quote expiration time |
String |
getAskId()
Returns ask quote id |
String |
getAskOriginator()
Returns name of quote source |
String |
getAskQuoteCondition()
Returns quote condition, Possible values: A active B closed |
int |
getAskQuoteType()
Returns quote Type. |
String |
getBidCurrency()
Returns dealt currency, when field empty dealt currency is a left currency of quote symbol |
double |
getBidEntrySize()
Returns quote liquidity, impressed in dealt currency, when field is missed any order quantity possible |
UTCDate |
getBidExpireDate()
Returns quote expiration date |
UTCTimeOnly |
getBidExpireTime()
Returns quote expiration time |
String |
getBidId()
Returns bid quote id |
String |
getBidOriginator()
Returns name of quote source |
String |
getBidQuoteCondition()
Returns quote condition, Possible values: A active B closed |
int |
getBidQuoteType()
Returns quote Type. |
Date |
getCreationTime()
Obtains entity creation time. |
String |
getDesc()
Obtains entity description. |
Date |
getModificationTime()
Obtains entity modification time. |
String |
getName()
Obtains entity name. |
com.fxcm.entity.IPK |
getPK()
Obtains entity Primary key. |
com.fxcm.entity.IStatus |
getStatus()
Obtains entity status. |
int |
getTickVolume()
|
boolean |
isDeleted()
Determines whether object is deleted. |
boolean |
isNew()
Determines whether object is new. |
long |
lastTouch()
Return the time when the entity was last updated from db |
void |
printState(PrintStream aOut)
Deprecated. printState is no longer supported. Use toString instead. |
void |
reset()
Reset object state to default values. |
void |
setAskClose(double aAskClose)
Updates closing ask price. |
void |
setAskCurrency(String aAskCurrency)
Sets dealt currency, when field empty dealt currency is a left currency of quote symbol |
void |
setAskEntrySize(double aAskEntrySize)
Sets quote liquidity, impressed in dealt currency, when field is missed any order quantity possible |
void |
setAskExpireDate(UTCDate aAskExpireDate)
Sets quote expiration date |
void |
setAskExpireTime(UTCTimeOnly aAskExpireTime)
Sets quote expiration time |
void |
setAskHigh(double aAskHigh)
Updates high ask price. |
void |
setAskId(String aAskId)
Sets ask quote id |
void |
setAskLow(double aAskLow)
Updates low ask price. |
void |
setAskOpen(double aAskOpen)
Updates opening ask price. |
void |
setAskOriginator(String aAskOriginator)
Sets name of quote source |
void |
setAskQuoteCondition(String aAskQuoteCondition)
Sets quote condition, Possible values: A active B closed |
void |
setAskQuoteType(int aAskQuoteType)
Sets quote Type. |
void |
setBidClose(double aBidClose)
Updates closing bid price. |
void |
setBidCurrency(String aBidCurrency)
Sets dealt currency, when field empty dealt currency is a left currency of quote symbol |
void |
setBidEntrySize(double aBidEntrySize)
Sets quote liquidity, impressed in dealt currency, when field is missed any order quantity possible |
void |
setBidExpireDate(UTCDate aBidExpireDate)
Sets quote expiration date |
void |
setBidExpireTime(UTCTimeOnly aBidExpireTime)
Sets quote expiration time |
void |
setBidHigh(double aBidHigh)
Updates high bid price. |
void |
setBidId(String aBidId)
Sets bid quote id |
void |
setBidLow(double aBidLow)
Updates low bid price. |
void |
setBidOpen(double aBidOpen)
Updates opening bid price. |
void |
setBidOriginator(String aBidOriginator)
Sets name of quote source |
void |
setBidQuoteCondition(String aBidQuoteCondition)
Sets quote condition, Possible values: A active B closed |
void |
setBidQuoteType(int aBidQuoteType)
Sets quote Type. |
void |
setCreationTime(Date aTime)
Updates Entity creation time. |
void |
setDate(UTCDate aDate)
Updates snapshot date. |
void |
setDeleted()
Sets entity status as deleted. |
void |
setDesc(String aDesc)
Updates Entity description. |
void |
setFXCMTimingInterval(IFXCMTimingInterval aInterval)
Updates candle timing interval. |
void |
setHigh(double aHigh)
Updates trading session high price. |
void |
setInstrument(Instrument aInstrument)
Updates snapshot currency. |
void |
setLow(double aLow)
Updates trading session low price. |
void |
setModificationTime(Date aTime)
Updates Entity modification time. |
void |
setName(String aName)
Updates Entity name. |
void |
setNew()
Sets entity status as new. |
void |
setPK(com.fxcm.entity.IPK aPk)
Updates Entity Primary Key. |
void |
setStatus(com.fxcm.entity.IStatus aStatus)
Updates Entity status. |
void |
setTickVolume(int aTickVolume)
Update period tick volume. |
void |
setTime(UTCTimeOnly aTime)
Updates snapshot time. |
void |
setTradingSessionID(String aTradingSessionID)
Updates Trading Session ID. |
void |
setTradingSessionSubID(String aTradingSessionSubID)
Updates Trading Session sub ID. |
IMessage |
toMessage(String aSID,
IMessageFactory aFactory)
Converts object to message. |
IMessage |
toMessage(String aSID,
String aTradingSessionID,
String aTradingSessionSubID,
String aRequestID,
int aMDEntryTypeSet,
IMessageFactory aFactory)
Converts object to IMessage. |
String |
toString()
|
void |
touch()
Sets the time when the entity was last updated from db. |
| Methods inherited from class com.fxcm.fix.pretrade.MarketDataSnapshot |
|---|
equals, getAskClose, getAskHigh, getAskLow, getAskOpen, getBidClose, getBidHigh, getBidLow, getBidOpen, getCloseTimestamp, getDate, getFXCMContinuousFlag, getFXCMMsgID, getFXCMTimingInterval, getHigh, getInstrument, getLow, getMakingTime, getMDReqID, getOpenTimestamp, getOpenTimestampRef, getOriginator, getPriceStream, getQuoteID, getRequestID, getTickTime, getTime, getTradingSessionID, getTradingSessionSubID, getType, hashCode, isComplete, isTradeable, isValid, setComplete, setFXCMContinuousFlag, setFXCMMsgID, setMDReqID, setOpenTimestamp, setOriginator, setPriceStream, setQuoteID, setTradeable, update |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.fxcm.entity.IEntity |
|---|
getType, isValid |
| Constructor Detail |
|---|
public MarketDataSnapshot()
public MarketDataSnapshot(MarketDataSnapshot aMarketDataSnapshot)
| Method Detail |
|---|
public long lastTouch()
lastTouch in interface com.fxcm.entity.IEntitypublic void touch()
touch in interface com.fxcm.entity.IEntitypublic void setTradingSessionID(String aTradingSessionID)
MarketDataSnapshot
setTradingSessionID in class MarketDataSnapshotpublic void setTradingSessionSubID(String aTradingSessionSubID)
MarketDataSnapshot
setTradingSessionSubID in class MarketDataSnapshotpublic void setInstrument(Instrument aInstrument)
MarketDataSnapshot
setInstrument in class MarketDataSnapshotpublic void setTime(UTCTimeOnly aTime)
MarketDataSnapshot"00:00:00" by default.
setTime in class MarketDataSnapshotaTime - UTC timepublic void setDate(UTCDate aDate)
MarketDataSnapshot
setDate in class MarketDataSnapshotaDate - UTC datepublic void setFXCMTimingInterval(IFXCMTimingInterval aInterval)
MarketDataSnapshot
setFXCMTimingInterval in class MarketDataSnapshotaInterval - candle timing intervalpublic void setAskLow(double aAskLow)
0.00 by default.
setAskLow in class MarketDataSnapshotaAskLow - AskLowpublic void setAskHigh(double aAskHigh)
0.00 by default.
setAskHigh in class MarketDataSnapshotaAskHigh - high ask pricepublic void setAskOpen(double aAskOpen)
0.00 by default.
setAskOpen in class MarketDataSnapshotaAskOpen - opening ask pricepublic void setAskClose(double aAskClose)
0.00 by default.
setAskClose in class MarketDataSnapshotaAskClose - closing ask pricepublic void setLow(double aLow)
0.00 by default.
setLow in class MarketDataSnapshotaLow - low pricepublic void setHigh(double aHigh)
0.00 by default.
setHigh in class MarketDataSnapshotaHigh - high pricepublic void setBidLow(double aBidLow)
0.00 by default.
setBidLow in class MarketDataSnapshotaBidLow - low bid pricepublic void setBidHigh(double aBidHigh)
0.00 by default.
setBidHigh in class MarketDataSnapshotaBidHigh - high bid pricepublic void setBidOpen(double aBidOpen)
0.00 by default.
setBidOpen in class MarketDataSnapshotaBidOpen - opening bid pricepublic void setBidClose(double aBidClose)
0.00 by default.
setBidClose in class MarketDataSnapshotaBidClose - closing bid price
public IMessage toMessage(String aSID,
IMessageFactory aFactory)
toMessage in interface ITransportabletoMessage in class MarketDataSnapshotaSID - User session IDaFactory - message factory to create message objects
null in case of errors
public IMessage toMessage(String aSID,
String aTradingSessionID,
String aTradingSessionSubID,
String aRequestID,
int aMDEntryTypeSet,
IMessageFactory aFactory)
toMessage in interface ITransportabletoMessage in class MarketDataSnapshotaSID - user session IDaTradingSessionID - Trading Session ID, to alternate a value from object stateaTradingSessionSubID - Trading Session Sub ID, to alternate a value from object stateaRequestID - Request ID, to alternate a value from object stateaFactory - message factory that is in use to processaMDEntryTypeSet - Set of options for message creation, reserved
null if creation failspublic void reset()
reset in class MarketDataSnapshotpublic boolean fill(IMessage aMsg)
fill in interface ITransportablefill in class MarketDataSnapshotaMsg - orignal message to fill out object state
true when valid object state is generated and false in case of errorspublic Date getCreationTime()
getCreationTime in interface com.fxcm.entity.IEntitypublic String getDesc()
getDesc in interface com.fxcm.entity.IEntitypublic Date getModificationTime()
getModificationTime in interface com.fxcm.entity.IEntitypublic String getName()
getName in interface com.fxcm.entity.IEntitygetName in class MarketDataSnapshotpublic com.fxcm.entity.IPK getPK()
getPK in interface com.fxcm.entity.IEntitypublic com.fxcm.entity.IStatus getStatus()
getStatus in interface com.fxcm.entity.IEntitynullpublic void setCreationTime(Date aTime)
setCreationTime in interface com.fxcm.entity.IEntitypublic void setDesc(String aDesc)
setDesc in interface com.fxcm.entity.IEntitypublic void setModificationTime(Date aTime)
setModificationTime in interface com.fxcm.entity.IEntitypublic void setName(String aName)
setName in interface com.fxcm.entity.IEntitypublic void setPK(com.fxcm.entity.IPK aPk)
setPK in interface com.fxcm.entity.IEntity
public void setStatus(com.fxcm.entity.IStatus aStatus)
throws com.fxcm.GenericException
setStatus in interface com.fxcm.entity.IEntitycom.fxcm.GenericExceptionpublic void printState(PrintStream aOut)
printState in interface com.fxcm.entity.IEntityaOut - stream to print outpublic boolean isNew()
isNew in interface com.fxcm.entity.IEntitytrue alwayspublic void setNew()
setNew in interface com.fxcm.entity.IEntitypublic boolean isDeleted()
isDeleted in interface com.fxcm.entity.IEntityfalse alwayspublic void setDeleted()
setDeleted in interface com.fxcm.entity.IEntitypublic String getBidId()
getBidId in class MarketDataSnapshotpublic void setBidId(String aBidId)
setBidId in class MarketDataSnapshotaBidId - bid quote idpublic String getAskId()
getAskId in class MarketDataSnapshotpublic void setAskId(String aAskId)
setAskId in class MarketDataSnapshotaAskId - ask quote idpublic String getBidQuoteCondition()
getBidQuoteCondition in class MarketDataSnapshotpublic void setBidQuoteCondition(String aBidQuoteCondition)
setBidQuoteCondition in class MarketDataSnapshotaBidQuoteCondition - quote condition, Possible values: A active B closedpublic int getBidQuoteType()
getBidQuoteType in class MarketDataSnapshotpublic void setBidQuoteType(int aBidQuoteType)
setBidQuoteType in class MarketDataSnapshotaBidQuoteType - quote Type. Possible values "0" - Indicative, "1" - Tradeablepublic UTCDate getBidExpireDate()
getBidExpireDate in class MarketDataSnapshotpublic void setBidExpireDate(UTCDate aBidExpireDate)
setBidExpireDate in class MarketDataSnapshotaBidExpireDate - quote expiration datepublic UTCTimeOnly getBidExpireTime()
getBidExpireTime in class MarketDataSnapshotpublic void setBidExpireTime(UTCTimeOnly aBidExpireTime)
setBidExpireTime in class MarketDataSnapshotaBidExpireTime - quote expiration timepublic String getBidOriginator()
getBidOriginator in class MarketDataSnapshotpublic void setBidOriginator(String aBidOriginator)
setBidOriginator in class MarketDataSnapshotaBidOriginator - name of quote sourcepublic String getBidCurrency()
getBidCurrency in class MarketDataSnapshotpublic void setBidCurrency(String aBidCurrency)
setBidCurrency in class MarketDataSnapshotaBidCurrency - dealt currency, when field empty dealt currency is a left currency of quote symbolpublic double getBidEntrySize()
getBidEntrySize in class MarketDataSnapshotpublic void setBidEntrySize(double aBidEntrySize)
setBidEntrySize in class MarketDataSnapshotaBidEntrySize - quote liquidity, impressed in dealt currency, when field is missed any order
quantity possiblepublic String getAskQuoteCondition()
getAskQuoteCondition in class MarketDataSnapshotpublic void setAskQuoteCondition(String aAskQuoteCondition)
setAskQuoteCondition in class MarketDataSnapshotaAskQuoteCondition - quote condition, Possible values: A active B closedpublic int getAskQuoteType()
getAskQuoteType in class MarketDataSnapshotpublic void setAskQuoteType(int aAskQuoteType)
setAskQuoteType in class MarketDataSnapshotaAskQuoteType - quote Type. Possible values "0" - Indicative, "1" - Tradeablepublic UTCDate getAskExpireDate()
getAskExpireDate in class MarketDataSnapshotpublic void setAskExpireDate(UTCDate aAskExpireDate)
setAskExpireDate in class MarketDataSnapshotaAskExpireDate - quote expiration datepublic UTCTimeOnly getAskExpireTime()
getAskExpireTime in class MarketDataSnapshotpublic void setAskExpireTime(UTCTimeOnly aAskExpireTime)
setAskExpireTime in class MarketDataSnapshotaAskExpireTime - quote expiration timepublic String getAskOriginator()
getAskOriginator in class MarketDataSnapshotpublic void setAskOriginator(String aAskOriginator)
setAskOriginator in class MarketDataSnapshotaAskOriginator - name of quote sourcepublic String getAskCurrency()
getAskCurrency in class MarketDataSnapshotpublic void setAskCurrency(String aAskCurrency)
setAskCurrency in class MarketDataSnapshotaAskCurrency - dealt currency, when field empty dealt currency is a left currency of quote symbolpublic double getAskEntrySize()
getAskEntrySize in class MarketDataSnapshotpublic void setAskEntrySize(double aAskEntrySize)
setAskEntrySize in class MarketDataSnapshotaAskEntrySize - quote liquidity, impressed in dealt currency, when field is missed any order
quantity possiblepublic int getTickVolume()
getTickVolume in class MarketDataSnapshotpublic void setTickVolume(int aTickVolume)
MarketDataSnapshot
setTickVolume in class MarketDataSnapshotpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||