News Trends
News Positivity
Retrieve stocks ranked by news positivity.
Parameters
period
string
The period used to calculate the news positivity.
One of 1-day, 7-day, 14-day, 1-month, 3-month, 6-month.
Defaults to 1-month.
min_articles
number
The minimum number of articles required within the above period for the stock to be returned in the result set.
Defaults to 3.
min_positive_percent
number
The minimum positive articles percent required within the above period for the stock to be returned in the result set.
Defaults to 0.
GET
/v1/news-trends/positivity
Response
{
"stocks": [
{
"ticker": "NVDA",
"num_articles": 879,
"positive_percent": 80
},
{
"ticker": "AAPL",
"num_articles": 417,
"positive_percent": 73
},
{
"ticker": "AMZN",
"num_articles": 582,
"positive_percent": 72
}
]
}