Currently, if you press key F5 then a backtest is run. It would be nice if there was a keyboard shortcut to load the latest data and then run the backtest. That way you don't have to go down to the lower left corner of the strategy's window and hit the "N symbols loaded" to force data to update on the strategy run.
Rename
For me, F5 already does it automatically. When I switch outdated DataSets in "Select backtest DataSet", WL determines that, "Need to load data" flashes and data is getting requested prior to the backtesting run. Is your experience different?
It's "to load the latest data and then run".
Example:
You're testing with 5-minute data in the Strategy Window and more than 5 minutes have passed since the last run.
In this specific scenario you could drag your strategy into a chart window and just click the lighting button... but F5 just drops down the symbol chooser - the keyboard shortcut doesn't work here.
Example:
You're testing with 5-minute data in the Strategy Window and more than 5 minutes have passed since the last run.
In this specific scenario you could drag your strategy into a chart window and just click the lighting button... but F5 just drops down the symbol chooser - the keyboard shortcut doesn't work here.
Thanks for the speedy response. I understand the points that have been made. My use case is probably an edge case. In my case, my strategies are in C# and primarily intra-day. I use an external editor (JetBrains Rider) to write my strategies. So, say I make a change to the code, and I want to see the results with the latest data. I can pop on over to the WealthLab window, hit the lower left corner to load the latest and then hit F5 to run. It would be nice if I could hit say Shift+F5 (or whatever) to load the latest data and then run.
As of now, I use AutoHotKey to save my changes in the editor, set the focus to WealthLab, have it hit F5 to get results, then set the focus back to the editor (call me lazy :). But, then its not using any new bars that came along in the meantime during coding. It is possible using AutoHotKey to move the mouse the lower left corner of the strategy window and have click the appropriate area. But, I don't want the mouse to move and then have to move it back to the editor. I could use a Workspace to keep the window sizes and placements fixed to get around the mouse movement issues with a fixed xy point to click.
Granted, this workflow (always using the latest data when in a coding and backtesting cycle) may be bad practice.
Maybe this is the laziest feature request ever made. I understand that. But, if it has interest then perhaps it gets enough votes to get implemented. If its "not going to happen" then I get it.
As of now, I use AutoHotKey to save my changes in the editor, set the focus to WealthLab, have it hit F5 to get results, then set the focus back to the editor (call me lazy :). But, then its not using any new bars that came along in the meantime during coding. It is possible using AutoHotKey to move the mouse the lower left corner of the strategy window and have click the appropriate area. But, I don't want the mouse to move and then have to move it back to the editor. I could use a Workspace to keep the window sizes and placements fixed to get around the mouse movement issues with a fixed xy point to click.
Granted, this workflow (always using the latest data when in a coding and backtesting cycle) may be bad practice.
Maybe this is the laziest feature request ever made. I understand that. But, if it has interest then perhaps it gets enough votes to get implemented. If its "not going to happen" then I get it.
Your Response
Post
Edit Post
Login is required