calculate yield_cash and yield_market per cycle