Professional crypto trading analysis backend for @thecryptoadvisor
This Flask-based API powers the TraderDan.xyz crypto trading dashboard, providing real-time market data, trading signals, and performance analytics for professional cryptocurrency trading.
- Real-time Market Data: Integration with CoinGecko API for live cryptocurrency prices
- Trading Signals: Daily "Picks of the Day" with entry/exit points
- Performance Tracking: Comprehensive analytics and leaderboard system
- Market Sentiment: News analysis and sentiment scoring via CoinDesk API
- Technical Analysis: RSI, support/resistance levels, and momentum indicators
GET /api/crypto/market-overview- Global market statisticsGET /api/crypto/top-coins- Top 15 cryptocurrencies by market capGET /api/crypto/trending- Trending cryptocurrenciesGET /api/crypto/sentiment- Market sentiment analysis
GET /api/reports/daily- Complete daily trading reportGET /api/reports/technical-analysis- Technical analysis for major coinsGET /api/reports/market-summary- Condensed market summary
GET /api/opportunities/sale-of-the-day- Daily trading picksGET /api/opportunities/top-picks- Top 5 highest confidence picksGET /api/opportunities/by-risk/{level}- Filter opportunities by risk level
COINGECKO_API_KEY=your_coingecko_api_key
COINDESK_API_KEY=your_coindesk_api_key
FLASK_ENV=production- CoinGecko API: For cryptocurrency market data
- CoinDesk API: For news and sentiment analysis
- Arkham API: For DeFi Dashboard (optional)
- ETH API: For gas fees management
- Clone the repository:
git clone https://github.com/yourusername/traderdan-backend.git
cd traderdan-backend- Create virtual environment:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate- Install dependencies:
pip install -r requirements.txt- Configure environment variables:
cp .env.example .env
# Edit .env with your API keys- Run the application:
python src/main.pyThe API is designed to be deployed on cloud platforms like Heroku, AWS, or DigitalOcean.
docker build -t traderdan-api .
docker run -p 5000:5000 traderdan-api- Flask: Web framework
- Flask-CORS: Cross-origin resource sharing
- Requests: HTTP client for external APIs
- Pandas: Data analysis and manipulation
- NumPy: Numerical computing
- Matplotlib: Data visualization
The backend implements professional trading strategies including:
- Swing Trading: 2-6 week position holds
- Technical Analysis: RSI, support/resistance, volume analysis
- Risk Management: Stop-loss and take-profit levels
- Performance Tracking: Win rate, average returns, streak tracking
Professional cryptocurrency analyst Alexandre Azeredo brings Wall Street-grade analysis to the crypto markets. With a background in macroeconomics and international relations, specialized in crypto markets with traditional finance experience.
Connect:
- LinkedIn: Alexandre Azeredo
- Twitter: [@alexandreazered] TheCryptoAdvisor
This project is an ope source project created by @thecryptoadvisor. Use as you wish.
For technical support or trading inquiries, contact: thelord
Disclaimer: This software is for educational and informational purposes only. Cryptocurrency trading involves substantial risk of loss. Past performance does not guarantee future results.