public class SubmitTradeEvent extends Object implements OrderDetailsClientFieldSet, LeggedMessageRoot
A single event acting on a OrderSubmissionTrade.
The event may be client generated and received through the respective TradeListener interface or it may be generated by custom code to be sent to the client.
A OrderSubmissionTradeEvent is created using the OrderSubmissionTrade
it relates to.
A OrderSubmissionTradeEvent typically represents a message received from the client or sent by the server. A
message contains a set of fields and values which can be accessed using the
Message.getField(String)
method.
Constructor and Description |
---|
SubmitTradeEvent(com.caplin.trading.TradeEvent tradeEvent) |
Modifier and Type | Method and Description |
---|---|
com.caplin.trading.TradeEvent |
getBackingEvent() |
Map<String,String> |
getFields()
Gets the fields of this TradeEvent as a Map
|
LegDetailsClientFieldSetChild |
getLegById(int legId)
Deprecated.
|
LegDetailsClientFieldSetChild |
getLegById(String legId)
Deprecated.
|
LegDetailsClientFieldSetChild |
getLegByIndex(int index)
Deprecated.
|
List<LegDetailsClientFieldSetChild> |
getLegs()
Deprecated.
|
List<LegDetailsClientFieldSetChild> |
getLLegs() |
int |
getNumLegs()
Deprecated.
|
String |
getTradingSubProtocol() |
boolean |
isSales() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAccount, getActivationDate, getActivationDateTime, getActivationDisplayTimeZone, getActivationLocation, getActivationTime, getActivationType, getActivationUTCOffset, getAlertEmailAddress1, getAlertEmailAddress10, getAlertEmailAddress2, getAlertEmailAddress3, getAlertEmailAddress4, getAlertEmailAddress5, getAlertEmailAddress6, getAlertEmailAddress7, getAlertEmailAddress8, getAlertEmailAddress9, getAlertPhoneNumber1, getAlertPhoneNumber10, getAlertPhoneNumber2, getAlertPhoneNumber3, getAlertPhoneNumber4, getAlertPhoneNumber5, getAlertPhoneNumber6, getAlertPhoneNumber7, getAlertPhoneNumber8, getAlertPhoneNumber9, getAlertType, getCurrencyPair, getExpirationDate, getExpirationDateTime, getExpirationDisplayTimeZone, getExpirationLocation, getExpirationTime, getExpirationType, getExpirationUTCOffset, getLLegById, getLLegById, getLLegByIndex, getNumLLegs, getStrategyType, getTOBOUser
getId, getIndex
public SubmitTradeEvent(com.caplin.trading.TradeEvent tradeEvent)
public String getTradingSubProtocol()
public com.caplin.trading.TradeEvent getBackingEvent()
TradeEvent
backing this eventpublic List<LegDetailsClientFieldSetChild> getLLegs()
getLLegs
in interface OrderDetailsClientFieldSet
@Deprecated public List<LegDetailsClientFieldSetChild> getLegs()
getLLegs()
@Deprecated public LegDetailsClientFieldSetChild getLegById(int legId)
OrderDetailsClientFieldSet.getLLegById(int)
@Deprecated public LegDetailsClientFieldSetChild getLegById(String legId)
OrderDetailsClientFieldSet.getLLegById(String)
@Deprecated public LegDetailsClientFieldSetChild getLegByIndex(int index)
OrderDetailsClientFieldSet.getLLegByIndex(int)
@Deprecated public int getNumLegs()
OrderDetailsClientFieldSet.getNumLLegs()
public boolean isSales()
Copyright © 2020 Caplin Systems.