Caplin FXIntegrationAPI Documentation - Version 8.9.0
Message Builder Example - SalesSwapQuoteFields
package com.caplin.examples.fxapi.generated.motif.fx.rates.QuotePartsDef;
import java.math.BigInteger;
import com.caplin.generated.motif.fx.rates.QuotePartsDef;
public class SalesSwapQuoteFieldsExample {
public static void main(String[] args) {
QuotePartsDef.SalesSwapQuoteFields salesSwapQuoteFields =
QuotePartsDef.SalesSwapQuoteFields
.newBuilder()
.setDefaultSwapAskMargin("0.000040")
.setDefaultSwapBidMargin(BigDecimal.valueOf(0.000040))
.setTraderSwapAskPoints("0.004894")
.setTraderSwapBidPoints("0.004211")
.build();
}
}