Is there anything I can do, to execute some clean-up code when my strategy is *terminated*? Some kind of global finalize?
The problem is I'm using the .NET FileSystemWatcher class, so I can monitor changes to one of my configuration file. If I modify a file, my strategy real-time reloads some parameters, etc.
When I terminate the strategy, I'd like to stop monitoring the configuration file. So far, haven't seen a way of doing that.
Comment