public class BlockTrade extends FXTrade
A BlockTrade is a domain object that represents a block trade. These trades are generally executed from a block trading screen that allows trades to be submitted in bulk.
You do not need to construct instances of this class yourself. Instances of
this class are created by the FX Integration API in response to block trade requests
from the client, and passed to your implementation of BlockTradeListenerFactory.createBlockTradeListener(BlockTrade)
.
trade
Modifier and Type | Method and Description |
---|---|
BlockTradeClientCloseSentResponder |
getClientCloseSentResponder()
Returns the responder that can send messages from the ClientCloseSent state
|
BlockTradeExecutableResponder |
getExecutableResponder()
Returns the responder that can send messages from the Executable state
|
BlockTradeExecutedResponder |
getExecutedResponder()
Returns the responder that can send messages from the Submitted state
|
BlockTradeExecuteSentResponder |
getExecutedSentResponder()
Returns the responder that can send messages from the ExecuteSent state
|
List<BlockTradeExecution> |
getInputTrades()
Returns the list of underlying input trades that make up the block trade.
|
List<BlockTradeExecution> |
getNettedTrades()
Returns the list of underlying netted trades that make up the block trade.
|
BlockTradePickedUpResponder |
getPickedUpResponder()
Returns the picked up responder
|
BlockTradeQueuedResponder |
getQueuedResponder()
Returns the queued responder
|
BlockTradeSubmittedResponder |
getSubmittedResponder()
Returns the responder that can send messages from the Submitted state
|
List<BlockTradeExecution> |
getTrades()
Returns the list of underlying
BlockTradeExecution that make up the block trade. |
FXTradingProtocol |
getTradingProtocol()
Returns the
FXTradingProtocol that was used to enter this trade. |
TradingSubProtocol |
getTradingSubProtocol()
Returns the
TradingSubProtocol that was used to enter this trade. |
String |
toString() |
getCurrentState, getField, getRequestID, getTradeChannelSubject, getUsername
public List<BlockTradeExecution> getInputTrades()
BlockTradeExecution
public List<BlockTradeExecution> getNettedTrades()
BlockTradeExecution
public List<BlockTradeExecution> getTrades()
BlockTradeExecution
that make up the block trade.BlockTradeExecution
public BlockTradeSubmittedResponder getSubmittedResponder()
public BlockTradeClientCloseSentResponder getClientCloseSentResponder()
public BlockTradeExecutedResponder getExecutedResponder()
public BlockTradeExecuteSentResponder getExecutedSentResponder()
public BlockTradeExecutableResponder getExecutableResponder()
public BlockTradePickedUpResponder getPickedUpResponder()
public BlockTradeQueuedResponder getQueuedResponder()
public FXTradingProtocol getTradingProtocol()
FXTrade
FXTradingProtocol
that was used to enter this trade.getTradingProtocol
in class FXTrade
FXTradingProtocol
used to enter this trade.public String toString()
toString
in class MotifTrade
public TradingSubProtocol getTradingSubProtocol()
FXTrade
TradingSubProtocol
that was used to enter this trade.
This defaults to TradingSubProtocol.NONE
if no protocol was provided.getTradingSubProtocol
in class FXTrade
TradingSubProtocol
that was use to enter this trade.Copyright © 2015 Caplin Systems.