Class BlockTradeExecuteEvent
java.lang.Object
com.caplin.motif.fx.trading.block.event.BlockTradeExecuteEvent
An event received when the client has submitted a BlockTrade to be executed
-
Constructor Summary
ConstructorDescriptionBlockTradeExecuteEvent
(String priceId, List<NettedLegExecution> legExecutions) Instantiates a BlockTradeExecuteEvent -
Method Summary
Modifier and TypeMethodDescriptionReturns a list of objects that contain the leg execution data.The PriceID of the price that should be executed, which was originally sent with the quote.
-
Constructor Details
-
BlockTradeExecuteEvent
Instantiates a BlockTradeExecuteEvent- Parameters:
priceId
- the price idlegExecutions
- the list of objects containing the leg number, direction and price of each netted leg.
-
-
Method Details
-
getLegExecutions
Returns a list of objects that contain the leg execution data. Each object contains the number of the netted leg - that can be used to id it, the direction, and the price. -
getPriceId
The PriceID of the price that should be executed, which was originally sent with the quote.- Returns:
- the price id that the trade should be executed with.
-