Drop lingering print

bar_select
Tyler Goodlet 2020-10-16 12:15:07 -04:00
parent f4c38621d5
commit 58d3234f74
1 changed files with 0 additions and 2 deletions

View File

@ -72,7 +72,6 @@ def ema(
else: else:
s[0] = ylast s[0] = ylast
print(s)
for i in range(1, n): for i in range(1, n):
s[i] = y[i] * alpha + s[i-1] * (1 - alpha) s[i] = y[i] * alpha + s[i-1] * (1 - alpha)
@ -133,7 +132,6 @@ def wma(
assert length == len(weights) assert length == len(weights)
# return np.convolve(ohlcv.array['close'], weights, 'valid')
return np.convolve(signal, weights, 'valid') return np.convolve(signal, weights, 'valid')