Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Realistic Commission Model For IB

Anyone have a good suggestion of what to set for a standard IB account for commissions?

Thanks for the help

6 responses

Using IB's flat rate, the fee is $0.005 per share. You can set this in the algo initialize function using

set_commission(commission.PerShare(cost=0.005))  

Great, thanks Aidan. I appreciate it.

Also note that IB has a minimum charge of $1.00 per trade (equivalent to transacting 200 shares at the cost above).

The commission.PerShare model in Zipline supports a minimum trade cost parameter, but I'm not sure how often changes in Zipline are integrated with Quantopian's implementation.

Seems to be working now. Try this in the initialization:

set_commission(commission.PerShare(cost=0.005, min_trade_cost=1.00))

What about cost plus pricing model? Also incorporating rebates and venue costs?

iirc quantopian uses the ib fee structure by default? i don't think you need to explictly set it at all.