Files
OpenBB/website/content/api/crypto/dd/active/_index.md
Colin Delahunty 0c9a4fafc4 Nhits (#2779)
* Added nhits, updated docs

* Added nhits docs

* Updated docs image

* Added funot docs

* Fixed martin changes

* Added nhits tests

* Fixed hugo issues

Co-authored-by: martinb-bb <105685594+martinb-bb@users.noreply.github.com>
2022-10-11 12:03:28 -04:00

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 = 1665471332) -> 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