I am placing orders on index options using python APIs and would like to know how to calculate the total brokerage and tax fees charged at any point in time during the day. How can I do that? Since I can see the Virtual Contract Note from the Kite Web UI, I am thinking that maybe this data can also be accessed using some API to check for the Total cost of transactions.
@arijit101 Also all the formulas are known. You can write your own methods to calculate the charges. I have some post here where I have shared the entire method definition for computing costs. Look it up
If you copy that code as is and call it with the needed parameters, it will return details for the total charges plus indivdual components as well as breakeven just like the online brokerage calculator. You will save on api calls which are rate limited.
Also all the formulas are known. You can write your own methods to calculate the charges.
I have some post here where I have shared the entire method definition for computing costs. Look it up
If you copy that code as is and call it with the needed parameters, it will return details for the total charges plus indivdual components as well as breakeven just like the online brokerage calculator. You will save on api calls which are rate limited.
Btw this is the link to the comment containing the code.
https://kite.trade/forum/discussion/comment/44453/#Comment_44453