crossover
Performs crossover analysis on two sets of price data.
Syntax
Fields
Description
prices_0(list)
First set of price data
prices_1(list)
Second set of price data
def crossover(self, prices_0, prices_1): Returns
Returns ‘True’ if prices_0 most recently crossed over prices_1 , ‘False’ otherwise.
Raises
- An
Exceptionis raised if either or both price lists have less than 2 values.