order-placement-debugging
Installation
SKILL.md
Order Placement Debugging
Systematic approach to fixing strategies that log entry/exit signals but do not place orders, or that hit OpenAlgo smart-order API errors. Use with the order-placement-debugger subagent and debug-mode workflow (hypotheses → instrument → reproduce → analyze → fix → verify).
When to Use
- Strategy logs show
SIGNAL:or[ENTRY]/[EXIT]but "Order ID: N/A" or no order ID - Logs show:
Order API Error: Expecting value: line 1 column 1 (char 0)orTradingUtils - ERROR - HTTP log shows
POST .../smartorder "HTTP/1.1 200 OK"but no order in order book - Adding or fixing
placesmartorder/APIClientin a strategy
OpenAlgo Smart Order API (Reference)
Endpoint
| Correct | Wrong |
|---|---|
POST {host}/api/v1/placesmartorder |
POST {host}/api/v1/smartorder |