Finalize Stock Trading Bot Setup

Job ID: 40205637

Budget: $30 – $250 USD

My equities-trading bot is already writing orders and running basic strategies, but it still needs a professional touch before it can trade live on the NASDAQ and NYSE. Code is hosted in a Git repository, built around Python with REST/WebSocket connections to the broker’s API.

What remains is a mix of refinement and deployment work: polishing the execution logic, tightening risk-management rules, expanding logging/alerting, and then installing everything on a cloud instance so it restarts automatically and can be monitored in real time. I also want a quick walk-through of the finished codebase so I can maintain it confidently once it is live.

Deliverables
• Review and refactor the existing Python code for clarity, robustness, and speed
• Complete API integration for NASDAQ and NYSE order routing (authentication, throttling, error handling)
• Implement configurable position sizing, stop-loss, and take-profit logic that can be toggled in a JSON/YAML config file
• Add detailed logging plus email/Slack alerts for fills, errors, and daily P&L
• Provision and deploy the bot on a VPS (Linux) with systemd or Docker for automatic restarts and easy updates
• Provide a short hand-off document and a 30-minute screenshare to demonstrate setup, config, and rollback procedures

Acceptance criteria
1. Bot can place, modify, and cancel orders on live NASDAQ and NYSE symbols without manual intervention.
2. All critical paths (connection, order routing, risk checks) are unit-tested and pass.
3. VPS instance automatically restarts the bot on reboot and logs to an external file.
4. Alerting fires on simulated faults during the demo session.

I am ready to supply the current repository, API keys for the paper-trading environment, and server credentials as soon as we start.