GetDataSetName method in Strategy Monitor
Author: MarkStaunton
Creation Date: 6/12/2010 1:45 AM
profile picture

MarkStaunton

#1
I use the community component method to get the dataset name when backtesting a strategy. However, this method returns "Strategy not found" when the code is run from the Strategy monitor.

CODE:
Please log in to see this code.


I am using this method to write the alerts generated from the strategy monitor to a sql database. I know this is a community component so probably not supported however any suggestions would be appreciated. Or better yet- is there a wealthlab method or property (which I may have missed) that will return the dataset name?
profile picture

Eugene

#2
The method doesn't work in Strategy Monitor and there's no native way to return the DataSet name (hopefully, it may change in a future version). Technical note: Any workaround using System.Reflection (GetDataSetName etc.) should not work in Strategy Monitor.
profile picture

MarkStaunton

#3
Thanks
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).