Advertisement
Guest User

Untitled

a guest
Aug 5th, 2018
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. while True:
  2. l = 7000.00
  3. print auth_client.buy(price=l,size='0.001',product_id='BTC-USD'$
  4.  
  5. print(l)
  6. time.sleep(7)
  7. auth_client.cancel_all(0,1)
  8.  
  9. if l >= 7110.00:
  10. l = 7000.00
  11.  
  12. else:
  13. print auth_client.buy(price=l,size='0.001',product_id='$
  14. l + 1
  15. time.sleep(7)
  16. auth_client.cancel_all(0,1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement