Files
OpenBB/website/content/api/crypto/dd/ex/_index.md
Colin Delahunty 0b33cb45f8 Adds auto yaml generation (#2587)
* 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>
2022-09-23 16:43:34 +01:00

1.3 KiB
Vendored

To obtain charts, make sure to add chart=True as the last parameter

Get underlying data

crypto.dd.ex(symbol: str = 'eth-ethereum', sortby: str = 'adjusted_volume_24h_share', ascend: bool = True) -> pandas.core.frame.DataFrame

Get all exchanges for given coin id. [Source: CoinPaprika]

Parameters
----------
symbol: str
    Identifier of Coin from CoinPaprika
sortby: str
    Key by which to sort data. Every column name is valid (see for possible values:
    https://api.coinpaprika.com/v1).
ascend: bool
    Flag to sort data ascending

Returns
-------
pandas.DataFrame
    All exchanges for given coin
    Columns: id, name, adjusted_volume_24h_share, fiats

Getting charts

crypto.dd.ex(symbol: str = 'btc', limit: int = 10, sortby: str = 'adjusted_volume_24h_share', ascend: bool = True, export: str = '', chart=True) -> None

Get all exchanges for given coin id. [Source: CoinPaprika]

Parameters
----------
symbol: str
    Cryptocurrency symbol (e.g. BTC)
limit: int
    Number of records to display
sortby: str
    Key by which to sort data. Every column name is valid (see for possible values:
    https://api.coinpaprika.com/v1).
ascend: bool
    Flag to sort data ascending
export : str
    Export dataframe data to csv,json,xlsx file