Added sleep
This commit is contained in:
parent
5ae22ddede
commit
c39164f2b7
1 changed files with 3 additions and 1 deletions
2
main.py
2
main.py
|
@ -17,6 +17,8 @@ if __name__ == "__main__":
|
||||||
k.getPrices(currency_pair)
|
k.getPrices(currency_pair)
|
||||||
print("3")
|
print("3")
|
||||||
|
|
||||||
|
time.sleep(1)
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
#print("Main loop")
|
#print("Main loop")
|
||||||
current_price = float(k.krakenWrapper.get_ticker_information(currency_pair)["c"][0][0])
|
current_price = float(k.krakenWrapper.get_ticker_information(currency_pair)["c"][0][0])
|
||||||
|
|
Loading…
Reference in a new issue