Fix Order Execution Bug

Job ID: 39919408

Budget: ₹1,500 – ₹12,500 INR

My trading bot is misplacing orders—buys are firing when sells should trigger, and vice-versa. The data feed and UI are fine; the problem sits squarely in the order-execution logic.

Here’s what I need:
• Pinpoint the section of code responsible for the incorrect order placement.
• Patch the logic so each signal routes to the correct buy or sell action on the exchange.
• Prove the fix with a brief test run and a concise report (what was wrong, how you corrected it, and the results).

You’ll get full access to the repository, the exchange API keys in sandbox mode, and sample market data. A clean, well-commented commit or pull request is the only deliverable; extra features to be implemented—just a solid, working fix that puts every trade on the right side.
note : Python dev only