I have been working on this pipeline for some time now and am ready to start implementing orders with it. This is my first attempt and to my surprise it seems to be buying them correctly. However, the next day it sells all of the securites it bought the day before even though they are still in the context.output and should only sell when they are no longer in context.output.
Any help is much appreciated.
I tried my hardest not to ask for help Dan...... lol