Get Started in 5 Minutes
This guide will have you running NeuraTrade and viewing your first arbitrage opportunities in under 5 minutes.Configure Environment
Copy the example environment file and update it with your settings:Edit
.env to set your home directory path:.env
Replace
/home/youruser with your actual home directory path. Use pwd to find your current path.Build NeuraTrade
Build all binaries using the Makefile:This will:
- Download Go dependencies
- Install Telegram service dependencies (Bun)
- Build
neuratrade-server(Go backend) - Build
neuratrade(CLI gateway) - Create service launcher scripts
./bin/:Start All Services
Start the NeuraTrade gateway (orchestrates all services):This starts:
- Backend API server (port 8080)
- CCXT exchange service (port 3001)
- Telegram bot service (port 3002)
The gateway runs services in the background. Logs are written to
~/.neuratrade/logs/What’s Next?
Configure Exchanges
Add your exchange API keys to enable trading
Setup Telegram Bot
Configure Telegram for notifications and bot commands
Enable AI Agents
Setup autonomous trading with AI-powered agents
API Reference
Explore the complete API documentation
Common Commands
Here are the most frequently used commands:Explore the API
Now that NeuraTrade is running, explore these endpoints:| Endpoint | Description |
|---|---|
/health | Service health and status |
/api/v1/market/prices | Real-time market prices |
/api/v1/arbitrage/opportunities | Spot arbitrage opportunities |
/api/v1/futures-arbitrage/opportunities | Funding rate arbitrage |
/api/v1/analysis/signals | Trading signals and indicators |
/api/v1/exchanges/supported | List of supported exchanges |
Development Workflow
For active development, use these commands:Troubleshooting
Port 8080 already in use
Port 8080 already in use
If port 8080 is already in use, change the Then restart the gateway.
SERVER_PORT in your .env file:.env
Database connection failed
Database connection failed
Ensure the
NEURATRADE_HOME directory exists and the SQLite path is correct:Gateway won't start
Gateway won't start
Check the gateway logs for errors:Common issues:
- Missing dependencies (run
make buildagain) - Port conflicts (change ports in
.env) - Permission issues (check file permissions)
No arbitrage opportunities found
No arbitrage opportunities found
This is normal if:
- Market conditions don’t present profitable opportunities
- Exchange workers are still collecting initial data (wait 30-60 seconds)
- Exchanges are not configured (see Configuration guide)
Next Steps
Detailed Installation Guide
Learn about prerequisites, directory structure, and advanced configuration options