Sample way to use a message to determine when the simulation is completed

@andrewjeffery 

See the files changed, as an example on how to add a message to notify other code when your simulation is completed.  I know this is a hacky solution to the problem, but it should work.  The code should also loop through all of the stocks.  

**Untested**

Good Luck