Module macrobond_data_api.com.com_types.series
Classes
class Series
-
Interface for a Macrobond time series.
Ancestors
Instance variables
var DatesAtEndOfPeriod : Tuple[datetime.datetime, ...]
-
The dates of of the observations at the end of each period.
var DatesAtStartOfPeriod : Tuple[datetime.datetime, ...]
-
The dates of of the observations at the start of each period.
var EndDate : datetime.datetime
-
The end date.
var ForecastFlags : List[bool]
-
A vector with a flag for each value indicating if this is a forecast or not.
var Frequency : int
-
The calendar frequency.
var StartDate : datetime.datetime
-
The start date.
var TypicalObservationCountPerYear : float
-
The typical number of observations per year.
var Values : Tuple[float, ...]
-
The values of the series.
var ValuesMetadata : List[Metadata]
-
Get the meta data for the values.
var Weekdays : int
-
The days of the week used for daily series.
Methods
def GetIndexAtDate(self, dateTime: datetime.datetime) ‑> int
-
Get the index in the value vector at the specified date. Zero based.
def GetValueAtDate(self, dateTime: datetime.datetime) ‑> float
-
Get the value at or preceding a specific date.
Inherited members