mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-12 04:13:06 +00:00
* 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>
740 B
Vendored
740 B
Vendored
crypto.load
Get underlying data
###crypto.load(symbol: 'str', start_date: 'datetime' = datetime.datetime(2019, 9, 16, 18, 22, 32, 850276), interval: 'str' = '1440', exchange: 'str' = 'binance', vs_currency: 'str' = 'usdt', end_date: 'datetime' = datetime.datetime(2022, 9, 20, 18, 22, 32, 850282), source: 'str' = 'ccxt')
Load crypto currency to perform analysis on CoinGecko is used as source for price and YahooFinance for volume.
Parameters
----------
symbol: str
Coin to get
vs: str
Quote Currency (usd or eur), by default usd
days: int
Data up to number of days ago, by default 365
Returns
-------
pd.DataFrame
Dataframe consisting of price and volume data