Currently, we can get latest close price like so indicators.get_price(), and second latest as indicators.get_price(index=-2) etc. But it would be nice to have indicators.get_price_series(), also with ability to specify column e.g. indicators.get_price_series(column="low"), or indicators.get_price_series(column="volume"). This would be instead of universe.candles.get_single_pair_data(timestamp, sample_count=parameters.lookback_window)
Acceptance criteria
[x] Ability to easily get OHLCV price series for a specific pair in decide_trades using utility methods on indicators variable as described above.
Summary
Currently, we can get latest close price like so
indicators.get_price()
, and second latest asindicators.get_price(index=-2)
etc. But it would be nice to haveindicators.get_price_series()
, also with ability to specify column e.g.indicators.get_price_series(column="low")
, orindicators.get_price_series(column="volume")
. This would be instead ofuniverse.candles.get_single_pair_data(timestamp, sample_count=parameters.lookback_window)
Acceptance criteria
decide_trades
using utility methods onindicators
variable as described above.