I need to read the Dataset name in my strategy. While it is working when run manually, it does not show up when running from Strategy Monitor. Instead of my Dataset name like "S&P-500" I get "Strategy not found". If I remember right, I was even advided once by WL staff to use the function to get the name for usage in Strategy Monitor.
CODE:
Please log in to see this code.