@@ -286,7 +286,8 @@ def bullish_divergence(
286286 or second_column_lows not in data .columns :
287287
288288 # Check if the two columns are in the data
289- if first_column not in data .columns or second_column not in data .columns :
289+ if first_column not in data .columns \
290+ or second_column not in data .columns :
290291 raise PyIndicatorException (
291292 f"{ first_column } and { second_column } columns "
292293 "are required in the data"
@@ -412,7 +413,8 @@ def bearish_divergence(
412413 or second_column_highs not in data .columns :
413414
414415 # Check if the two columns are in the data
415- if first_column not in data .columns or second_column not in data .columns :
416+ if first_column not in data .columns \
417+ or second_column not in data .columns :
416418 raise PyIndicatorException (
417419 f"{ first_column } and { second_column } columns "
418420 "are required in the data"
@@ -464,6 +466,7 @@ def bearish_divergence(
464466 df [result_column ] = result
465467 return pl .DataFrame (df ) if is_polars else df
466468
469+
467470def bearish_divergence_multi_dataframe (
468471 first_df : Union [pd .DataFrame , pl .DataFrame ],
469472 second_df : Union [pd .DataFrame , pl .DataFrame ],
0 commit comments