kucoin-python-sdk icon indicating copy to clipboard operation
kucoin-python-sdk copied to clipboard

client.create_market_order do nothin on sandbox

Open acairon opened this issue 3 years ago • 3 comments

im trying to

client = Trade(key=api_key, secret=api_secret, passphrase=api_passphrase, is_sandbox=True)

print(client.create_market_order('BTC-USDT', 'buy', funds='100'))

and creates an order id , but then in the control panel of kucoin sandbox it dident buy btc

acairon avatar Oct 20 '21 16:10 acairon

im trying to

client = Trade(key=api_key, secret=api_secret, passphrase=api_passphrase, is_sandbox=True)

print(client.create_market_order('BTC-USDT', 'buy', funds='100'))

and creates an order id , but then in the control panel of kucoin sandbox it dident buy btc

print(client.create_market_order('KCS-USDT', 'buy', funds='100')) use KCS-USDT trading pair

codewc avatar Oct 26 '21 11:10 codewc

Thanks. I had the same issue and this fixed it. But why is this, why can I only trade kcs-usdt?

alsache avatar Nov 04 '21 00:11 alsache

Thanks. I had the same issue and this fixed it. But why is this, why can I only trade kcs-usdt?

Because the sandbox environment is simulated, only the KCS-USDT trading pair is currently simulated

codewc avatar Nov 04 '21 03:11 codewc

Due to many changes in the SDK, please refer to our latest documentation. https://www.kucoin.com/docs/beginners/introduction Since this issue has had no updates for a long time, we will now close it. Please try updating to the latest version of the SDK and modify your code to try again. If you encounter any issues, feel free to provide feedback.

ISAAC-XXYYZZ avatar Jul 29 '24 09:07 ISAAC-XXYYZZ