public class SwapQuote extends Object implements FXQuote
Modifier and Type | Field and Description |
---|---|
protected SwapFields |
swapFields |
Constructor and Description |
---|
SwapQuote(String bidAskQuoteId,
String askBidQuoteId,
SwapLegQuote nearQuote,
SwapLegQuote farQuote,
String swapBidPips,
String swapAskPips)
Constructs a SwapQuote with the specified near and far quotes, and uses
the specified pips as the display swap pips for the quote.
|
SwapQuote(String bidAskQuoteId,
String askBidQuoteId,
SwapLegQuote nearQuote,
SwapLegQuote farQuote,
SwapFields swapFields)
Constructs a SwapQuote with the specified near and far quotes, and uses
the specified pips as the display swap pips for the quote.
|
Modifier and Type | Method and Description |
---|---|
String |
getAskBidQuoteId()
Returns the AskBidQuoteId
|
String |
getBidAskQuoteId()
Returns the BidAskQuoteId
|
LegQuote |
getFarQuote()
Returns the far leg quote
|
LegQuote |
getNearQuote()
Returns the near leg quote
|
Map<String,String> |
getQuoteFields()
Returns the fields that will be sent to the client for a Quote.
|
String |
getQuoteId()
Deprecated.
Scheduled for removal use
getAskBidQuoteId() and getBidAskQuoteId() |
String |
getSwapAskPips()
Deprecated.
use
getSwapFields() |
String |
getSwapBidPips()
Deprecated.
use
getSwapFields() |
SwapFields |
getSwapFields()
Returns the object containing swap data set on swap related fields
|
String |
getSwapRawAskPoints()
Deprecated.
use
getSwapFields() |
String |
getSwapRawBidPoints()
Deprecated.
use
getSwapFields() |
void |
setSwapPoints(String swapBidPoints,
String swapAskPoints)
Deprecated.
Set the swap points in the constructor
|
protected SwapFields swapFields
public SwapQuote(String bidAskQuoteId, String askBidQuoteId, SwapLegQuote nearQuote, SwapLegQuote farQuote, SwapFields swapFields)
bidAskQuoteId
- The ID to be used if the user wants to execute a sell/buy swap, i.e they are selling at
the bid rate on the near leg and buying at the ask rate on the far leg.askBidQuoteId
- The ID to be used if the user wants to execute a buy/sell swap, i.e they are buying at
the ask rate on the near leg and selling at the bid rate on the far leg.nearQuote
- The quote for the near leg.farQuote
- The quote for the far leg.swapFields
- Additional swap fields.public SwapQuote(String bidAskQuoteId, String askBidQuoteId, SwapLegQuote nearQuote, SwapLegQuote farQuote, String swapBidPips, String swapAskPips)
bidAskQuoteId
- The ID to be used if the user wants to execute a sell/buy swap, i.e they are selling at
the bid rate on the near leg and buying at the ask rate on the far leg.askBidQuoteId
- The ID to be used if the user wants to execute a buy/sell swap, i.e they are buying at
the ask rate on the near leg and selling at the bid rate on the far leg.nearQuote
- The quote for the near leg.farQuote
- The quote for the far leg.swapBidPips
- The swap pips for the bid side.swapAskPips
- The swap pips for the far side.@Deprecated public void setSwapPoints(String swapBidPoints, String swapAskPoints)
swapBidPoints
- The swap points, specified as a raw number for the bid side.swapAskPoints
- The swap points, specified as a raw number for the ask side.@Deprecated public String getQuoteId()
getAskBidQuoteId()
and getBidAskQuoteId()
public String getAskBidQuoteId()
public String getBidAskQuoteId()
public LegQuote getNearQuote()
public LegQuote getFarQuote()
public String getSwapBidPips()
getSwapFields()
@Deprecated public String getSwapAskPips()
getSwapFields()
@Deprecated public String getSwapRawBidPoints()
getSwapFields()
@Deprecated public String getSwapRawAskPoints()
getSwapFields()
public SwapFields getSwapFields()
Copyright © 2015 Caplin Systems.