final ExternalId underlyingId = createEquitySecurity().getExternalIdBundle().getExternalId(ExternalSchemes.BLOOMBERG_TICKER);
final ExerciseType exerciseType = exerciseType();
final Expiry expiry = expiry();
final double pointValue = 0;
final String exchange = exchange();
final BarrierType barrierType = barrierType();
final BarrierDirection barrierDirection = barrierDirection();
final MonitoringType monitoringType = monitoringType();
final SamplingFrequency samplingFrequency = samplingFrequency();
final double barrierLevel = 0;
final EquityBarrierOptionSecurity security = new EquityBarrierOptionSecurity(optionType, strike, currency, underlyingId, exerciseType, expiry, pointValue, exchange, barrierType,