}
final double callAmount = NOTIONAL * fxRate;
final Expiry expiry = new Expiry(settlementDate, ExpiryAccuracy.DAY_MONTH_YEAR);
final String dateString = settlementDate.toString(DATE_FORMATTER);
final NonDeliverableFXOptionSecurity optionSecurity = new NonDeliverableFXOptionSecurity(putCurrency, callCurrency, putAmount, callAmount, expiry, settlementDate,
getRandom(BOOLEAN_VALUES), new EuropeanExerciseType(), getRandom(BOOLEAN_VALUES));
final String callAmountString = NOTIONAL_FORMATTER.format(callAmount);
final String putAmountString = NOTIONAL_FORMATTER.format(putAmount);
optionSecurity.setName((bundle._long ? "Long " : "Short ") + "put " + putCurrency + " " + putAmountString + ", call " + callCurrency + " " + callAmountString + " on " + dateString);
return optionSecurity;
}