calc_history_JPY