StockGPT: An interactive, all-in-one stock market dashboard powered by
Streamlit + Yahoo Finance API (yfinance) + Plotly.
TravelEva: An AI-powered travel assistant with history tracking and clipboard functionality.
Try out the live demo here:
π Open Streamlit App
Above: Example showing AAPL stock overview, candlestick charts, technical indicators, and financial statements.
- π Real-Time Market Data β Price, market cap, P/E ratio, dividend yield, etc. (auto-refresh & manual refresh)
- π Historical & Intraday Charts β Candlestick, volume, moving averages (SMA, EMA).
- π Technical Indicators β RSI, MACD, Bollinger Bands, ATR, Stochastic Oscillator.
- π¦ Volume Analysis β Volume bars, moving average, volume ratio.
- πΌ Financial Statements β Income statement, balance sheet, cash flow.
- π’ Market Insights β Analyst ratings, recent news, earnings calendar.
- π Corporate Actions β Dividends, stock splits.
- π Options Data β View call and put options.
- π± ESG & Sustainability β Company environmental and governance metrics.
- β¨ Interactive UI β Tabs, charts, and metrics for a modern dashboard experience.
- π€ AI Travel Assistant β Get expert travel advice and recommendations
- π History Feature β Store and retrieve last 10 question-answer pairs using SQLite
- π Copy-to-Clipboard β Copy questions, answers, or Q&A pairs with one click
- πΊοΈ Travel Categories β Organized advice for flights, accommodation, destinations, planning, and safety
- π‘ Sample Questions β Quick-start with common travel questions
- π± Responsive Design β Works seamlessly on desktop and mobile devices
- π Question Replay β Easily re-ask questions from your history
- Python 3.8+
- Streamlit
- SQLite - For history storage
- pyperclip - For clipboard functionality
We use
uvfor faster package installation and virtual environment management.
pip install uv
# or
curl -LsSf https://astral.sh/uv/install.sh | shgit clone https://github.com/yourusername/stockgpt.git
cd ssgptuv venv
source .venv/bin/activate # macOS/Linux
.venv\Scripts\activate # Windowsuv pip install -r requirements.txtstreamlit run tr2.pystreamlit run traveleva.pyThen open:
http://localhost:8501
- Enter a stock ticker (e.g.,
AAPL,TSLA,MSFT). - Browse tabs for:
- Real-Time Overview & Key Stats
- Interactive Price & Volume Charts (Candlestick, SMA, EMA)
- Technical Indicators (RSI, MACD, Bollinger Bands, ATR, Stochastic)
- Volume Analysis
- Financial Statements
- Analyst Ratings & News
- Options Chain
- Dividends & Splits
- ESG Data
- Earnings History & Calendar
- Enjoy live, interactive data exploration with auto-refresh and advanced charting.
- Ask Questions: Type any travel-related question in the text area
- Select Category: Choose from Flights, Accommodation, Destinations, Planning, Safety, etc.
- Get AI Advice: Click "Get Travel Advice" for personalized recommendations
- Copy Answers: Use the copy buttons to save answers to your clipboard
- View History: Check the sidebar for your recent questions and answers
- Replay Questions: Click "Ask Again" from history to re-ask previous questions
- Quick Start: Use sample questions to explore different travel topics
.
βββ tr2.py # Advanced StockGPT application
βββ tr.py # Basic StockGPT application
βββ tr3.py # Enhanced StockGPT with history features
βββ traveleva.py # TravelEva AI Travel Assistant
βββ requirements.txt # Dependencies
βββ README.md # Documentation
βββ traveleva_history.db # SQLite database for TravelEva history (auto-created)
βββ stock_history.db # SQLite database for StockGPT history (auto-created)
βββ assets/
βββ demo.gif # Demo animation for README
βββ screenshot1.png # Candlestick chart screenshot
βββ screenshot2.png # Technical indicators screenshot
βββ screenshot3.png # Volume analysis screenshot
- SQLite Database: Persistent storage of question-answer pairs
- Efficient Storage: Automatically maintains only the last 10 entries to prevent database bloat
- Sidebar Display: Easy access to recent questions with expandable details
- Quick Replay: One-click to re-ask previous questions
- Categorized History: Questions are stored with their categories for better organization
- pyperclip Integration: Reliable clipboard functionality across platforms
- Multiple Copy Options: Copy questions, answers, or complete Q&A pairs
- User Feedback: Success/error messages for copy operations
- Fallback Support: Manual copy option if clipboard access fails
- Unique Keys: Proper button key management to prevent conflicts
- Windows: Full clipboard support with pyperclip
- macOS: Native clipboard integration
- Linux: X11 clipboard support (requires xclip or xsel)
- Responsive Design: Works on desktop and mobile browsers
We welcome contributions! Hereβs the process:
# 1. Fork the repository
# 2. Create a feature branch
git checkout -b feature/my-feature
# 3. Commit your changes
git commit -m "Add my new feature"
# 4. Push and open a Pull Request
git push origin feature/my-featureIssues: GitHub Issues
Thanks to these amazing people!
This project is licensed under the MIT License β free to use, modify, and distribute.
Built with β€οΈ using Python & Streamlit



