m.reference.news¶
News articles about tickers, with their publishers and sentiment insights.
Call it from a session m, made with dm.MassiveSession():
m.reference.news(symbols=None, *, start=None, end=None, sort=None, order=None, limit=None, filters=None, on_error=None)
- Methods:
fetch(),poll(interval) - Read from: REST
poll()by default:dm.PollMode.APPEND, which appends each row it hasn't seen, identified byIdandSymbol
Arguments¶
A linked argument follows its rule under shared arguments on the dataset index.
| Argument | Description |
|---|---|
symbols |
The tickers whose articles to read. Leave it out for every article; dm.ALL is refused. |
start |
The earliest publication time. |
end |
The latest publication time. |
sort |
Each ticker's sort field. "published_utc", the default, is the only one. |
order |
Each ticker's direction of sort, newest first by default. |
limit |
Articles per ticker, or in total without symbols. |
filters |
Further endpoint parameters. Keys: ticker_gt, ticker_gte, ticker_lt, ticker_lte. |
on_error |
What a bad symbol or row does in this call (dm.ErrorPolicy). None, the default, takes each cause from the session's MassiveConfig.on_error. |
Plans¶
How recent the data is on each of Massive's plans, and how far back its history goes, as Massive's pages state them.
| Plan | News (REST) |
|---|---|
| Stocks Basic | Updated hourly, 2 years |
| Stocks Starter | Updated hourly, All history |
| Stocks Developer | Updated hourly, All history |
| Stocks Advanced | Updated hourly, All history |
| Stocks Business | Updated hourly, All history |
Columns¶
| Column | Type | Description |
|---|---|---|
Symbol |
String | The ticker the request named that the row lists in Tickers: a row that lists several of the named tickers appears once for each, so an article about AAPL and MSFT read for both is listed under each. A row that lists none of the named tickers is left out, as an unrequested_symbols problem. Null when the call named no ticker. |
AmpUrl |
String | The mobile friendly Accelerated Mobile Page (AMP) URL. |
ArticleUrl |
String | A link to the news article. |
Author |
String | The article's author. |
Description |
String | A description of the article. |
Id |
String | Unique identifier for the article. |
ImageUrl |
String | The article's image URL. |
Insights |
String | The insights related to the article. The column holds Massive's value as JSON text. |
Keywords |
String[] | The keywords associated with the article (which will vary depending on the publishing source). |
PublishedUtc |
Instant | The UTC date and time when the article was published, formatted in RFC3339 standard (e.g. YYYY-MM-DDTHH:MM:SSZ). |
PublisherFaviconUrl |
String | The publisher's homepage favicon URL. From the publisher object: Details the source of the news article, including the publisher's name, logo, and homepage URLs. This information helps users identify and access the original source of news content. |
PublisherHomepageUrl |
String | The publisher's homepage URL. From the publisher object: Details the source of the news article, including the publisher's name, logo, and homepage URLs. This information helps users identify and access the original source of news content. |
PublisherLogoUrl |
String | The publisher's logo URL. From the publisher object: Details the source of the news article, including the publisher's name, logo, and homepage URLs. This information helps users identify and access the original source of news content. |
PublisherName |
String | The publisher's name. From the publisher object: Details the source of the news article, including the publisher's name, logo, and homepage URLs. This information helps users identify and access the original source of news content. |
Tickers |
String[] | The ticker symbols associated with the article. |
Title |
String | The title of the news article. |
TimestampInsert |
Instant | When the library received the row, by the local clock. Rows that arrive together share it. It isn't Massive's time, and later rows can carry earlier times. In a poll() table, it's the time of the poll the row's values came from. |
Massive fields
The Massive field behind each column, by source. An empty cell means the source doesn't carry the column, or the library computes it.
| Column | REST field |
|---|---|
Symbol |
|
AmpUrl |
amp_url |
ArticleUrl |
article_url |
Author |
author |
Description |
description |
Id |
id |
ImageUrl |
image_url |
Insights |
insights |
Keywords |
keywords |
PublishedUtc |
published_utc |
PublisherFaviconUrl |
publisher.favicon_url |
PublisherHomepageUrl |
publisher.homepage_url |
PublisherLogoUrl |
publisher.logo_url |
PublisherName |
publisher.name |
Tickers |
tickers |
Title |
title |
TimestampInsert |
Massive's documentation¶
The plan tables and most column descriptions are Massive's, from its documentation as fetched on 2026-12-01, with a few corrected where Massive's are wrong. The library writes its own descriptions of the columns it names or computes, such as Symbol and TimestampInsert.