Commission

Posted By: monarch

Commission - 03/13/22 20:26

Hello,

I was reading through the manual about setting commission in Asset*.csv and TMF, but unable to come up with a solution for IBKR India commission model. I'm trading option contracts (25 per lot) just like stocks (buy low / sell high). I'd like to set commission per trade at 20 Rupees (INR). When I set 20 in Asset*.csv Zorro calculates the commission per contract ( 25 * 20 = 500).

So in short when I buy a Option Contract at INR 100, the cash I need would be:

100 * 25 (LotAmount) + 20 = 2520.

Assuming I make a profit trading this option and sell the option at 125, that trade would require another 20 INR as commission.

125 * 25 - 20 = INR 3,105

So profit should be = INR 3105 - INR 2520 = INR 585.

In other words, Profit = (125 - 100 ) * 25 - 20 ( comm buy to open trade) - 20 (comm sell to close) = 585.

Any help is greatly appreciated.

Thanks
Posted By: Petra

Re: Commission - 03/14/22 16:10

Options multiply the commission value with the multiplier and when they expire out of the money, only half the commission is deducted.

If the commission is more complex, calculate it by script and set it before you enter the position.
Posted By: monarch

Re: Commission - 03/16/22 09:59

Thanks Petra. I'll try that.
© 2024 lite-C Forums