Class TraderFieldsFactory


  • public class TraderFieldsFactory
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      TraderFields createBlockTraderFields​(com.caplin.motif.fx.trading.BuySell tradeBuySell, java.math.BigDecimal clientSpotRate, java.math.BigDecimal nearClientFwdPoints, java.math.BigDecimal nearRawSpotMargin, java.math.BigDecimal nearRawFwdMargin)  
      TraderFields createFarTraderFields​(TraderFields nearTraderFields, java.math.BigDecimal farClientFwdPoints, java.math.BigDecimal farClientAllInRate, java.math.BigDecimal farRawFwdMargin)  
      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)  
      • Methods inherited from class java.lang.Object

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

      • TraderFieldsFactory

        public TraderFieldsFactory()
    • Method Detail

      • createBlockTraderFields

        public TraderFields createBlockTraderFields​(com.caplin.motif.fx.trading.BuySell tradeBuySell,
                                                    java.math.BigDecimal clientSpotRate,
                                                    java.math.BigDecimal nearClientFwdPoints,
                                                    java.math.BigDecimal nearRawSpotMargin,
                                                    java.math.BigDecimal nearRawFwdMargin)
      • createNearTraderFields

        public 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 TraderFields createFarTraderFields​(TraderFields nearTraderFields,
                                                  java.math.BigDecimal farClientFwdPoints,
                                                  java.math.BigDecimal farClientAllInRate,
                                                  java.math.BigDecimal farRawFwdMargin)