Relative Content

Tag Archive for pythonpandas

How to on a rolling window pass two column vectors instead of one?

I’m computing technical indicators on a rolling basis to avoid any look-ahead bias, for example, for model training and back-testing. To that end I would like to compute the indicator ForceIndexIndicator using the TA Python project. However this needs two inputs instead of one: close and volume, and I can’t get hold of both on my rolling – apply pipeline:

How to on a rolling window pass two column vectors instead of one?

I’m computing technical indicators on a rolling basis to avoid any look-ahead bias, for example, for model training and back-testing. To that end I would like to compute the indicator ForceIndexIndicator using the TA Python project. However this needs two inputs instead of one: close and volume, and I can’t get hold of both on my rolling – apply pipeline: