final RequestBuilder builder = createRequestBuilder();
return builder.toBytes();
}
private RequestBuilder createRequestBuilder() {
final RequestBuilder builder = new ByteArrayRequestBuilder();
checkCalculateImpliedVolatility();
builder.append(OutgoingMessageId.OPTION_IMPLIED_VOLATILITY_SUBSCRIPTION_REQUEST.getId());
builder.append(VERSION);
builder.append(toInternalId(getId()));
appendContract(builder);
builder.append(optionPrice);
builder.append(underlyingPrice);
return builder;
}