candle
Get candles for chosen trading pair and time interval. [Source: Coinbase]
Source Code: [link]
openbb.crypto.dd.candle(symbol: str, interval: str = "24hour")
Parameters
| Name | Type | Description | Default | Optional |
|---|---|---|---|---|
| symbol | str | Trading pair of coins on Coinbase e.g ETH-USDT or UNI-ETH | None | False |
| interval | str | Time interval. One from 1min, 5min ,15min, 1hour, 6hour, 24hour, 1day | 24hour | True |
Returns
| Type | Description |
|---|---|
| pd.DataFrame | Candles for chosen trading pair. |
Examples
from openbb_terminal.sdk import openbb
openbb.crypto.dd.candle(symbol="eth-usdt", interval="24hour")