fill_future_gap#

API documentation for tradingstrategy.utils.forward_fill.fill_future_gap Python function.

fill_future_gap(df, timestamp, columns, pair_hint=None)[source]#

Add a virtual OHLCV value at the end of the pair OHLCV data series if there is no real value.

Parameters:
  • timestamp (Timestamp) –

  • columns (Collection[str]) –

  • pair_hint (str | None) –