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