public class ESPSubmitEvent extends Object
An ESPSubmitEvent, received when the client has submitted an ESP for execution
Constructor and Description |
---|
ESPSubmitEvent(String price,
BuySell buySell,
String quoteId)
Constructs the ESPSubmitEvent object with the price, side and quote id
that the client wants to execute an ESP trade on.
|
ESPSubmitEvent(String price,
BuySell buySell,
String quoteId,
String toboUser)
Constructs the ESPSubmitEvent object with the price, side and quote id
and toboUser that the client wants to execute an ESP trade on.
|
Modifier and Type | Method and Description |
---|---|
BuySell |
getBuySell()
Returns the BuySell object denoting whether the side of the trade was buy
or sell
|
String |
getPrice()
The price the trade will be executed at.
|
String |
getQuoteId() |
String |
getToboUser()
Returns the requested pricing tobouser.
|
public ESPSubmitEvent(String price, BuySell buySell, String quoteId)
ESPTradeListener.onSubmit(ESPSubmitEvent)
price
- The price the client wants to trade onbuySell
- The side of the tradequoteId
- The id of the quotepublic ESPSubmitEvent(String price, BuySell buySell, String quoteId, String toboUser)
price
- The price the client wants to trade onbuySell
- The side of the tradequoteId
- The id of the quotetoboUser
- The client the trade is on behalf of.public String getPrice()
public String getQuoteId()
public BuySell getBuySell()
public String getToboUser()
Copyright © 2015 Caplin Systems.