aboutsummaryrefslogtreecommitdiff
path: root/ema_algo.py
diff options
context:
space:
mode:
authorloit <michael.foiani@gmail.com>2025-07-31 16:04:58 -0400
committerloit <michael.foiani@gmail.com>2025-07-31 16:04:58 -0400
commitb832d364da8c2efe09e3f75828caf73c50d01ce3 (patch)
tree383074acc1936848a87c22a0d212117bb2e13d13 /ema_algo.py
parent6d558749b7bff9250b9f9f48fa4eeb492d231c22 (diff)
run batch code to produce some backtesting results
Diffstat (limited to 'ema_algo.py')
-rw-r--r--ema_algo.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/ema_algo.py b/ema_algo.py
index d5adfa7..8b0899d 100644
--- a/ema_algo.py
+++ b/ema_algo.py
@@ -42,7 +42,6 @@ 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