Kucoin / kucoin-futures-python-sdk

MIT License
7 stars 3 forks source link

create_market_order negative response. #20

Open zavataafnan opened 2 years ago

zavataafnan commented 2 years ago

Hi All, Unfortunately, I always got this error, I can put limit order, But I can not create_market_order

order_id = client.create_market_order('XBTUSDM', 'buy', '1', size='60')

200-{"code":"300013","msg":"Unable to proceed the operation, theres no contra order in order book."}

Best Regards, Mostafa

facetoface10101980 commented 2 years ago

I've got the same problem. Any ideas? Anyone?

progressivehed commented 2 years ago

Hello

Do you place this order in sandbox or real environment ?

Also you should also define leverage