mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-03 07:51:49 +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.5 KiB
Vendored
1.5 KiB
Vendored
To obtain charts, make sure to add chart=True as the last parameter
Get underlying data
crypto.dd.active(symbol: str, interval: str = '24h', start_date: int = 1262304000, end_date: int = 1663943882) -> pandas.core.frame.DataFrame
Returns active addresses of a certain symbol [Source: https://glassnode.com]
Parameters
----------
symbol : str
Asset to search active addresses (e.g., BTC)
start_date : int
Initial date timestamp (e.g., 1_614_556_800)
end_date : int
End date timestamp (e.g., 1_614_556_800)
interval : str
Interval frequency (e.g., 24h)
Returns
-------
pd.DataFrame
active addresses over time
Getting charts
crypto.dd.active(symbol: str, start_date: int = 1577836800, end_date: int = 1609459200, interval: str = '24h', export: str = '', external_axes: Optional[List[matplotlib.axes._axes.Axes]] = None, chart=True) -> None
Display active addresses of a certain symbol over time [Source: https://glassnode.org]
Parameters
----------
symbol : str
Asset to search active addresses (e.g., BTC)
start_date : int
Initial date timestamp (e.g., 1_614_556_800)
end_date : int
End date timestamp (e.g., 1_614_556_800)
interval : str
Interval frequency (possible values are: 24h, 1w, 1month)
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