Class BlockTradeExecuteEvent
- java.lang.Object
-
- com.caplin.motif.fx.trading.block.event.BlockTradeExecuteEvent
-
public class BlockTradeExecuteEvent extends Object
An event received when the client has submitted a BlockTrade to be executed
-
-
Constructor Summary
Constructors Constructor Description BlockTradeExecuteEvent(String priceId, List<NettedLegExecution> legExecutions)
Instantiates a BlockTradeExecuteEvent
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<NettedLegExecution>
getLegExecutions()
Returns a list of objects that contain the leg execution data.String
getPriceId()
The PriceID of the price that should be executed, which was originally sent with the quote.
-
-
-
Constructor Detail
-
BlockTradeExecuteEvent
public BlockTradeExecuteEvent(String priceId, List<NettedLegExecution> legExecutions)
Instantiates a BlockTradeExecuteEvent- Parameters:
priceId
- the price idlegExecutions
- the list of objects containing the leg number, direction and price of each netted leg.
-
-
Method Detail
-
getLegExecutions
public List<NettedLegExecution> 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
public String 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.
-
-