calculate_daily_values function

Daily equity curve from positions and daily prices