Caplin FXIntegrationAPI Documentation - Version 8.5.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(BigDecimal.valueOf(0.000040))
			.setDefaultSwapBidMargin("0.000040")
			.setTraderSwapAskPoints("0.004894")
			.setTraderSwapBidPoints(BigDecimal.valueOf(0.004211))
			.build();
            
    }
}