diff options
author | loit <michael.foiani@gmail.com> | 2025-07-31 14:22:31 -0400 |
---|---|---|
committer | loit <michael.foiani@gmail.com> | 2025-07-31 14:22:31 -0400 |
commit | 6d558749b7bff9250b9f9f48fa4eeb492d231c22 (patch) | |
tree | b91009d1fb940c0b11936f7c1a74be0578c9f0d8 /ema_algo.py | |
parent | 2f195e7f14e57e07ec291e8bfeee6da54ef35575 (diff) |
testing different params
Diffstat (limited to 'ema_algo.py')
-rw-r--r-- | ema_algo.py | 1 |
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 |