This is an application developed by Peker Çelik that enables you to backtest or develop financial strategies. The application is built with streamlit and yfinance libraries, and it allows you to select the stocks you would like to inspect from a pre-defined list of stocks.
- Selecting a stock from the list of pre-defined stocks.
- Inputting starting and ending dates for the stock data.
- Displaying stock price information with all the technical indicators.
- Plotting close prices.
- Implementing a basic strategy for buying and selling stocks based on a selected technical indicator and upper/lower thresholds.
- Showing the transactions made and the final amount of money.
- Python 3.6 or higher
- streamlit
- yfinance
- ta
- matplotlib
- pandas
- numpy
To install the required libraries, use the following pip command in your terminal:
pip install streamlit yfinance ta matplotlib pandas numpy
- Clone the repository to your local machine using the following command in your terminal:
git clone https://github.com/nebipeker/finance_playground.git
- Navigate to the project directory using the following command in your terminal:
cd finance_playground
- Run the application using the following command in your terminal:
streamlit run main.py
- Use the application in your web browser.
- Adding more pre-defined stocks to the list.
- Implementing different financial strategies.
- Improving the interface and the design of the application.
- Providing more customization options for the technical indicators and thresholds.