Class PostTradeAllocation
java.lang.Object
com.caplin.motif.fx.trading.allocation.PostTradeAllocation
Represents a single allocation within a Post Allocation request.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the account that the amount should be allocated to.The amount that should be added or removed from the account.Returns whether or not this is a buy or a sell.Returns the leg for swap allocation (this value is optional and can be null).
-
Constructor Details
-
PostTradeAllocation
-
-
Method Details
-
getAccount
Returns the account that the amount should be allocated to.- Returns:
- The account.
-
getBuySell
Returns whether or not this is a buy or a sell.This implies whether or not the amount will be removed from the account or added to the account.
- Returns:
- either buy or sell.
-
getAmount
The amount that should be added or removed from the account.- Returns:
- The amount.
-
getSwapLeg
Returns the leg for swap allocation (this value is optional and can be null).- Returns:
- allocation swap leg
-