Hi Community,

I am trying to save multiple StopMarketOrders, however I cannot figure out how to do so properly.

See the attached example algorithm, lines 40/41 and 45/46. I want to store the StopMarketOrder for each security in somekind of list to access them later on. I want to achieve something like lines 40/45 but this results in an error.

Please, can someone explain how to store multilple StopMarketOrders in an efficient way?

Thanks in advance for your help!