Class TraderFields


  • public class TraderFields
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      TraderFields​(com.caplin.motif.fx.trading.BuySell buySell, java.math.BigDecimal rawSpotMargin, java.lang.String spotRate, java.lang.String fwdPoints, java.lang.String allInRate)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static TraderFields createFarTraderFields​(TraderFields nearTraderFields, java.math.BigDecimal farClientFwdPoints, java.math.BigDecimal farClientAllInRate, java.math.BigDecimal farRawFwdMargin)  
      static TraderFields createNearTraderFields​(com.caplin.motif.fx.trading.BuySell nearBuySell, java.math.BigDecimal clientSpotRate, java.math.BigDecimal nearClientFwdPoints, java.math.BigDecimal nearClientAllInRate, java.math.BigDecimal nearRawSpotMargin, java.math.BigDecimal nearRawFwdMargin)  
      java.lang.String getAllInRate()  
      java.lang.String getFwdPoints()  
      java.lang.String getSpotRate()  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TraderFields

        public TraderFields​(com.caplin.motif.fx.trading.BuySell buySell,
                            java.math.BigDecimal rawSpotMargin,
                            java.lang.String spotRate,
                            java.lang.String fwdPoints,
                            java.lang.String allInRate)
    • Method Detail

      • createNearTraderFields

        public static TraderFields createNearTraderFields​(com.caplin.motif.fx.trading.BuySell nearBuySell,
                                                          java.math.BigDecimal clientSpotRate,
                                                          java.math.BigDecimal nearClientFwdPoints,
                                                          java.math.BigDecimal nearClientAllInRate,
                                                          java.math.BigDecimal nearRawSpotMargin,
                                                          java.math.BigDecimal nearRawFwdMargin)
      • createFarTraderFields

        public static TraderFields createFarTraderFields​(TraderFields nearTraderFields,
                                                         java.math.BigDecimal farClientFwdPoints,
                                                         java.math.BigDecimal farClientAllInRate,
                                                         java.math.BigDecimal farRawFwdMargin)
      • getSpotRate

        public java.lang.String getSpotRate()
      • getFwdPoints

        public java.lang.String getFwdPoints()
      • getAllInRate

        public java.lang.String getAllInRate()