Diagnosing CTP Order Rejections Through Gateway Callbacks
Summary
A VeighNa community question concerns orders that appear canceled during CTP penetration testing, while the logs omit the error code. The reply recommends printing the data returned by the gateway's order insertion response and order return callbacks. Inspecting those callback payloads can expose the broker or exchange response details needed to diagnose why an order was rejected or canceled.
The exchange offers a concise troubleshooting pointer rather than a full explanation or worked example. It does not identify a particular error code, describe how to modify logging, or distinguish among possible causes of the canceled status. The advice is specifically about CTP gateway callback data and may need adaptation to the gateway version or logging setup in use.
Key ideas
- CTP order status alone may not reveal the rejection reason.
- Inspect response data from order insertion and order return callbacks for diagnostic details.
- The post does not provide a specific error code or implementation walkthrough.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.