Why did you start a different thread with the same name and a slightly different question?

More importantly, why didn't you attempt to do what I said? Please review:
Originally Posted by AndrewAMD
I forgot to mention - you need to eliminate the loop() call. For that, you can load an asset list and use one of the asset loops instead:
https://manual.zorro-project.com/fortrades.htm

Some questions:
1) Why didn't you replace the loop() call? Fix this.
2) Where is your for(listed_assets){asset(Asset); ... ... } loop? Fix this.
3) Why didn't you load an asset list? To do this, you call assetList(); Fix this.

Required reading:
https://zorro-project.com/manual/en/asset.htm (assetList)
https://manual.zorro-project.com/fortrades.htm (for(listed_assets))