Web3 trading platform
An automated crypto-futures trading platform: a web app, an Android app and a Python trading engine that trades users' Binance Futures accounts under strict risk limits.
- Role
- Full-stack developer: web, mobile, backend, trading bot and CI/CD
- Year
- 2025 – 2026
- Status
- Live
- Links
- GitHub (private) lr21.org Google Play
- trading strategies
- 3trading strategies
- Solidity contracts
- 2Solidity contracts
- clients
- Web + Androidclients
01
The problem
Retail traders want to automate futures trading without writing code or running servers, but they need guardrails (leverage caps, stop-losses, daily loss limits) and a clear view of what the bot is doing with their money.
02
Key features
- 01Users connect a Binance Futures account and run the bot with scalping, short-term or swing strategies, each with its own take-profit, stop-loss and RSI thresholds
- 02Risk controls: isolated margin, per-trade size, max concurrent positions, cooldowns, daily loss limit and max drawdown
- 03Live P&L, positions and trade history in the web and mobile apps
- 04Subscription gating: the trading screen unlocks only with an active subscription, on both web and mobile
- 05Wallet connection on BNB Smart Chain, a token-swap contract with a platform fee, referrals and rewards
- 06Android app on Google Play, built with Expo
03
Architecture highlights
Three services: a Next.js web app on Vercel, an Express + MongoDB API with WebSocket token updates, and a FastAPI trading engine that talks only to Binance Futures. The web and Android apps share the same API.
- The trading engine was refactored into config, client, signer (HMAC-SHA256), error-mapping, services and routes, with startup checks that the Binance environment matches the API keys.
- A dedicated mainnet/testnet switch blocks Spot endpoints whenever Futures mode is active.
- CI/CD pushes the API and trading bot to a VPS over SSH with a dedicated deploy key.
04
Tech stack
Frontend
- Next.js 14
- React
- Tailwind CSS
- Radix UI
- Chart.js / Recharts
Mobile
- React Native 0.81
- Expo 54
- Expo Router
Backend
- Node.js
- Express 5
- MongoDB / Mongoose
- WebSockets
- Firebase Auth
- JWT
Trading & Web3
- Python
- FastAPI
- python-binance (Futures)
- Solidity
- ethers.js
- BNB Smart Chain
Ops
- GitHub Actions
- Docker
- PM2
- Nginx
- Linux VPS
- Vercel
Next project
ResearchMind