cryptocurrencyeda.plot_price
Module Contents
Functions
|
Plot the price of the cryptocurrenty inputted over window specified. |
- cryptocurrencyeda.plot_price.plot_price(df)
Plot the price of the cryptocurrenty inputted over window specified.
- Parameters
df (pandas DataFrame) – Data frame with cryptocurrency name, date and close price.
- Returns
plot (plot object) – An altair plot object.
Examples
- >>> df = retrieve_data(symbol (str=”BTC-USDT”,) – time_period:str=”1day”,
start_date:str=”2018-01-01”, end_date:str=”2022-01-10”,
)
>>> plot_price(df)