Build Mac US Stock Trading Bot

via Freelancer ·

Budget / Salary$30–250
TypeFreelance project
LocationRemote
Posted1 hour ago
Developer Needed: Build and Deploy an Automated US Stock Trading Bot (Desktop/Mac)

Project overview
I'm looking for an experienced developer to build and deploy an automated intraday trading bot ("SmartScalp") that trades US stocks through my INDmoney Global Stocks account. The bot will run on my personal Mac. I need a clean, well-documented, tested system that I can understand, run, and maintain myself.

Scope of work

Broker integration: Connect to the INDmoney Trading API (authentication, live price streaming via WebSocket, order placement, cancellation, order status, positions).
Strategy engine: Implement a VWAP + EMA based intraday strategy with configurable parameters (EMA periods, entry/exit rules, timeframes). Initial tickers: SPY, QQQ, AMD, configurable via a settings file.
Backtesting: Test the strategy on historical minute-level US market data and produce a performance report (win rate, drawdown, P&L, number of trades).
Paper trading mode: Simulated trading with live data and no real orders. The bot must not be able to place live orders until I explicitly switch modes.
Risk management: Max position size, max daily loss, max trades per day, stop-loss/take-profit, and a one-command emergency stop that closes or cancels everything.
API constraints: Respect INDmoney's rate limits (currently documented as 5 order placements and 5 cancellations per minute) and handle daily token expiry (7:00 AM IST).
Market hours handling: US market hours fall overnight in Japan (JST). The bot must handle time zones and daylight saving changes correctly, and start and stop automatically.
Desktop deployment: Set up the bot to run reliably on my Mac, including auto-start on schedule, auto-restart after crashes, reconnection after internet drops, and sleep prevention during market hours.
Logging and alerts: Full trade and error logs, plus alerts (Telegram or email) for fills, errors, disconnects, and loss limits.
Handover: Documentation (setup, config, how to run and stop) and a recorded or live walkthrough of the code and deployment.

Deliverables

Source code in a Git repository (that I own)
README with setup and run instructions
Backtest report and paper-trading results
Unit tests for the strategy and risk logic
Config file for all parameters (no hardcoded values or keys)
Deployment scripts and a short runbook (what to do if something fails)

Required skills

Strong Python (asyncio, WebSockets, REST APIs)
Experience with pandas/NumPy and backtesting (e.g., vectorbt, backtrader, or custom)
Prior algorithmic trading or market-data projects (please share examples)
macOS deployment (launchd/cron), logging, and error handling
Clear written English communication

Nice to have

Experience with Indian broker APIs or INDmoney specifically
Understanding of US market microstructure and order types
Git, Docker, and CI basics

Security requirements (non-negotiable)

You will never receive my brokerage login or live API token. Development uses paper/simulated mode, and I will enter credentials myself on my machine.
API keys are stored in environment variables or the macOS Keychain, never in code or in the repository.
No third-party servers or services that touch my credentials or trade data without my approval.
Code must be fully readable (no obfuscation or hidden network calls).

Milestones (suggested)

Project setup, broker API connection, and market data (read-only)
Strategy plus backtesting report
Paper trading with risk controls and alerts
Desktop deployment and a supervised test session
Handover, documentation, and walkthrough

Payment is milestone-based, and I'd like a short bug-fix/support window (e.g., 2 weeks) after delivery.

To apply, please include

Relevant trading-bot or fintech projects you've built
How you'd approach backtesting and avoiding overfitting
Your estimated timeline and budget
Your availability for check-ins in the Japan time zone
python docker numpy api development backtesting pandas trading bot development algorithmic trading
Apply on Freelancer →

Project sourced from Freelancer.com. Applications happen directly on the original platform — we never collect your data.