Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Clearly benchmarking the costs of short selling on Interactive Brokers

Does anyone have any procedures for completely accounting for all the costs of a short in the backtest? I.e., situations where you go into a margin loan, the cost of your leverage, etc. I feel like many users are shorting without the costs meaningfully simulated.

2 responses

Not in a backtest, but I can tell you that the rates posted in IB's SLB tool (in Mosaic) seem to be pretty accurate.

I know that custom slippage models can be developed in Quantopian. What about custom commission/fee/cost models?