Fixed annoying
This commit is contained in:
parent
a60881f804
commit
4e67fb531a
1 changed files with 8 additions and 6 deletions
14
main.py
14
main.py
|
@ -4,10 +4,12 @@ import matplotlib.pyplot as plt
|
|||
from api.kraken import Kraken
|
||||
from api.fake import Fake
|
||||
|
||||
k = Kraken()
|
||||
k.calculateEMA()
|
||||
|
||||
plt.plot(k.shortEMA)
|
||||
plt.plot(k.longEMA)
|
||||
plt.plot(k.prices)
|
||||
plt.show()
|
||||
if __name__ == "__main__":
|
||||
k = Kraken()
|
||||
k.calculateEMA()
|
||||
|
||||
plt.plot(k.shortEMA)
|
||||
plt.plot(k.longEMA)
|
||||
plt.plot(k.prices)
|
||||
plt.show()
|
||||
|
|
Loading…
Reference in a new issue