compare_returns: Compare returns visually between two securities
Description
Prints a plotly graph comparing returns, cumulative nominal returns, and cumulative multiplicative returns
Usage
compare_returns(a, b, a_name, b_name)
Value
Returns plotly graph comparing returns, cumulative nominal returns, and cumulative multiplicative returns. Click graph name to un-toggle for better visibility.
Arguments
a
The first dataframe filled with data from the function getdaily()
b
The second dataframe filled with data from the function getdaily()