To run the first example, follow these steps in order:
Extract the ZIP file into the folder of your choice.
Open the extracted folder in Windows File Explorer.
Hold Shift, right-click an empty area inside the folder, then choose the option that opens a terminal in that folder, such as Open in Terminal or Open PowerShell window here, depending on your Windows version.
In the terminal window that opens, type or copy and paste the following command, then press Enter:
.\whale-e.exe .\examples\simple-crossover.toml
On the first run, Whale‑E first downloads the required historical prices, then executes 3,528 backtests before printing the results in the terminal.
Once the backtests are complete, Whale‑E prints the objective ranking. Copy the code shown on the Result 1 line, or on any other ranked result you want to export, for example G1C2196. Then replace G1C2196 in the command below with that value to export the corresponding combination as Pine Script. The generated .pine file will match that combination exactly.
These commands download the Linux Docker bundle and start an Ubuntu 24.04-based container. The Whale‑E executable is included in the container and updates itself automatically when needed.
Loading...
For a quick test, once the container shell is open, run the following command to start the first example:
On the first run, Whale‑E first downloads the required historical prices, then executes 3,528 backtests before printing the results in the terminal.
Once the backtests are complete, Whale‑E prints the objective ranking. Copy the code shown on the Result 1 line, or on any other ranked result you want to export, for example G1C2196. Then replace G1C2196 in the command below with that value to export the corresponding combination as Pine Script. The generated .pine file will match that combination exactly.