- ago
I defined two custom finantic.ScoreCard metrics, #ofWins and Composite. After optimization, the #ofWins column is empty (see screenshot) and the Composite column isn't even showing. I restarted WL Build 49, but that didn't help. I'm running finantic.ScoreCard Build 5 and the Shrinking Window optimizer. How do I fix this?

0
806
Solved
13 Replies

Reply

Bookmark

Sort
- ago
#1
Because it is your custom metric there is always a chance that there is a problem in your custom logic.
Therefore it is sometimes hard to tell, where the error comes from.

Some things to check:
* Is there any output in Tools->Log Viewer?
* Do the metrics appear after a Backtest in
Backtest Results->Metric Reports->[Select Formula Scorecard]
* Could you choose some of the other Metrics from Formula Scorecard and see if these show up?

Could you post your formula to allow me to try to reproduce the error.
You might also send a mail to rene dot koch at finantic dot de.
0
- ago
#2
There aren't any red (hard errors) or yellow (soft errors) error reports in the LogViewer. There are a number of blue/black information reports from the Formula Scorecard, but they aren't bad.


Both of my formula metrics show up okay in the Metrics Report.


So I'm gathering this is a WPF problem then with columns of the Tabular view of the Optimizer results. So I need to rebuild the Metrics Columns in Preferences over again. Under what conditions exactly (What WPF windows are open?) should I be doing that with WL Build 49?
0
- ago
#3
I did exactly the same and got the #ofWins metrics ok in Optimization Results:

... so I am a bit clueless here...


0
- ago
#4
So probably here more "silly" questions:

* Does it happen with all of "your" metrics?
* Could you restart with just a very simple one?
0
- ago
#5
Yes, it happens with all my metrics. I "think" it's a problem with how the finantic WPF definition for the Favourite Metrics is setup. I don't think it has anything to do with the main code of the finantic.ScoreCard extension. It's a WPF problem.

That Favourite Metrics pane has several problems. When I originally setup it up, I had many "other WPF windows" open at the same time, which may have confused things as far as getting anyone to reproduce this WPF problem. What I did was delete all the Favourite Metrics, then restart WL. What's weird is that action did not delete them! They reappeared--after deletion--like magic.

Also, the arrow buttons are never highlighted when I highlight a metric in the right column; see screenshot.



So how do I "reset" the Favourite Metrics pane to the original Favorite Metrics pane, and start over? Do I need to uninstall the finantic.ScoreCard extension to do that?

I'm thinking upon re-install, I should close all WPF windows except the Preferences one so the code doesn't get confused between different WPF panes. Does this sound like a plan?
0
- ago
#6
Let's make a clear distinction:
1. There is "Metric Columns". This is a native WL Preferences page and defines the metrics used during optimizations (Optimize, WFO and Evolver)

2. There is "Favourite Metrics". This is part of finantic.ScoreCrads and exclusively defines the metrics visible in the "Favourites" ScoreCard. This is completely unrelated with the original problem of this discussion thread. (Metrics missing in optimization results tabular view)

I have to investigate why "Favourite Metrics" does not work as expected for you...
0
- ago
#7
QUOTE:
So how do I "reset" the Favourite Metrics pane to the original Favorite Metrics pane

Go to File->Open Wealth-Lab User Data Folder

Open the File "Settings.txt" with your favorite text editor.

(Could you post or send the line starting with finantic.ScoreCards.Favourites? I guess there is some hidden magic....)

Delete the line starting with "finantic.ScoreCards.Favourites". Watch out for the correct line breaks because this is a very long line.

If you restart WL now, "Favourite Metrics" should resemble "Metric Columns".
0
- ago
#8
QUOTE:
[In the settings.txt file,] delete the line starting with "finantic.ScoreCards.Favourites".... When you restart WL now, "Favourite Metrics" should resemble "Metric Columns".

Yes, Favourite Metrics resembles the Metric Columns now (see screenshot); however, the #of Wins heading is still present in the Tabular optimization output even though it's missing in the Metric Columns. Is that normal?



I think what you're telling me is the lines within settings.txt are out-of-sync with themselves. So what combination of lines do I need to delete to bring all the settings in-sync with everything? And is this out-of-sync condition going to reoccur again? Is there a way to save all the settings lines atomically (together) so they are always in-sync with themselves?

UPDATE: I tried adding my Composite metric, but it doesn't show up in the Tabular columns for the optimization, although it is listed in the Metrics Report for the Formula ScoreCard.
0
- ago
#9
There are two (independent) sets of metrics:

1. Preferences->Metric Columns. This is WL's set used in Optimization Results->Tabular and Evolver Results.
In Settings.txt these are stored with the key SelectedMetricNames

2. Preferences->Favourite Metrics. This is part of finantic.ScoreCard and the selected set is used for the Favourite ScoreCard to show you exactly the metrics you are interested in, not more, not less.
In Settings.txt these are stored with the key finantic.ScoreCards.Favourites

To make things more confusing: Initially "Favourite Metrics" shows the same set as "Metric Columns". This is just the "cold startup" setting. From this moment on you can modify both sets completely independently.

0
Best Answer
- ago
#10
Thanks for the clarification. Yes, it's confusing. I was "assuming" it was all connected, but it is separate (but made to look connected). It's an adventure by design.
0
- ago
#11
QUOTE:
It's an adventure by design.

Like the rest of life.... ;)
1
- ago
#12
I have defined two of my own performance indicators (MyScore1, MyScore2). They were created via the Formula ScoreCard editor and are also available (e.g. in the Formula ScoreCard. However, I cannot find any corresponding MyScore1_IN, MyScore1_OS etc. on the Insample/Out of Sample ScoreCard. On the Preferences -> Metric Columns page, I can see the corresponding entries on the left-hand side (but this is also the only place I have found), but I cannot transfer them to the Metric Columns list (see image).



0
- ago
#13
The only Error I've found:

0

Reply

Bookmark

Sort