How to calculate brokerage in python API?

I want to know profit or loss on my trade using a program. I want to know the charges as like this I want to make some decisions based on brokage whether to hold the stock or not.
Sign In or Register to comment.