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