5.0 KiB
Getting Started
This guide will help you install and set up Crypto Trader for the first time.
Installation
From AppImage (Recommended for Bluefin Linux)
- Download the latest AppImage release from the releases page
- Make it executable:
chmod +x crypto_trader-*.AppImage - Run the application:
./crypto_trader-*.AppImage
From Source
-
Clone the repository:
git clone <repository-url> cd crypto_trader -
Create a virtual environment:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate -
Install dependencies:
pip install -r requirements.txt -
Install backend dependencies:
pip install -r requirements.txt pip install -r backend/requirements.txt -
Install frontend dependencies:
cd frontend npm install -
Run the application:
Backend (in one terminal):
python -m uvicorn backend.main:app --reload --port 8000Frontend (in another terminal):
cd frontend npm run devAccess the application at: http://localhost:3000 API documentation at: http://localhost:8000/docs
First Launch
When you first launch Crypto Trader:
-
Configuration Setup: The application will create configuration directories:
~/.config/crypto_trader/- Configuration files~/.local/share/crypto_trader/- Data and database~/.local/share/crypto_trader/logs/- Application logs
-
Database Initialization:
- Ensure PostgreSQL is running and credentials are configured in
config.yamlor via environment variables. - Tables will be created automatically on first run.
- Ensure PostgreSQL is running and credentials are configured in
-
Paper Trading: By default, the application starts in paper trading mode with $100 virtual capital.
-
UI Overview: The web interface contains six main pages accessible via the navigation menu:
- Dashboard: Overview with AutoPilot controls, system health, and real-time market data
- Strategies: Create, edit, delete, and manage trading strategies with full parameter configuration
- Trading: Manual order placement, order management, and position closing
- Portfolio: View portfolio performance, holdings, allocation charts, and risk metrics
- Backtesting: Configure and run backtests on historical data with progress tracking
- Settings: Manage exchanges, risk settings, alerts, alert history, and application configuration
Adding Your First Exchange
- Click on the Settings tab
- In the Exchanges section, click Add Exchange
- Enter your exchange name (e.g., "Coinbase")
- Enter your API key and secret
- Choose Read-Only Mode for safety (recommended for first-time setup)
- Click Save
- Test the connection using the Test Connection button
Placing Your First Trade
- Go to the Trading tab
- Select an exchange and symbol from the dropdowns
- Choose order type (Market, Limit, or Stop)
- Select Buy or Sell
- Enter quantity
- For limit orders, enter your desired price
- Click Place Order
The order will execute in paper trading mode by default. You can view your positions in the Open Positions table and order history in the Order History section.
Using Autopilot
The Autopilot feature provides autonomous trading signal generation with two modes:
-
Pattern-Based Autopilot: Uses technical pattern recognition and sentiment analysis
- Transparent and explainable
- Works immediately without training data
- Best for users who want to understand every decision
-
ML-Based Autopilot: Uses machine learning to select optimal strategies
- Adaptive and learns from performance
- Requires training data
- Best for users who want data-driven optimization
Quick Start:
- Go to the Dashboard page
- In the Autopilot Configuration section, select your preferred mode
- Choose a symbol (e.g., BTC/USD)
- Optionally enable Auto-Execute (start with paper trading first!)
- Click Start AutoPilot
See the Trading Guide for detailed information about both modes and when to use each.
Next Steps
System Requirements
- Python: 3.11 or higher
- Operating System: Linux (Bluefin Linux recommended), macOS, Windows
- Memory: 2GB RAM minimum, 4GB recommended
- Storage: 500MB for application, additional space for historical data
- Network: Internet connection for real-time data and trading
- Database: PostgreSQL 12 or higher (required)
Getting Help
- Check the FAQ for common questions
- Review the Troubleshooting guide
- Consult the API Documentation for advanced usage