Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- xyzqq = 0
- q =7110.80
- while True:
- print auth_client.sell(price=q,size='0.001',product_id='BTC-USD',type='limit',post_only="true")
- time.sleep(5)
- auth_client.cancel_all(0,1)
- if q >= 10000.20:
- q == 7110.20
- else:
- print auth_client.sell(price=q,size='0.001',product_id='BTC-USD',type='limit',post_only="true")
- time.sleep(5)
- auth_client.cancel_all(0,1)
- xyzqq +=1
- q+=1
- #############Not working, doesn't increment stays on the same number
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement