This is a simple web application that allows users to upload historical stock price data (CSV), run a trading strategy backtest, and visualize the results.
- Frontend: HTML, JavaScript, Chart.js
- Backend: Python, FastAPI, Pandas
- Server: Uvicorn (ASGI server for FastAPI)
- π€ Upload historical stock data as CSV
- βοΈ Run backtest with a simple strategy (Close > 5-day SMA)
- π Display results in a clean table
- π Plot stock prices with buy signals using Chart.js
- πΉ Display:
- Total return
- CD Backend
- In Terminal Run, uvicorn main:app --reload
- Run the Live Server of the index.html file located in Frontend dir.
- Upload CSV
- Run Testing Strategies