This project is a web application that displays a TradingView lightweight chart with candlestick data fetched from Yahoo Finance. Users can input a stock symbol and select different timeframes to view the corresponding stock data. The application also includes a theme toggle feature to switch between light and dark modes.
- Fetch and display stock data from Yahoo Finance
- View stock data in different timeframes (1 minute, 5 minutes, 15 minutes, hourly, daily, weekly, monthly)
- Toggle between light and dark themes
Follow these steps to set up and run the application:
- Python 3.x
-
Clone the repository:
git clone https://github.com/marketcalls/tradingview-yahoo-finance.git cd tradingview-yahoo-finance
-
Create a virtual environment(Windows):
python -m venv venv myenv\Scripts\activate.bat
-
Install the dependencies:
pip install -r requirements.txt
-
Run the Flask application:
python app.py
-
Open your web browser and visit:
http://127.0.0.1:5000
This project is licensed under the MIT License.