Skip to content
All library documents

Why CTP Order Updates Can Show Duplicate Submission States

Article vn.py community

Summary

This forum exchange explains why a VeighNa user may receive two order callbacks that both appear as “submitting” and share an order number, even though their timestamps differ. The reply attributes this to distinct status updates from the underlying CTP interface being mapped to the same framework status. The apparent duplicate therefore need not mean that two orders were sent.

The discussion is brief and offers no code, logs, or independent verification. It points readers to the gateway’s order-status mapping for implementation details, but does not explain callback ordering, delivery guarantees, or how behavior differs between simulated and live trading. It is a narrow operational note about interpreting order events, not a trading strategy.

Key ideas

  • Different CTP status updates can map to the same VeighNa order status.
  • Two callbacks with the same order number do not by themselves prove that two orders were submitted.
  • The exchange gives no detailed evidence about callback sequencing or live-versus-simulated behavior.

Tags

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