Hello everyone,
I am trying to make a sector rotation algorithm (attached) but when the amount invested is too big (10,000,000$) then the orders are to big to be filled in one day. My algorithm seems to close these orders at the end of the day, but I want to buy until the target is reached. Anyone can help please?