Advertisement
Guest User

Untitled

a guest
Nov 17th, 2018
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. self.api.trade('buy', market='ETH/BTC', price=0.00000001, amount=695000)
  2.  
  3. time.sleep(3)
  4.  
  5. self.api.trade('buy', market='ETH/BTC', price=2, amount=3)
  6.  
  7. time.sleep(3)
  8.  
  9. self.api.open_orders(market='ETH/BTC')
  10.  
  11. time.sleep(3)
  12.  
  13. self.api.drop_all_ofers()
  14.  
  15.  
  16. {'Success': True, 'Error': None, 'Data': {'OrderId': 2221626314, 'FilledOrders': []}}
  17. {'Success': False, 'Error': 'ERROR: Insufficient Funds.', 'Data': None}
  18. {'Success': True, 'Error': None, 'Data': [{'OrderId': 2221626314, 'TradePairId': 5203, 'Market': 'ETH/BTC', 'Type': 'Buy', 'Rate': 1e-08, 'Amount': 695000.0, 'Total': 0.00695, 'Remaining': 695000.0, 'TimeStamp': '2018-11-17T20:12:58.9134393'}]}
  19. {'Success': True, 'Error': None, 'Data': [2221626314]}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement