mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-25 18:53:26 +00:00
* Began working on docs creator * Added fixes * More * More * Adding autogen_try.py for OpenBB API doc generation * OpenBB API docs gen try * Fixed * Added fixes * Added fixes * subs -> sub * Updated docs * Updated docs Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
1.7 KiB
Vendored
1.7 KiB
Vendored
To obtain charts, make sure to add chart=True as the last parameter
Get underlying data
crypto.dd.mt(symbol: str, timeseries_id: str, interval: str = '1d', start_date: str = '2021-09-23', end_date: str = '2022-09-23') -> Tuple[pandas.core.frame.DataFrame, str]
Returns messari timeseries [Source: https://messari.io/]
Parameters
----------
symbol : str
Crypto symbol to check messari timeseries
timeseries_id : str
Messari timeserie id
interval : str
Interval frequency (possible values are: 5m, 15m, 30m, 1h, 1d, 1w)
start : int
Initial date like string (e.g., 2021-10-01)
end : int
End date like string (e.g., 2021-10-01)
Returns
-------
pd.DataFrame
messari timeserie over time
str
timeserie title
Getting charts
crypto.dd.mt(symbol: str, timeseries_id: str, start_date: str = '2021-09-23', end_date: str = '2022-09-23', interval: str = '1d', export: str = '', external_axes: Optional[List[matplotlib.axes._axes.Axes]] = None, chart=True) -> None
Display messari timeseries [Source: https://messari.io/]
Parameters
----------
symbol : str
Crypto symbol to check market cap dominance
timeseries_id: str
Obtained by api.crypto.dd.get_mt command
start_date : int
Initial date like string (e.g., 2021-10-01)
end_date : int
End date like string (e.g., 2021-10-01)
interval : str
Interval frequency (possible values are: 5m, 15m, 30m, 1h, 1d, 1w)
export : str
Export dataframe data to csv,json,xlsx file
external_axes : Optional[List[plt.Axes]], optional
External axes (1 axis is expected in the list), by default None