From bbc189fbb0500c70ddd1c75331372c4a61295e23 Mon Sep 17 00:00:00 2001 From: CelestialCrafter Date: Thu, 5 Oct 2023 16:10:10 -0500 Subject: [PATCH] update macd's signal todo --- algorithms/macd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/algorithms/macd.py b/algorithms/macd.py index 305bdb2..0ef7ce5 100755 --- a/algorithms/macd.py +++ b/algorithms/macd.py @@ -10,7 +10,7 @@ def algorithm(prices, window_sizes=[12, 26, 9]): def signal(data): macd, signal = data - # Done i made it "not stupid XD" + # @TODO make signals accurate to macd if macd[-1] > signal[-1]: return 'sell' elif macd[-1] < signal[-1]: