load
Load crypto currency to get data for
Source Code: [link]
openbb.crypto.load(symbol: str, start_date: Union[datetime.datetime, str, NoneType] = None, interval: Union[str, int] = "1440", exchange: str = "binance", vs_currency: str = "usdt", end_date: Union[datetime.datetime, str, NoneType] = None, source: str = "CCXT")
Parameters
Name | Type | Description | Default | Optional |
---|---|---|---|---|
symbol | str | Coin to get | None | False |
start_date | Union[datetime, Union[str, None]] | Start date to get data from with. - datetime or string format (YYYY-MM-DD) | None | True |
interval | Union[str, int] | The interval between data points in minutes. Choose from: 1, 15, 30, 60, 240, 1440, 10080, 43200 | 1440 | True |
exchange | str: | The exchange to get data from. | binance | True |
vs_currency | str | Quote Currency (Defaults to usdt) | usdt | True |
end_date | Union[datetime, Union[str, None]] | End date to get data from with. - datetime or string format (YYYY-MM-DD) | None | True |
source | str | The source of the data Choose from: CCXT, CoinGecko, YahooFinance | CCXT | True |
Returns
Type | Description |
---|---|
pd.DataFrame | Dataframe consisting of price and volume data |