Fixed annoying

This commit is contained in:
Logan G 2021-01-31 01:18:06 -07:00
parent a60881f804
commit 4e67fb531a
Signed by: logan
GPG key ID: E328528C921E7A7A

14
main.py
View file

@ -4,10 +4,12 @@ import matplotlib.pyplot as plt
from api.kraken import Kraken from api.kraken import Kraken
from api.fake import Fake from api.fake import Fake
k = Kraken()
k.calculateEMA()
plt.plot(k.shortEMA) if __name__ == "__main__":
plt.plot(k.longEMA) k = Kraken()
plt.plot(k.prices) k.calculateEMA()
plt.show()
plt.plot(k.shortEMA)
plt.plot(k.longEMA)
plt.plot(k.prices)
plt.show()