Modeling short equity positions is hard
retained text
First, you have the issues that every trade has: slippage, commission, and margin. Then, you add: SSR rules, locate modeling, and borrow fees. You also have to model settlement dates. Quiz time: you open a short position on a Thursday at close of market. You close the position the next day, Friday, at market open. How many days of borrow fees do you pay? Which borrow fees do you pay? The answer is 3. That's because a Thursday trade settles on Friday and a Friday trade settles on Monday and they charge for the weekend. And the borrow rate (at least for IBKR) is the post-Friday-close rate (times 3). I'm having to actually make trades so I can empirically determine what the hell is going on so I can feed it back into my backtesting engine.
document fetched 2026-09-08 00:42 · canonical https://reddit.com/r/algotrading/comments/1w9yp8g/modeling_short_equity_positions_is_hard