Files
OpenBB/website/content/api/crypto/ov/exchanges/_index.md
Colin Delahunty 8731fbd692 Auto Generate API Documentation (#2360)
* Started auto doc generation

* Created a markdown document

* Added test changed to md

* Created working version of new documentation

* Made requested changes

* Generate docs for all

Co-authored-by: minhhoang1023 <40023817+minhhoang1023@users.noreply.github.com>
2022-09-20 19:15:54 +01:00

1.0 KiB
Vendored

crypto.ov.exchanges

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

Get underlying data

###crypto.ov.exchanges(sortby: str = 'name', ascend: bool = False) -> pandas.core.frame.DataFrame

Get list of top exchanges from CoinGecko API [Source: CoinGecko]

Parameters
----------
sortby: str
    Key by which to sort data
ascend: bool
    Flag to sort data descending

Returns
-------
pandas.DataFrame
    Trust_Score, Id, Name, Country, Year_Established, Trade_Volume_24h_BTC, Url

Getting charts

###crypto.ov.exchanges(sortby: str = 'name', ascend: bool = False, top: int = 15, links: bool = False, export: str = '', chart=True) -> None

Shows list of top exchanges from CoinGecko. [Source: CoinGecko]

Parameters
----------
top: int
    Number of records to display
sortby: str
    Key by which to sort data
ascend: bool
    Flag to sort data descending
links: bool
    Flag to display urls
export : str
    Export dataframe data to csv,json,xlsx file