Skip to content

Latest commit

 

History

History
90 lines (63 loc) · 1.78 KB

README.md

File metadata and controls

90 lines (63 loc) · 1.78 KB

Sentiment News

Sentiment News is a web app dedicated to exploring the relationship between financial news article sentiment and the price action of related stocks. The goal of this project was to quantify how positive or negative sentiment in news articles can influence stock price fluctuations. For example, when a news article about a company's success is published, the stock price of that company is expected to increase. This app creates insights into this phenomenon by analyzing news article sentiment and correlating it with stock price changes.

Frontend Tech Stack

  • TypeScript
  • Next.js
  • TailwindCSS

Backend Tech Stack

  • Python
  • FastAPI
  • Tortoise-ORM
  • PostgreSQL

APIs Used

Frontend Start

First, install the dependencies:

npm install
# or
yarn
# or
pnpm install

Then, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev

Open http://localhost:3000 with your browser to see the result.

Backend Setup

  1. Clone the repo
git clone https://github.com/bagus0300/Sentiment-News-Backend.git
  1. Create virtual environemnt
cd server

python3 -m venv venv

# Windows
venv\Scripts\activate

# Mac
source venv/bin/activate
  1. Install requirements
pip install -r requirements.txt
  1. Get free API keys and fill in values in .env

Running

hypercorn src/main:app --reload