Skip to content

API reference

The public package API consists of get() and list_series(). Import both directly from okama_macro:

from okama_macro import get, list_series

get

get(key, first_date=None, last_date=None)

Return the normalised series for key (see the module docstring).

list_series

list_series()

Return the sorted list of available series keys.