Black Friday 30% off Basic and ProBlack Friday −30%Ends in––d––h––m––sSee the deal

News

The fields of a news event, an element of the request.events("news") list.

Here a news event is called event, as in for event in news. How to request them and bring them onto the candles is in News.

event.idfield

The news code: it stays the same for its whole life, even when the time changes.

event.timefield

The time, in UTC milliseconds, like bars.time.

event.currencyfield

The currency, like "USD", or "All" for global news.

event.impactfield

The expected impact: "high", "medium", "low" or "none", as for holidays.

event.titlefield

The name, as the source writes it: "CPI m/m".

event.actualfield

The actual as a number: "0.3%" is 0.3, "165K" is 165000. nan if it hasn’t been released yet or isn’t a number.

event.forecastfield

The forecast as a number, nan if missing.

event.previousfield

The previous value as a number, nan if missing.

event.actual_textfield

The actual as the source writes it, for labels: "0.3%". "" if missing.

event.forecast_textfield

The forecast as the source writes it, "" if missing.

event.previous_textfield

The previous value as the source writes it, "" if missing.

event.higher_is_betterfield

True if a higher value is better for the currency, False if lower, as for unemployment. None if not compared, as for speeches and auctions.

event.tonefield

The actual compared with the forecast, or with the previous value if the forecast is missing: "better", "worse" or "even" for the currency. None if not compared. It’s the same color as in the calendar.