Files
OpenBB/website/versioned_docs/version-v3/sdk/reference/crypto/dd/ex.md
Theodore Aptekarev f72bc8ccec Add Versioned Documentation (#5470)
* Adding versioning to docs

---------

Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com>
Co-authored-by: tehcoderer <me@tehcoderer.com>
2023-09-29 11:49:05 +02:00

2.1 KiB
Vendored

title, description
title description
ex OpenBB SDK Function

import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem';

ex

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

Source Code: [link]

openbb.crypto.dd.ex(symbol: str = "BTC", sortby: str = "adjusted_volume_24h_share", ascend: bool = True)

Parameters

Name Type Description Default Optional
symbol str Cryptocurrency symbol (e.g. BTC) BTC True
sortby str Key by which to sort data. Every column name is valid (see for possible values:
https://api.coinpaprika.com/v1).
adjusted_volume_24h_share True
ascend bool Flag to sort data ascending True True

Returns

Type Description
pd.DataFrame All exchanges for given coin
Columns: id, name, adjusted_volume_24h_share, fiats

Prints table showing all exchanges for given coin id. [Source: CoinPaprika]

Source Code: [link]

openbb.crypto.dd.ex_chart(symbol: str = "btc", limit: int = 10, sortby: str = "adjusted_volume_24h_share", ascend: bool = True, export: str = "")

Parameters

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

Returns

This function does not return anything