mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-31 14:31:20 +00:00
* fix(docs): added margin between sections * feat: removed unused files; updated ga * fix: juan stuff doesnt work * fix: random fix * moon at noon * fix: update docusaurus config * Update controller_doc_classes.py * fix: temp fix * fix: temp fix * Update controller_doc_classes.py * fix: remove old content * fix: taggfix * init * fix: styling and moved file * Update generate_terminal_markdown.py * fix: removed unused images * fix: port new files * Update generate_sdk_markdown.py * Update controller_doc_classes.py Co-authored-by: teh_coderer <me@tehcoderer.com>
1.7 KiB
Vendored
1.7 KiB
Vendored
title, description
| title | description |
|---|---|
| cbpairs | OpenBB SDK Function |
import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem';
cbpairs
Get a list of available currency pairs for trading. [Source: Coinbase]
Source Code: [link]
openbb.crypto.ov.cbpairs(limit: int = 50, sortby: str = "quote_increment", ascend: bool = True)
Parameters
| Name | Type | Description | Default | Optional |
|---|---|---|---|---|
| limit | int | Top n of pairs | 50 | True |
| sortby | str | Key to sortby data | quote_increment | True |
| ascend | bool | Sort descending flag | True | True |
Returns
| Type | Description |
|---|---|
| pd.DataFrame | Available trading pairs on Coinbase |
Displays a list of available currency pairs for trading. [Source: Coinbase]
Source Code: [link]
openbb.crypto.ov.cbpairs_chart(limit: int = 20, sortby: str = "quote_increment", ascend: bool = True, export: str = "")
Parameters
| Name | Type | Description | Default | Optional |
|---|---|---|---|---|
| limit | int | Top n of pairs | 20 | True |
| sortby | str | Key to sortby data | quote_increment | True |
| ascend | bool | Sort ascending flag | True | True |
| export | str | Export dataframe data to csv,json,xlsx file | True |
Returns
This function does not return anything