public class PrecisionFactory
extends java.lang.Object
Constructor and Description |
---|
PrecisionFactory(com.caplin.ret.trapi.admin.AdminService adminService,
InstrumentProvider instrumentProvider) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDigitsBeforePips(java.lang.String username,
com.caplin.ret.trapi.fx.execution.LegQuote legQuote,
com.caplin.ret.trapi.fx.execution.QuoteEvent quote)
Get the RatePrecision from the Spot rate
|
java.lang.String |
getNumberOfFractionalPips(java.lang.String username,
com.caplin.ret.trapi.fx.execution.LegQuote legQuote,
com.caplin.ret.trapi.fx.execution.QuoteEvent quote)
Get the RatePrecision from the Spot rate
|
java.lang.String |
getNumberOfFractionalPoints(java.lang.String username,
com.caplin.ret.trapi.fx.execution.LegQuote legQuote,
com.caplin.ret.trapi.fx.execution.QuoteEvent quote)
Get the fractional points from the Spot rate if Tenor is SPOT or allInRate otherwise
|
java.lang.String |
getNumberOfPips(java.lang.String username,
com.caplin.ret.trapi.fx.execution.LegQuote legQuote,
com.caplin.ret.trapi.fx.execution.QuoteEvent quote)
Get the RatePrecision from the Spot rate
|
public PrecisionFactory(com.caplin.ret.trapi.admin.AdminService adminService, InstrumentProvider instrumentProvider)
public java.lang.String getDigitsBeforePips(java.lang.String username, com.caplin.ret.trapi.fx.execution.LegQuote legQuote, com.caplin.ret.trapi.fx.execution.QuoteEvent quote)
public java.lang.String getNumberOfPips(java.lang.String username, com.caplin.ret.trapi.fx.execution.LegQuote legQuote, com.caplin.ret.trapi.fx.execution.QuoteEvent quote)
public java.lang.String getNumberOfFractionalPips(java.lang.String username, com.caplin.ret.trapi.fx.execution.LegQuote legQuote, com.caplin.ret.trapi.fx.execution.QuoteEvent quote)
public java.lang.String getNumberOfFractionalPoints(java.lang.String username, com.caplin.ret.trapi.fx.execution.LegQuote legQuote, com.caplin.ret.trapi.fx.execution.QuoteEvent quote)
Copyright © 2019 Caplin Systems.