GT::PricesTools - Utility functions for manipulating GT::Prices
This package provide some simple functions to merge data from an existing GT::Prices to a new GT::Prices object. It's especially usefull to convert daily data to a new time frame (ie: weekly/monthly).
convert_prices_in_a_new_time_frame($prices, $WEEKLY); select_prices_by_period($prices, "2000-01-01", "2000-12-31");
multiply_prices_by_number($prices, 3.45); divide_prices_by_number($prices, 2.5);
reverse_prices($prices)
adjust prices by the last rate of a currency adjust prices by daily historical rate of a currency