Implement FastAPI backend and Vue 3 frontend for Lowkey Backtest UI
- Added FastAPI backend with core API endpoints for strategies, backtests, and data management. - Introduced Vue 3 frontend with a dark theme, enabling users to run backtests, adjust parameters, and compare results. - Implemented Pydantic schemas for request/response validation and SQLAlchemy models for database interactions. - Enhanced project structure with dedicated modules for services, routers, and components. - Updated dependencies in `pyproject.toml` and `frontend/package.json` to include FastAPI, SQLAlchemy, and Vue-related packages. - Improved `.gitignore` to exclude unnecessary files and directories.
This commit is contained in:
15
live_trading/env.template
Normal file
15
live_trading/env.template
Normal file
@@ -0,0 +1,15 @@
|
||||
# OKX API Credentials Template
|
||||
# Copy this file to .env and fill in your credentials
|
||||
# For demo trading, use your OKX demo account API keys
|
||||
# Generate keys at: https://www.okx.com/account/my-api (Demo Trading section)
|
||||
|
||||
OKX_API_KEY=your_api_key_here
|
||||
OKX_SECRET=your_secret_key_here
|
||||
OKX_PASSWORD=your_passphrase_here
|
||||
|
||||
# Demo Mode: Set to "true" for paper trading (sandbox)
|
||||
# Set to "false" for live trading with real funds
|
||||
OKX_DEMO_MODE=true
|
||||
|
||||
# CryptoQuant API (optional, for on-chain features)
|
||||
CRYPTOQUANT_API_KEY=your_cryptoquant_api_key_here
|
||||
Reference in New Issue
Block a user