|
For the gotchas look for calls to GT::Prices::add_prices Th. Thomas Weigert wrote: After all this discussion, from the little I can glean about your goals, the following is what I would do: (i) Generalize GT/Prices.pm so that it loads not just the standard items, but your additional data also. I would create an option value indicating the name and order of the fields (this exists already for the standard data) and then load all the items. These would then be in the prices array as additional series. You need to double check the timeframe conversion of a price series to see whether you need to extend them for copying your additional data and be at the lookout for other such gotchas. (ii) Generalize GT/Indicators/Prices.pm so that it allows to access all the additional data and load it into the returned series of the indicator. This again should take the option and work of that, similar to the standard values. Both of these are straightforward extensions of the existing work (other than the looking for the gotchas). Th. Sumit Sanghai wrote: |