Test a Signal on Known Data
The signal is 1 only when the current close exceeds the previous close. The first signal is 0. Which expected list should the test use?
The signal is 1 only when the current close exceeds the previous close. The first signal is 0. Which expected list should the test use?
close = [100, 102, 102, 99, 101]