code: def buy_market_order(self, amount, base="btc", quote="usd"):
          
          data = {'amount': amount}
          url = self._construct_url("buy/market/", base, quote)
          return self._post(url, data=data, return_json=True, version=2)
docs: Order to buy amount of bitcoins for market price.