A high-performance cryptocurrency trading platform with a Go-based backend and a Python Streamlit frontend. Designed for backtesting and executing algorithmic strategies using historical and live data with low latency.
trading-system/ βββ backend/ # Go backend for strategy execution and APIs βββ frontend/ # Python Streamlit frontend for user interface βββ dependencies/ # go.mod and go.sum for module management βββ docs/ # Design documents and PDFs βββ logs/ # Log files for trades βββ README.md # Project documentation - Go 1.18+
- Key packages:
github.com/adshao/go-binance/v2github.com/gin-gonic/gingonum.org/v1/plot
- Python 3.8+
- Key packages:
streamlitrequestspandas
# Install Go from https://golang.org/dl/ git clone https://github.com/yourusername/trading-system.git cd trading-system/backend go mod tidy go run main.go# Install Python from https://python.org cd frontend pip install -r requirements.txt streamlit run frontend.py-
Backend runs on
localhost:8080with routes like:POST /tradeGET /exchangesGET /symbols
-
Frontend launches a local Streamlit web UI where users can:
- Select exchange/symbol
- Input strategy parameters
- Run backtests
- View & download results
-
Backend:
- Supports custom strategies like KAGE, KITSUNE, ZEN, TENSHI, etc.
- Reads historical data from CSV or Binance API.
- Logs and visualizes trades.
-
Frontend:
- User-friendly tabs for input and visualization.
- Trade results displayed with metrics and graphs.
- CSV export option for trade data.
main.go: Core logic, strategy handlers, API endpoints.- Custom indicators: RSI, Stochastic, SMA/EMA, Novel Oscillator.
- Multiple strategy modules, each independently testable.
- Streamlit dashboard with real-time UI components.
- Sidebar input for parameters.
- Tabs for strategy logic, documentation, and results.
- Fork the repository.
- Create your feature branch (
git checkout -b feature-name). - Commit your changes.
- Push to the branch (
git push origin feature-name). - Open a pull request!
This project is licensed under the MIT License. See LICENSE for details.
Would you like this saved as an updated README.md file?
Distributed under the MIT License. See LICENSE for more information.



