Adding Sentiment Data

Hello, this is my first time using alpaca and I’m trying to migrate a market sentiment algorithm I made on Quantopian. Does anyone know how I could successfully migrate it into the Alpaca API(there’s nothing about these sentiment libraries in the migration guide)?
Here’s my code:

I have used the The textblob.sentiments module which seems really good. I have also used the VADER (Valence Aware Dictionary and sEntiment Reasoner) with the additional stock lexicon. It appears that VADER is a little better but I am still in testing. I use the:


Returns a NewsList entity for the symbol.

That really saved me tons of time. I was trying to do allot of RSS feeds and web scraping. Polygon is more relevant and accurate/complete