-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Closed
Labels
Description
- OS: window10
- Programming Language version: py
- CCXT version 1.18.562
- Exchange: huobipro
- Method: create_market_buy_order()
the code ::
market_price_buy = float(ticker_base['bid'])
order_result = self.huobi.create_market_buy_order('EOS/BTC', market_buy_size, market_price_buy)
I have add the param: price
But when I use create_market_buy_order() it says error:
InvalidOrder(self.id + " market buy order requires price argument to calculate cost(total amount of quote currency to spend for buying, amount * price). To switch off self warning exception and specify cost in the