order-placement-debugging
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 |
More from sayujks0071/antidhan
trading-strategy-development
Create and modify trading strategies for OpenAlgo with proper structure, risk management, entry/exit logic, and position management. Use when developing new strategies, modifying existing ones, debugging strategy logic, or implementing trading signals.
12risk-management
Implement and review risk controls, position sizing, portfolio heat limits, stop losses, and risk monitoring. Use when implementing risk management, reviewing risk controls, calculating position sizes, or analyzing portfolio risk exposure.
7trading-operations
Daily trading operations, monitoring, troubleshooting, deployment, and system health checks. Use when starting trading sessions, monitoring strategies, troubleshooting issues, checking system status, or deploying strategies.
7pr-49-review
Reviews pull request #49 for OpenAlgo observability changes, focusing on risks, security, and test coverage. Use when analyzing PR #49 or when the user asks about the local observability stack changes.
6log-monitoring
Monitor current logs in real-time, track log file sizes, watch for new entries, and check log health across system and strategy logs. Use when monitoring live logs, checking log status, watching for errors, or tracking log file growth.
6plan-based-skill-builder
Builds Cursor skills from plan documents by analyzing workflows, extracting key instructions, and creating structured skill files. Use when creating skills from restart plans, deployment plans, prioritization plans, retest plans, or any structured plan documents.
6