Module macrobond_data_api.com.com_types.series_with_revisions

Classes

class SeriesWithRevisions

Interface for a Macrobond series with revisions.

Instance variables

var ErrorMessage : str

Gets the error message.

var HasRevisions : bool

Check is there are any revisions.

var HeadSeries

Get the series with the latest revisions.

var IsError : bool

Gets a value indicating whether the series request resulted in an error.

var StoresRevisions : bool

Check if underlying series stores revisions.

var TimeOfLastRevision : datetime.datetime

Get the time of the last revision.

Methods

def GetCompleteHistory(self) ‑> List[Series]

Get all the revisions as a separate complete series.

def GetNthRelease(self, n: int) ‑> Series

Get the series at the specified release.

def GetObservationHistory(self, pointInTime: datetime.datetime) ‑> Series

Get the values over time for a specific point in time.

def GetVintage(self, date: datetime.datetime) ‑> Series

Get the series at the specified time.

def GetVintageDates(self) ‑> List[datetime.datetime]

Get the times for all revisions.