Multi-User Trading Bot System Development

Job ID: 39995265

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

Title:
Build a Multi-User Trading Bot Platform (FastAPI + Alpaca + PostgreSQL + Frontend Dashboard)

Project Description:
I am looking to hire a senior Python developer to build a complete multi-user trading bot platform. The backend should be built using FastAPI, integrate with Alpaca brokerage APIs, and include a simple HTML/CSS/JS dashboard frontend.

The project involves real-time trading, WebSocket data, and multi-user account handling.

Core Requirements
1. Backend (FastAPI)

User authentication system (JWT or session-based)

Role-based access (Admin/User)

Endpoints for:

Account connection (API keys)

Strategy execution

Fetching trade logs, PnL, and portfolio data

WebSocket integration for:

Live price stream

Real-time bot actions

2. Trading Features

Connect to Alpaca API (paper/live)

Live order placement (buy/sell)

Real-time strategy execution loop

Historical data fetching for backtests

Support for strategies like:

Profit booking

Trailing stop

Averaging down

ML-based predictions (optional)

3. Database

PostgreSQL with asyncpg

Tables for:

Users

API keys

Logs

Orders

Strategies

4. Frontend

Clean HTML dashboard (no heavy JS frameworks required)

View:

Real-time prices

PnL summary

Positions

Trade logs

Settings page

5. DevOps

Docker containerization

Deployment on VPS (Ubuntu)

Logging + error handling

Production folder structure

Required Skills:

Strong Python (AsyncIO + type hinting)

FastAPI (routers, background tasks, JWT auth)

Alpaca API / or other broker APIs

WebSockets (real-time streaming)

PostgreSQL + asyncpg

HTML + JS dashboard experience

Git, Docker, Linux (deployment)

Deliverables:

Fully working multi-user trading bot system

API documentation

Clean and modular code structure

Deployment setup guide

2-week post-delivery support (bug fixes)