Whitespace
Added ability to calculate from historical rates

Fix exchange with historical data and refactor with calculate exchange method

Added tests to check when the historical cache was updated