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

@ -16,7 +16,9 @@ if __name__ == "__main__":
time.sleep(1) time.sleep(1)
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])