aboutsummaryrefslogtreecommitdiff
path: root/ema_algo.py
diff options
context:
space:
mode:
Diffstat (limited to 'ema_algo.py')
-rw-r--r--ema_algo.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ema_algo.py b/ema_algo.py
index 8b0899d..d5adfa7 100644
--- a/ema_algo.py
+++ b/ema_algo.py
@@ -42,6 +42,7 @@ class Ema_Algo(Algo):
# determine the sign from the most recent price
sign_signal = ema_5[-1] - ema_13[-1]
+ # sign_signal = -sign_signal
# current position, (liquid, shares)
if sign_signal > 0:
return 1.0 # buy max shares