Hi everyone. I am testing out a systematic, cash-neutral, long/short strategy in a paper trading account with Interactive Brokers. Each day, an algorithm tells me what my target portfolio should look like in terms of relative position sizes. So, I multiply these target percent positions by 97% of my account value to yield target dollars amounts. I then divide these dollar amounts by the last close in order to get the target number of shares, take a difference between my currently held positions and these target positions (in shares), and send the corresponding orders to the broker. The problem is that I constantly run out of Excess Liquidity when I try to place these orders (i.e. I exceed my maintenance margin). This happens even though my account value generally does not move by more than 0.5% in a day (it is a diversified, cash neutral portfolio). Do I hit the margin limit because the short half of my portfolio grows faster when I place these orders (i.e. the short sells go through before the long buys), and the maintenance margin increases? If so what would be the way to counteract it? Should I wait for the buy orders to go through before placing the sell orders? Or should I try keeping more cash in reserve, i.e. target positions to 90% of account value instead of 95-97%? Or am I completely off base and the problem is elsewhere? Any advice is appreciated. Thanks!
Last edited: