Added sleep

This commit is contained in:
Logan G 2021-02-02 15:51:46 -07:00
parent 5ae22ddede
commit c39164f2b7
Signed by: logan
GPG key ID: E328528C921E7A7A

View file

@ -17,6 +17,8 @@ if __name__ == "__main__":
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])