cryptocurrencyeda.avg_daily_return

Module Contents

Functions

avg_daily_return(prices)

Outputs the average daily return of the inputted cryptocurrency price.

cryptocurrencyeda.avg_daily_return.avg_daily_return(prices)

Outputs the average daily return of the inputted cryptocurrency price.

Parameters

prices (array-like) – Inputted cryptocurrency price.

Returns

Average daily return of the cryptocurrency.

Return type

float

Examples

>>> avg_daily_return("BTCBitcoin")
>>> 0.1