Skip to content

Commit 4236fc5

Browse files
committed
work on examples
1 parent 273b2be commit 4236fc5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/project_x_py/indicators/waddah_attar.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def calculate(
8484
dead_zone_period = kwargs.get("dead_zone_period", 100)
8585
dead_zone_mult = kwargs.get("dead_zone_mult", 3.6)
8686

87-
required_cols = [close_column, high_column, low_column]
87+
required_cols: list[str] = [close_column, high_column, low_column]
8888
self.validate_data(data, required_cols)
8989
self.validate_data_length(data, max(slow_period, bb_period, dead_zone_period))
9090

@@ -203,7 +203,7 @@ def calculate(
203203
)
204204

205205
# Clean up intermediate columns
206-
columns_to_drop = [
206+
columns_to_drop: list[str] = [
207207
"ema_fast",
208208
"ema_slow",
209209
"macd_line",

0 commit comments

Comments
 (0)