Caplin FXIntegrationAPI Documentation - Version 6.2.0
Message Builder Example - SalesLegFields
package com.caplin.examples.fxapi.generated.motif.fx.rates.QuotePartsDef;
import java.math.BigInteger;
import com.caplin.generated.motif.fx.rates.QuotePartsDef;
public class SalesLegFieldsExample {
public static void main(String[] args) {
QuotePartsDef.SalesLegFields salesLegFields =
QuotePartsDef.SalesLegFields
.newBuilder()
.setDefaultFwdAskMargin(BigDecimal.valueOf(0.000019))
.setDefaultFwdBidMargin("0.000019")
.setTraderAllInAskRate("1.091790")
.setTraderAllInBidRate(BigDecimal.valueOf(1.091790))
.setTraderFwdAskPoints(BigDecimal.valueOf(0.001198))
.setTraderFwdBidPoints(BigDecimal.valueOf(0.001198))
.build();
}
}