A comprehensive dashboard for analyzing TSLA stock data using Streamlit and TradingView's Lightweight Charts.
- Interactive candlestick chart with TradingView's Lightweight Charts
- Support and resistance bands visualization
- Trading direction markers (LONG/SHORT)
- AI-powered chatbot for data analysis using Google's Gemini Pro
- Real-time data visualization
- Clone the repository
- Install dependencies:
pip install -r requirements.txt
- Create a
.envfile in the root directory with your Google API key:GOOGLE_API_KEY=your_api_key_here - Place your TSLA data CSV file in the
datadirectory asTSLA.csv
streamlit run app.py- Chart Tab
- View the candlestick chart with support/resistance bands
- Hover over candles to see detailed price information
- Use the mouse wheel to zoom in/out
- Click and drag to pan the chart
- AI Chatbot Tab
- Ask questions about the TSLA data
- Get insights about price movements, trends, and patterns
- Analyze trading signals and market conditions
The application expects a CSV file with the following columns:
- Date
- open
- high
- low
- close
- Volume
- direction (LONG/SHORT/None)
- Support (list of support prices)
- Resistance (list of resistance prices)
- Python
- Streamlit
- TradingView Lightweight Charts
- Google Gemini Pro API
- Pandas



