Skip to content

barmerge

Properties

gaps_off

Type: const string

Merge strategy for requested data.

Data is merged continuously without gaps, all the gaps are filled with the previous nearest existing value.


gaps_on

Type: const string

Merge strategy for requested data.

Data is merged with possible gaps (na values).


lookahead_off

Type: const string

Merge strategy for the requested data position.

Requested barset is merged with current barset in the order of sorting bars by their close time. This merge strategy disables effect of getting data from "future" on calculation on history.


lookahead_on

Type: const string

Merge strategy for the requested data position.

Requested barset is merged with current barset in the order of sorting bars by their opening time. This merge strategy can lead to undesirable effect of getting data from "future" on calculation on history. This is unacceptable in backtesting strategies, but can be useful in indicators.

基於 MIT 許可證發佈。