public class RFSSubmitEvent extends Object
Constructor and Description |
---|
RFSSubmitEvent(PricingSide pricingSide)
Constructs a submit event with the PricingSide
Typically this is
PricingSide.TWO_WAY . |
RFSSubmitEvent(PricingSide pricingSide,
String toboUser)
Constructs a submit event with the PricingSide and toboUser
|
Modifier and Type | Method and Description |
---|---|
PricingSide |
getPricingSide()
Returns the requested pricing side of the trade.
|
String |
getToboUser()
Returns the requested pricing tobouser.
|
public RFSSubmitEvent(PricingSide pricingSide)
PricingSide.TWO_WAY
. Some users may not be
permissioned for this, others may only request a specific side, for these
cases PricingSide will be either PricingSide.BUY
to denote
that only the Ask price be sent, or PricingSide.SELL
to denote
that only the Bid price should be sent.pricingSide
- The pricing side.public RFSSubmitEvent(PricingSide pricingSide, String toboUser)
pricingSide
- toboUser
- public PricingSide getPricingSide()
Returns the requested pricing side of the trade.
PricingSide is derived from the value of the BuySell field. The following lists the possible values of BuySell and what pricing side they are mapped to:
PricingSide.TWO_WAY
, this denotes that both Bid and Ask price should be sent PricingSide.BUY
, this denotes that only ASK price be sentPricingSide.SELL
, this denotes that only BID price be sentIf BuySell field is empty or is not sent, then pricing side defaults to PricingSide.TWO_WAY
.
If the RFSSubmitEvent is for a SWAP, and the pricing side is not PricingSide.TWO_WAY
, then the pricing side
refers to the near leg of the SWAP, and the pricing side of the far leg is the opposite side.
public String getToboUser()
Copyright © 2015 Caplin Systems.