Skip to content
All library documents

CTP API Version Compatibility for VeighNa Penetration Testing

Article vn.py community

Summary

This support thread discusses errors during futures penetration testing with VeighNa, including error codes 4097 and 4040 and a missing CTPTEST gateway message. The user asks whether the CTPTEST interface must match the futures broker’s CTP API version and how to update its library files. The replies say to replace the matching DLLs and, if that is insufficient, reinstall the package from its source so it is rebuilt.

The exchange also distinguishes CTPTEST from the standard CTP interface. According to the respondent, standard CTP can support the testing workflow when the server uses CTP API version 6.7.11 or later; using CTPTEST is not interchangeable in the described setup. These are forum responses rather than a complete installation guide, and the thread does not show the final result of applying the advice. Confirm compatibility against the installed gateway and broker environment before relying on it.

Key ideas

  • The reported setup has penetration-test errors and cannot find the CTPTEST gateway.
  • The respondent recommends replacing matching DLL files and reinstalling from source if needed.
  • The thread says standard CTP supports the described testing when the server API is version 6.7.11 or later.
  • The exchange gives troubleshooting guidance but does not document a confirmed installation outcome.

Tags

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