- ago
I have an exported strategy. When reading it with File->Open Exported Strategy Files WL9 hangs.
After some research it turned out, that this strategy uses an Advanced Position Sizer that is not yet available for WL9.

I'd suggest that WL9 produces a useful error message in such a case instead of just hanging around...
0
353
13 Replies

Reply

Bookmark

Jump to End
- ago
#1
Help Window
When resizing the help window to make the main text readable, the navigation area is resized to the same width. Not very useful. Please add a resize bar between these two panes.

0
- ago
#2
If an exported Building Block strategy (see Post #1) contains an indicator not yet available in WL9, then the Building Blocks are loaded partially, no error or warning message.

Please create a useful error message in such a case.

0
- ago
#3
We'll take care of these items for the next build.
1
- ago
#4
Start WL9.
Extensions->Indicator Profiler (or any other extension)
Workspaces->Save Workspace As.
Enter a name for the new Workspace: ExtensionExample
(Optional: Restart WL9)
Workspaces->ExtensionExample

... produces this window:



(This is not a new WL9 bug, happened with WL8 also)
0
- ago
#5
Appreciate the report, will get that fixed for Build 14 too.
0
- ago
#6
It's a problem with the Indicator Profiler extension specifically, it's Client Extension doesn't override the GetChildWindow class that is responsible for mapping a Workspace token (in this case "IndicatorProfiler") into a ChildWindow instance and returning it. We'll get that corrected in Indicator Profiler for the next release. We can also handle this gap more gracefully in WL9 itself.

For your own extensions that create ChildWindows, make sure the extension overrides the GetChildWindow method in the WL8ClientExtension class.

How WL9 Client Extensions integrate, including GetChildWindow, is documented here:

https://www.wealth-lab.com/Support/ExtensionApi/WealthLabClientExtension
0
- ago
#7
I do have a GetChildWindow() method in my WL8ClientExtensionBase derived class like so:

CODE:
// get the child window from a workspace token public override ChildWindow? GetChildWindow(string token) { if (token != "System of Systems") return null; return CreateChildWindow(); }


When I do a Workspace->MyWS then this method is callled with an empty token.

UPDATE: This happened with Build 13.

With Build 14 my GetChildWindow() method is never called :(
0
- ago
#8
It’s called for every other extension so I can’t understand why your extension would be the exception. Is your extension even returning a Token in the Token property? Check the WL Log file. Also the signature returns ChildWindow not ChildWindow? so that might be an issue. If you can’t get it working let’s take it to Discord where we can share files.
0
- ago
#9
Ok, I see: The class descending from ChildWindow must set its Token property like so:

CODE:
public partial class ChildWinSystemOfSystems : ChildWindow, INotifyPropertyChanged, IStrategyHost { public override string HelpToken => "SystemOfSystems"; public override string Token => "SystemOfSystems";


Then everything works as expected. Unfortunately this fact is not mentioned in the documentation here: https://www.wealth-lab.com/Support/ExtensionApi/WealthLabClientExtension

And the example there does not do this either. :(

Do I understand this correctly? The workspace infrastructure just opens the extension window in the saved position. All internal state of the extension (for this workspace) must be handeled by the extension itself?

Then, how can I have different "states" for different workspaces?
0
- ago
#10
As explained in the ClientExtension documentation I have this line in my Help file:

CODE:
[Take me there now](action:extension:SystemOfSystems)


When I click it I get a warning in log viewer:

QUOTE:
Unknown Page in ShowViewPage: extension:SystemOfSystems


What is wrong?


0
- ago
#11
The Token and HelpToken properties are defined and documented in the ChildWindow descendant, apologies for the misunderstanding. Your WL8ClientExtension can examine incoming Tokens and create and return the appropriate ChildWindow.
0
- ago
#12
I was interested to see how SQN is calculated, so I asked the builtin AI in WL->Help:


Remark: Google returns more useful information if asked "How is the System Quality Number (SQN) calculated"

Remark 2: This is just the one-sided t-Statistic (see https://en.wikipedia.org/wiki/Student's_t-test) of trade oucomes (measured in R units). Funny how Mr. Tharp makes himself a name by renaming good old concepts...)
1
- ago
#13
Thanks for the heads-up, DrKoch! The AI Help Assistant service experienced a temporary outage, but it's back up and running now.

One thing to keep in mind is that we don't update the Copilot's RAG knowledge base with every WealthLab build, so it doesn't yet have specific documentation about the recently added SQN metric.

However, it can still draw on its general knowledge to answer questions like this. I just tried asking about SQN again, and it gave a pretty good explanation, as you can see in the attached screenshot.

We'll incorporate the newer WL9 features into the knowledge base in a future update.

0

Reply

Bookmark

Jump to Top