Hi @Sree , I went through this API, but my requirement is something like a file or API at the end of the day which provides us all the order ids (of placed orders from an account) and all kinds of brokerage charges for each. Or an API in which we pass the order id and get all the brokerage charges.
@anishchauhan1, We don't have an API like that. It is not possible to give the exact number until the trade process is done. Since there are a lot of variables and factors involved.
Kite Connect only has trading APIs, backoffice APIs aren't part of the Kite Connect. You will have to save the charges from margins API only and then use it.
order_margins api returns different amount of charges for executed orders depending on the time of invocation. It doesn't seem to be considering the average_price passed to the api but seems to be taking current price of the instrument at the time of api call. Is this a known issue?
I went through this API, but my requirement is something like a file or API at the end of the day which provides us all the order ids (of placed orders from an account) and all kinds of brokerage charges for each.
Or an API in which we pass the order id and get all the brokerage charges.
We don't have an API like that. It is not possible to give the exact number until the trade process is done. Since there are a lot of variables and factors involved.
Can we have this information on T+1 day, like brokerage details of the orders we placed yesterday?
Is there an API for the same?
You will have to save the charges from margins API only and then use it.
What type of order is that and what is the transaction type?
Edit: Let us know the order type, product type, instrument name, order type, price/trigger price