Comprehensive installation instructions for PowerTraderAI+ on Windows.
- OS: Windows 10 (1909) or Windows 11
- Python: 3.8 or higher
- RAM: 4GB minimum, 8GB recommended
- Storage: 2GB free space
- Network: Stable internet connection (10+ Mbps recommended)
- OS: Windows 11 with latest updates
- Python: 3.10 or 3.11
- RAM: 16GB for optimal performance
- Storage: SSD with 5GB free space
- Network: High-speed internet (50+ Mbps)
-
Install Git (if not already installed):
- Download from git-scm.com
- Run installer with default settings
-
Clone Repository:
git clone https://github.com/sjackson0109/PowerTraderAI.git cd PowerTraderAI
- Download ZIP:
- Go to GitHub Repository
- Click "Code" → "Download ZIP"
- Extract to desired location
-
Download Python from python.org
-
Installation Options:
- Add Python to PATH
- Install for all users
- Include pip and IDLE
-
Verify Installation:
python --version pip --version
# Create virtual environment
python -m venv powertrader_env
# Activate virtual environment
powertrader_env\Scripts\activate
# Verify activation (prompt should show environment name)Install the essential packages required for PowerTrader to function:
# Navigate to PowerTraderAI+ directory
cd PowerTraderAI
# Install core dependencies
pip install -r requirements.txtPowerTrader includes an automated installer for optional dependencies that provide enhanced functionality:
# Run the optional dependency installer
python app/install_optional_deps.pyInteractive Installation Options:
- Install ALL missing packages (recommended for full functionality)
- Real-time Market Data packages (
websocket-client,ccxt) - Analytics packages (
scipy) - Charts packages (
seaborn) - AI Research packages (
openai) - Skip installation (use core functionality only)
These packages are essential and installed with pip install -r requirements.txt:
tkinter- GUI framework (included with Python)matplotlib- Charting and visualizationpandas- Data analysis and manipulationnumpy- Numerical computingrequests- HTTP client for API callspython-kucoin- KuCoin API clientrobin-stocks- Robinhood API clientcryptography- Encryption for secure storage
These packages provide additional functionality and graceful degradation if missing:
Real-time Market Data (for live feeds and multi-exchange support):
websocket-client- WebSocket connections for real-time dataccxt- Cryptocurrency exchange library with 100+ exchanges
Advanced Analytics (for enhanced risk management and statistical analysis):
scipy- Scientific computing and advanced statistics
Charts & Visualization (for beautiful statistical plots):
seaborn- Statistical data visualization
AI Research (for AI-powered market analysis):
openai- OpenAI API client for market research
Verify which dependencies are available:
# Test all dependencies
python test_dependencies.pyNote: PowerTrader is designed with graceful degradation - if optional packages are missing, the system will show helpful installation messages and fall back to core functionality.
python pt_hub.py- GUI Window: Main PowerTraderAI+ interface should appear
- Setup Wizard: First-time configuration dialog
- Log Output: Console should show initialization messages
- GUI loads without errors
- Charts render properly
- No missing module errors
- Setup wizard appears
The first run will prompt you to configure:
-
Exchange Connections:
- KuCoin API credentials
- Robinhood login details
-
Trading Parameters:
- Initial balance
- Risk tolerance
- DCA strategy settings
-
Security Settings:
- Encryption password
- Backup options
PowerTraderAI+ creates these files during setup:
PowerTraderAI/
├── gui_settings.json # UI preferences
├── credentials/ # Encrypted API keys
│ ├── kucoin_keys.enc
│ └── robinhood_keys.enc
└── logs/ # Application logs
├── powertrader.log
└── audit.log
Recommended IDEs:
- VS Code with Python extension
- PyCharm Community Edition
- Sublime Text with Python package
For development and testing:
pip install -r requirements-dev.txtIncludes:
pytest- Testing frameworkblack- Code formattingpylint- Code analysis
1. Python Not Found
# Error: 'python' is not recognized
# Solution: Add Python to PATH or use full path
C:\Python39\python.exe pt_hub.py2. Module Import Errors
# Error: ModuleNotFoundError: No module named 'requests'
# Solution: Install requirements
pip install -r requirements.txt3. Permission Errors
# Error: Permission denied
# Solution: Run as administrator
# Right-click Command Prompt → "Run as administrator"4. Firewall/Antivirus Blocks
- Add PowerTraderAI+ folder to antivirus exclusions
- Allow Python through Windows Firewall
- Check corporate firewall settings
5. Network Connectivity
# Test internet connection
ping api.kucoin.com
ping robinhood.comIf installation issues persist:
- Check System Requirements: Ensure your system meets minimum specs
- Update Python: Use latest stable version
- Clean Install: Remove and reinstall dependencies
- GitHub Issues: Report bugs with system details
- Documentation: Full documentation
- Issues: GitHub Issues
- Security: Security Guidelines
Once installation is successful:
- Python and dependencies installed
- Application launches correctly
- Configuration completed
- Ready for exchange setup
Next Steps: Exchange Setup Guide