public class ESPTradeConfirmationEvent extends ResponderEvent<ESPTrade>
An event sent to notify the client that the trade has been executed
fields
Constructor and Description |
---|
ESPTradeConfirmationEvent(String tradeID,
String spotRate,
String allInRate,
String fwdPips,
String contraAmount,
String tradeDateTime)
Constructs an ESPTradeConfirmationEvent
|
Modifier and Type | Method and Description |
---|---|
void |
setFixingDate(String fixingDate)
The fixing date if the trade confirmation is for a non deliverable
forward
|
addField, addFields, addTransparentFields, equals, getEventName, getField, getFields, hashCode, toString
public ESPTradeConfirmationEvent(String tradeID, String spotRate, String allInRate, String fwdPips, String contraAmount, String tradeDateTime) throws DateTimeFormatException
tradeID
- The id of the trade executed, typically obtained from a backend systemspotRate
- The spot rate of the trade executedallInRate
- The all in rate of the trade executedfwdPips
- The FORWARD pips of the trade executed if, if this was a forward tradecontraAmount
- The amount executed in the term currencytradeDateTime
- The time at which the trade was executedDateTimeFormatException
- if there was a problem parsing the tradeDateTimepublic void setFixingDate(String fixingDate) throws DateTimeFormatException
fixingDate
- The fixing date as yyyyMMddDateTimeFormatException
- if the date provided isn't formatted as yyyyMMddCopyright © 2015 Caplin Systems.