Local changes: Updated model training, removed debug instrumentation, and configuration improvements
This commit is contained in:
47
backend/README.md
Normal file
47
backend/README.md
Normal file
@@ -0,0 +1,47 @@
|
||||
# Crypto Trader Backend API
|
||||
|
||||
FastAPI backend for the Crypto Trader application.
|
||||
|
||||
## Setup
|
||||
|
||||
```bash
|
||||
pip install -r requirements.txt
|
||||
pip install -r backend/requirements.txt
|
||||
```
|
||||
|
||||
## Development
|
||||
|
||||
```bash
|
||||
python -m uvicorn backend.main:app --reload --port 8000
|
||||
```
|
||||
|
||||
Access API docs at: http://localhost:8000/docs
|
||||
|
||||
## API Endpoints
|
||||
|
||||
- **Trading**: `/api/trading/*`
|
||||
- **Portfolio**: `/api/portfolio/*`
|
||||
- **Strategies**: `/api/strategies/*`
|
||||
- **Backtesting**: `/api/backtesting/*`
|
||||
- **Exchanges**: `/api/exchanges/*`
|
||||
- **WebSocket**: `/ws/`
|
||||
|
||||
## Project Structure
|
||||
|
||||
```
|
||||
backend/
|
||||
├── api/ # API route handlers
|
||||
├── core/ # Core utilities (dependencies, schemas)
|
||||
└── main.py # FastAPI application
|
||||
```
|
||||
|
||||
## Dependencies
|
||||
|
||||
The backend uses existing Python code from `src/`:
|
||||
- Trading engine
|
||||
- Strategy framework
|
||||
- Portfolio tracker
|
||||
- Backtesting engine
|
||||
- All other services
|
||||
|
||||
These are imported via `sys.path` modification in `main.py`.
|
||||
Reference in New Issue
Block a user