Created a production-ready Render deployment that runs your entire Polymarket trading system 24/7 for just $7/month.
render.yaml- Render configuration (auto-detected when you connect GitHub)RENDER_DEPLOY.md- Complete deployment guide with troubleshootingscripts/start_all.sh- Startup script that runs all 4 processes in one container
Single Container ($7/month)
├── Dashboard API (port 8000, public)
├── Conservative Model (background)
├── Moderate Model (background)
└── Aggressive Model (background)
All share: /app/data/*.db (SQLite)
Visit: https://dashboard.render.com/
- Click "New +" → "Blueprint"
- Connect your GitHub account
- Select:
b1rdmania/polymarket-ai-trading - Click "Connect"
- Service will be created:
polymarket-trading-system - Go to service → "Environment"
- Add variable:
- Key:
OPENAI_API_KEY - Value:
sk-proj-ieWz...(your key)
- Key:
- Click "Save Changes"
- Click "Manual Deploy" → "Deploy latest commit"
- Wait 5-10 minutes for build
- Watch logs to see all 4 processes start
- Copy the public URL (e.g.,
https://polymarket-trading-system.onrender.com) - Test:
https://your-url.onrender.com/api/health - Should return:
{"status": "ok", ...}
Once Render is deployed, update your frontend to use the new backend:
Edit vercel-frontend/public/index.html:
// Find this line (around line 20)
const API_URL = 'https://postposted-spent-knife-given.trycloudflare.com';
// Replace with your Render URL
const API_URL = 'https://polymarket-trading-system.onrender.com';Then commit and push:
git add vercel-frontend/public/index.html
git commit -m "Update API URL to Render deployment"
git push origin masterVercel will auto-redeploy in ~1 minute.
- Go to Vercel dashboard
- Select your project
- Settings → Environment Variables
- Add:
- Name:
VITE_API_URLorNEXT_PUBLIC_API_URL - Value:
https://polymarket-trading-system.onrender.com
- Name:
- Redeploy
Then update your JS to use the env var.
$7/month (Starter plan)
- 512MB RAM (might need upgrade to 2GB for $25/month if slow)
- 2GB disk
- No spin-down (24/7)
- Shared database access
Free tier (if you're testing):
- $0/month
- Spins down after 15 min inactivity
- Takes ~30s to wake up on first request
# Health check
curl https://your-url.onrender.com/api/health
# Model stats
curl https://your-url.onrender.com/api/models
# Live signals
curl https://your-url.onrender.com/api/signals/liveGo to Render dashboard → polymarket-trading-system → "Logs"
Look for:
Starting Conservative model...
Starting Moderate model...
Starting Aggressive model...
All trading models started!
Starting Dashboard API (foreground)...
- Check logs for Python errors
- Verify
OPENAI_API_KEYis set - Make sure you're on Starter plan (not free with auto-suspend)
- Check CORS is enabled in
api/dashboard_api.py(it is) - Verify Render URL is correct in frontend
- Hard refresh browser (Cmd+Shift+R)
- Upgrade to Standard plan (2GB RAM) for $25/month
- Or comment out some models in
scripts/start_all.sh
- ✅ Deploy to Render
- ✅ Update Vercel frontend URL
- ✅ Test dashboard live
- ✅ Monitor logs for 24 hours
- 🔲 Add custom domain (optional)
- 🔲 Set up alerting (optional)
All set! Your trading system will now run 24/7 without needing your laptop open.
Questions? Check RENDER_DEPLOY.md for the full guide.