Caplin FXIntegrationAPI Documentation - Version 6.2.0

Message Builder Example - SalesSwapQuoteFields

package com.caplin.examples.fxapi.generated.motif.fx.rates.QuotePartsDef; 

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("0.000040")
			.setTraderSwapAskPoints("0.004894")
			.setTraderSwapBidPoints("0.004211")
			.build();
            
    }
}