Class PostTradeAllocation

java.lang.Object
com.caplin.motif.fx.trading.allocation.PostTradeAllocation

@Deprecated public class PostTradeAllocation extends Object
Deprecated.
Represents a single allocation within a Post Allocation request.
See Also:
  • Constructor Details

  • Method Details

    • getAccount

      public Account getAccount()
      Deprecated.
      Returns the account that the amount should be allocated to.
      Returns:
      The account.
    • getBuySell

      public BuySell getBuySell()
      Deprecated.
      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

      public String getAmount()
      Deprecated.
      The amount that should be added or removed from the account.
      Returns:
      The amount.
    • getSwapLeg

      public LegType getSwapLeg()
      Deprecated.
      Returns the leg for swap allocation (this value is optional and can be null).
      Returns:
      allocation swap leg