VeighNa Backtesting: Plot Availability and Next-Bar Order Timing
Summary
This forum exchange discusses running a VeighNa or vn.py backtest from PyCharm and viewing its results. The questioner reports that a profit-and-loss analysis table and chart can be displayed after following a forum reference, but asks whether static or dynamic K-line charts are also available. The reply says they are not available in that setup, without describing an alternative plotting method.
The discussion also addresses when orders submitted from a bar callback execute. The respondent says that executing on the current bar in the manner of a cheat-on-close feature is unsupported because it would introduce look-ahead bias. This is a useful reminder that backtest order timing affects whether a simulation uses information that would have been available at execution time. The exchange is brief and tied to a particular workflow; it offers no detailed implementation steps, version information, or broader comparison of plotting options.
Key ideas
- A PyCharm-based backtest can display a P&L analysis table and chart, according to the questioner.
- The respondent says K-line plotting is unavailable in the described setup.
- The exchange says current-bar execution from the bar callback is unsupported.
- Allowing orders to execute using current-bar information can introduce look-ahead bias.
- The forum does not provide detailed plotting instructions or identify software versions.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.