Files
OpenBB/website/content/api/crypto/load/_index.md
Colin Delahunty 8731fbd692 Auto Generate API Documentation (#2360)
* 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>
2022-09-20 19:15:54 +01:00

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