https://api.lbkrs.com/v1/app/risk/opt_replace_order/calculation_factor_query_v2Parameters
opt_counter_idstringqueryRequiredOption contract security ID (counter_id), such as OP/US/AAPL260724C110000
opt_pricestringqueryRequiredOption order price (premium per share) in the trading currency
currencystringqueryRequiredTrading (settlement) currency, such as USD
order_idstringqueryRequiredOriginal order ID
Responses
HTTP 200The request succeeded. The response body contains the result of the “Get Option Replace Order Calculation Factors” operation.codemessagedatadataobjectdata structureAsset account ID
Available funds including margin financing
Available cash in the currency
Maximum buying power
Unfilled initial margin per contract in the buy (long) direction
Unfilled initial margin per contract in the sell (short) direction
Unfilled initial margin per contract calculated for the direction of the original order. When it is returned, use it first: treat it as long_single_option_im_margin if the original order is a buy, or as short_single_option_im_margin if it is a sell