crossover#

tradeexecutor.utils.crossover Python module in Trading Strategy framework.

Module description#

Provides functions to detect crossovers.

  • crossover between two series

  • crossover between a series and a constant value

Functions#

contains_cross_over(series1, series2[, ...])

Detect if the first series has crossed over the second.

contains_cross_under(series1, series2[, ...])

Detect if the first series has crossed under the second.