Skip to main content

run_twin_spread_nb

Compute trading signals based on a spread strategy. The function generates long and short entry/exit signals based on two opposite indicators. It checks the conditions where one asset is up and the other is down at the same time for initiating positions. Parameters: Returns: