CSAllenISD / 2023-ISP-FreeCash

Other
0 stars 1 forks source link

Research/Create Twitter sentiment program to scan tweets using API #5

Closed gnarayan1337 closed 1 year ago

gnarayan1337 commented 1 year ago

Need to research and read Twitter API documentation. After I have learned the Twitter API I need to make a simple program that scrapes for the last 100-300 tweets that contain "$xxxx".

squaredcubed64 commented 1 year ago

Make sure you know how many tweets the Twitter API will let you scrape. We may need a lot of tweets to train our model before it understands tweet sentiments.

squaredcubed64 commented 1 year ago

The Twitter API allows 500,000 requests per month, which should be enough for us. Also, twitterscraper.py successfully scrapes recent tweets that contain a given stock ticker.