Skip to content
All library documents

Adding Custom Strategies to VeighNa’s CTP Backtesting Module

Article vn.py community

Summary

A VeighNa community discussion addresses why a custom strategy does not appear in the CTP backtesting module’s strategy selector. The reply advises placing a strategies folder in the application’s startup directory, which is usually the user directory, and ensuring the custom strategy class name does not duplicate the name of a built-in example strategy.

The exchange is a brief troubleshooting tip rather than a full setup guide. It does not describe strategy implementation, registration steps, restart requirements, or how to diagnose other discovery problems. The suggestion is specific to the reported VeighNa setup and may not cover every version or configuration.

Key ideas

  • Custom strategies should be placed in a strategies folder under the startup directory.
  • The startup directory is usually the user directory.
  • A custom strategy class should have a name distinct from the built-in example classes.
  • The discussion provides no further diagnostics or version-specific setup details.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.