
In the above you can see a number of trades my software wanted to place did not go through or were not the desired size, this is a result of the growth in number of positions in the portfolio (see below).

If you are wondering why all these positions had such small size and also why most were closed 8 min before the close. The reason is because I did not have the margin to buy/short the full position. So the software went to the default size, which is small and only the cheap stocks actually went through. Then when the close came around these positions were forced to exit via a margin call of some sort. Another problem I have not talked about yet which has become increasingly important and is now crucial is the max number of tickers IB will let me get ticks on at once in the olympiad. So my software will try and buy stock, buy a stock but it won't be able to get the market price and hence goes to the default size. This clearly needs some work.
Closing Liquidation: $112,287 <--Closing in on 10th! (as of last week...)
1 comment:
"So my software will try and buy stock, buy a stock but it won't be able to get the market price and hence goes to the default size. This clearly needs some work."
Perhaps "No New Positions" would be a good trading strategy once the account buying power is reduced to a certain level. That would help prevent marginal trades with small positions.
That could be tested for within the programming, or set as a manual switch on the GUI, and the programming could test the switch status before continuing the sub.
Post a Comment