Closed progFor103 closed 1 year ago
an in this API have type: buy_market and sell_market, but in api on github there is no this parameter
Dear customer,
About your api question order interface. type supports buy_market, sell_market, here you need to pay special attention, if the type is passed to the market price type (buy_market, sell_market), the price field in the interface represents the transaction amount
Best Regards LBank
When buying from the market, for some reason it buys only 1 coin, instead of the specified number
and param {'symbol': 'lbk_usdt', 'type': 'buy_market', 'price': 0.013, 'amount': 4000, 'api_key':......
and reply
{'result': True, 'data': {'symbol': 'lbk_usdt', 'order_id': 'fbfa0dfc-95ac-497c-a4ad-6c278a4f3483'}, 'error_code': 0, 'ts': 1685702953922}
don't have error