Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ###want script to keep constantly looping and resetting
- increment number by 1 when it reaches the number reset
- while True:
- l = 7000.00
- print(l)
- print auth_client.buy(price=l,size='0.001',product_id='BTC-USD',type='limit',post_only="true")
- print(l)
- time.sleep(7)
- auth_client.cancel_all(0,1)
- if l == 7110.00:
- l = 7000.00
- else:
- l += 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement