https://github.com/coqui123/tradegpt
TradeGPT is a full-stack cryptocurrency trading application that combines a modern Fresh (Deno) frontend with a Python (FASTAPI) backend for Coinbase integration and Azure AI Services for intelligent trading analysis. 💹
https://github.com/coqui123/tradegpt
analytics automation cryptocurrency data deno fastapi fresh numpy python trading-algorithms trading-strategies tradingbot typescript
Last synced: 2 months ago
JSON representation
TradeGPT is a full-stack cryptocurrency trading application that combines a modern Fresh (Deno) frontend with a Python (FASTAPI) backend for Coinbase integration and Azure AI Services for intelligent trading analysis. 💹
- Host: GitHub
- URL: https://github.com/coqui123/tradegpt
- Owner: coqui123
- Created: 2025-02-22T01:43:13.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-22T02:01:42.000Z (over 1 year ago)
- Last Synced: 2025-02-22T03:17:42.213Z (over 1 year ago)
- Topics: analytics, automation, cryptocurrency, data, deno, fastapi, fresh, numpy, python, trading-algorithms, trading-strategies, tradingbot, typescript
- Language: Python
- Homepage:
- Size: 43 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TradeGPT 🚀
TradeGPT is a full-stack cryptocurrency trading application that combines a modern Fresh (Deno) frontend with a Python (FastAPI) backend for Coinbase API integration and Azure AI Services for intelligent trading analysis. 💹
## Project Structure 📁
```
tradegpt/ # Frontend (Fresh/Deno)
├── islands/ # Interactive components
├── routes/ # Page routes
├── components/ # Shared components
├── static/ # Static assets
└── ...
```
```
tradegpt-backend/ # Frontend (FastAPI/Python)
├── app/
│ ├── api/
│ │ └── routes.py # API endpoints
│ ├── core/
│ │ ├── trade_recommendation.py
│ │ ├── analysis_engine.py
│ │ └── data_fetcher.py # Market data fetching
│ ├── models/
│ │ └── schemas.py # Pydantic data models
│ ├── services/
│ │ ├── coinbase_manager.py # Coinbase API integration
│ │ └── llm_manager.py # Language model integration
│ ├── technical_indicators/
│ │ ├── advanced_indicators.py # Technical indicators
│ │ └── basic_indicators.py
│ └── utils/
│ └── json_utils.py # JSON formatting utilities
├── main.py # Application entry point
└── requirements.txt # Dependencies
```
## Prerequisites ✅
- [Deno](https://deno.land/manual/getting_started/installation) for the frontend 🦕
- [Python 3.x](https://www.python.org/downloads/) for the backend 🐍
- Coinbase API credentials 🔑
- Local LLM or API KEY for AI Services (GPT-4o-mini, GPT-3.0-mini, sonar-reasoning, sonar-pro, sonar-reasoning-pro, Phi-3.5-MoE) 🤖
## Frontend Setup 🎨
1. Navigate to the frontend directory:
```bash
cd tradegpt
```
2. Start the development server:
```bash
deno task start
```
The frontend will be available at `http://localhost:8000` 🌐
## Backend Setup ⚙️
1. Navigate to the backend directory:
```bash
cd tradegpt-backend
```
2. Install dependencies:
```bash
pip install -r requirements.txt
```
3. Set up your environment variables in `.env`:
```
# COINBASE API
COINBASE_API_KEY=your_api_key
COINBASE_API_SECRET=your_api_secret
# LLM API
LLM_API_ENDPOINT=your_llm_endpoint
LLM_API_TOKEN=your_llm_api_key
LLM_API_MODEL_NAME=your_llm_model_name
```
4. Run the backend server:
```bash
python main.py
```
## Features ✨
- Real-time cryptocurrency price tracking 📊
- Interactive trading charts 📈
- Coinbase integration for live trading 💱
- Modern UI with Tailwind CSS 🎯
## Development 🛠️
The project uses:
- Fresh framework for the frontend 🌟
- Tailwind CSS for styling 💅
- Python for backend services 🐍
- Coinbase API for trading functionality 💰
## Contributing 🤝
1. Fork the repository 🍴
2. Create your feature branch 🌿
3. Commit your changes 💾
4. Push to the branch 🚀
5. Create a new Pull Request ✅
## Images 📸
