ccxt / ccxt

A JavaScript / TypeScript / Python / C# / PHP cryptocurrency trading API with support for more than 100 bitcoin/altcoin exchanges
https://docs.ccxt.com
MIT License
33.06k stars 7.55k forks source link

Create subaccount support kucoin python #10195

Closed art1313 closed 2 months ago

art1313 commented 3 years ago

Hi,

It appears that python library for Kucoin do not support creation of subaccounts. Is this something that is going to be added in the near future?

Thanks.

ttodua commented 2 years ago

As I've found, Kucoin doesn't allow sub-accounts to created from API : https://support.kucoin.plus/hc/en-us/articles/900002862643-Sub-Account 'account' on kucoin seems itself to be an isolated entity, which can generate API keys only for itself (account-scope), and can't create other accounts with its API key.

adamrg73 commented 1 year ago

kucoin api supports this Ive seen it in the api

ttodua commented 1 year ago

kucoin api supports this Ive seen it in the api

the last time i've commented above , there I couldn't find. if they added recently, i dont know. please drop me the link if you saw it.

fniko commented 1 year ago

Create Sub-Account Create Spot APIs for Sub-Account

ttodua commented 2 months ago

the endponts were added already in the past, as implicit endpoints (https://docs.ccxt.com/#/README?id=implicit-api)

you can use

params = {
  password: 123,
  # and any other params listed at https://www.kucoin.com/docs/rest/account/sub-account/create-sub-account
}
result = await ex.privatePostSubUserCreated(params)

let us know if anyone sees any issue in ccxt