Market Mood is a Sinatra-based web application designed to provide sentiment analysis, financial data, and market news. It integrates with stockdata.org API to fetch real-time data and news related to stocks and financial markets.
- Dashboard: View a summary of sentiment analysis, stock data, and financial news.
- Stock Data: Fetches real-time stock prices, intraday data, and end-of-day historical data.
- Sentiment Analysis: Displays news articles categorized by positive, neutral, and negative sentiment.
- Market News: Provides finance and market news from various sources.
- Images: - Illustrations from
undraw.co
The application is deployed and can be accessed at Market Mood.
-
Clone the repository:
git clone git@github.com:Limeload/MarketMood.git cd MarketMood -
Install dependencies:
bundle install
-
Set up environment variables:
Create a
.envfile in the root directory:STOCK_DATA_KEY=your_stockdata_api_keyReplace
your_stockdata_api_keywith your API key from stockdata.org. -
Run the application:
ruby app.rb
The application will be available at
http://localhost:3000.
- Navigate to
http://localhost:3000/dashboardto view the dashboard. - Click on different sections to view stock data, sentiment analysis, and market news.
- This application integrates with the stockdata.org API for fetching financial data and news. Ensure you have a valid API key (
STOCK_DATA_KEY) in your.envfile.
Contributions are welcome! Please fork the repository and submit a pull request with your improvements.
This project is licensed under the MIT License.