Fixing Empty VeighNa Backtest Data in Jupyter Notebook
Summary
The document describes a local data-loading problem in VeighNa: a Jupyter Notebook backtesting example reports that historical data loading has completed but contains zero records. The proposed fix is to run Jupyter Notebook from the CTA backtesting example directory and place a copy of VeighNa’s database file in that directory.
This is a practical environment and file-location workaround rather than a trading method or analysis. The explanation suggests that the notebook’s working directory affects whether it finds the historical K-line database, and reports that copying the database resolved the issue for the author. It does not explain the underlying path resolution behavior, specify software versions, or establish whether the same fix applies to other setups. Users should treat it as a troubleshooting lead for a matching configuration, not a general guarantee about empty backtest data.
Key ideas
- A VeighNa notebook may report zero historical records when it cannot find the expected database.
- The suggested workaround is to run the notebook from the CTA backtesting example directory.
- Copying the existing K-line database into that directory resolved the reported case.
- The note does not establish whether this path-related fix applies to other installations.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.