StrategyName does not work in optimization
Author: dansmo
Creation Date: 5/27/2010 3:01 AM
profile picture

dansmo

#1
Hi,

I am using the following piece of code to export performance stats to .csv file:

CODE:
Please log in to see this code.


When I have a single run with this script the .csv file is correctly created with its StratgeName in the specified folder.
However, when I run this in an optimization the name of the file no longer contains the StrategName but is just .csv instead of StrategName.csv.

Can you replicate this?
dansmo
profile picture

Eugene

#2
Hi,

Yes, this can easily be reproduced. Thank you for the heads-up. A ticket would be appreciated.
profile picture

dansmo

#3
Hi Eugene,

can you confirm that StrategName is not available to Visualizers?
profile picture

Eugene

#4
StrategyName is a function of the WealthScript namespace. With visualizers, you implement different interfaces:

Wealth-Lab Version 6 (.NET) Development Guide > Performance Visualizers.
profile picture

dansmo

#5
Well, SystemPerformance performance could hold the StrategyName. Can you put that on a wish list?
profile picture

Eugene

#6
Sounds like a reasonable enhancement.
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).