Kucoin / kucoin-futures-python-sdk

MIT License
7 stars 3 forks source link

KC-API-KEY not exists #12

Closed AlexField26 closed 1 month ago

AlexField26 commented 3 years ago

Hello community,

has anyone successfully used this lib for trading? I tried a minimal example, but i am always getting the error, that the API-KEY does not exist:

`from kucoin_futures.client import Trade

api_key = 'xxxxxxx' api_secret = 'xxxxxxx' api_passphrase = 'xxxxxxx' url='https://api-futures.kucoin.com'

client = Trade(key=api_key, secret=api_secret, passphrase=api_passphrase, is_sandbox=False, url=url) order_id = client.create_limit_order('XBTUSDM', 'buy', '1', '30', '8600')`

Can anyone assit?

Regards Alex

mehmetboraezer commented 2 years ago

Hi Alex,

I got the same error today, maybe you created API key from spot settings like me. You should create new API key from https://futures.kucoin.com/api. 👍

ISAAC-XXYYZZ commented 1 month ago

Since this issue has already been addressed and there have been no updates for a long time, we will now close it. If you need any further assistance, feel free to ask!