Here is the documentation I'm following and to place a buy order, the syntax follows the following format:

# Buy 0.01 BTC @ 100 USD
auth_client.buy(price='100.00', #USD
               size='0.01', #BTC

That's straight forward but i'd prefer to place a market order using $100 but I'm not sure how.

Any help would be much appreciated.

  • Set the price to $100 over the current price? – xaav Jan 8 '18 at 0:12
  • Just out of curiosity, how does the engine resolve orders that are more than adequate? In other words, the seller wants to sell for much less than the buyer wants to buy? – xaav Jan 8 '18 at 0:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.