https://api.lbkrs.com/v4/portfolio/current/estimatedcostParameters
counter_idstringqueryRequiredSecurity ID (counter_id), for example ST/US/AAPL or ST/HK/700
currencystringqueryRequiredTrading (settlement) currency, for example USD or HKD. Use the first item of channel_infos.settlement_currency returned by Get Order Configuration.
pricestringqueryRequiredOrder unit price in the trading currency. For a UK security quoted in GBX and traded in GBP, divide by 100 to convert to GBP first.
qtystringqueryRequiredOrder quantity in shares
dirstringqueryRequiredOrder direction:
0- Buy1- Sell
01
account_channelstringqueryRequiredBroker channel
order_tagintegerqueryOrder tag. Use tag from Get Order Configuration:
1- Regular order2- Long-term order3- Grey market order
123
order_typestringqueryOrder type code, for example LO or MO
position_sidestringqueryPosition side. Pass LONG when the current position is greater than 0 and SHORT when it is less than 0. With no position, pass LONG to buy and SHORT to sell.
LONGSHORT
Responses
HTTP 200The request succeeded. The response body contains the result of the “Estimate Trading Fees” operation.codemessagedatadataobjectdata structureEstimated commission
Estimated third-party charges
Estimated platform fee