-
-
Notifications
You must be signed in to change notification settings - Fork 162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kucoin - Your strategies specifies a trading account that doesn't exist #786
Comments
@sebasira hi, can you show me your trading bot logs at startup, it should display all the accounts existing ? |
Here they are: 2021-10-26 09:16:03.320 INFO 11460 --- [ restartedMain] uration$$EnhancerBySpringCGLIB$$7211398d : Exchange connection with kucoin driver.
2021-10-26 09:16:03.620 INFO 11460 --- [ restartedMain] uration$$EnhancerBySpringCGLIB$$7211398d : Exchange connection with username <the-username> successful (Dry mode: false / Sandbox: false.)
2021-10-26 09:16:03.653 INFO 11460 --- [ restartedMain] uration$$EnhancerBySpringCGLIB$$7211398d : Supported currency pairs by the exchange: REQ/ETH, REQ/BTC, NULS/ETH, NULS/BTC, CVC/BTC, NEBL/BTC, SNT/ETH, SNT/BTC, PPT/ETH, PPT/BTC, BCHSV/BTC, POWR/BTC, POWR/ETH, BCD/BTC, BCD/ETH, KNC/ETH, KNC/BTC, DACC/BTC, OMG/ETH, OMG/BTC, CHSB/BTC, CHSB/ETH, MANA/BTC, BTM/BTC, AMB/ETH, MANA/ETH, AMB/BTC, BTM/ETH, ETN/BTC, DGB/BTC, DGB/ETH, QTUM/BTC, AION/ETH, AION/BTC, WTC/BTC, ENJ/BTC, ENJ/ETH, SNX/ETH, OPEN/ETH, TIME/ETH, SNX/USDT, OPEN/BTC, SNX/BTC, TIME/BTC, XLM/USDT, VET/USDT, DASH/ETH, UTK/BTC, UTK/ETH, DASH/BTC, GO/USDT, AXPR/ETH, AXPR/BTC, ACT/ETH, ACT/BTC, EOS/KCS, ETC/ETH, EOS/BTC, PLAY/BTC, ETC/BTC, EOS/USDT, EOS/ETH, GAS/BTC, BCH/BTC, PLAY/ETH, ETC/USDT, DENT/ETH, DENT/BTC, MWAT/BTC, MWAT/ETH, DRGN/BTC, DRGN/ETH, LTC/USDT, CV/BTC, LTC/ETH, CV/ETH, LTC/BTC, DBC/ETH, DBC/BTC, KEY/BTC, KEY/ETH, IOST/ETH, ADB/ETH, ADB/BTC, HPB/BTC, HPB/ETH, IOST/BTC, TEL/BTC, CXO/BTC, WAX/BTC, COFI/BTC, TEL/ETH, WAX/ETH, COFI/ETH, CXO/ETH, CAPP/ETH, NANO/USDT, TKY/BTC, CAPP/BTC, NANO/BTC, NANO/ETH, TKY/ETH, ELF/ETH, COV/ETH, ZIL/BTC, ELF/BTC, LTC/KCS, MAN/BTC, COV/BTC, ZIL/ETH, TOMO/ETH, ONT/BTC, GO/BTC, TOMO/BTC, BAX/ETH, LYM/ETH, TRAC/ETH, IOTX/ETH, SOUL/BTC, ONT/ETH, LOOM/ETH, TRAC/BTC, DATX/BTC, DATX/ETH, QKC/BTC, IOTX/BTC, LYM/USDT, GO/ETH, QKC/ETH, TKY/USDT, ONT/USDT, BAX/BTC, LOOM/BTC, SOUL/ETH, LYM/BTC, CS/BTC, WAN/ETH, WAN/BTC, DOCK/BTC, ETN/ETH, AOA/USDT, DOCK/ETH, DACC/ETH, CS/ETH, AOA/BTC, DAG/ETH, SUSD/USDT, ELA/BTC, CBC/BTC, TRX/BTC, ZRX/BTC, XLM/ETH, TRX/ETH, XLM/BTC, SUSD/ETH, DAG/BTC, CPC/ETH, TRX/USDT, SUSD/BTC, MVP/BTC, CPC/BTC, ZRX/ETH, MVP/ETH, ELA/ETH, CRPT/ETH, OLT/ETH, OLT/BTC, MTC/ETH, CRPT/BTC, EDN/ETH, BCHSV/USDT, BCHSV/ETH, DCR/ETH, DCR/BTC, KCS/USDT, KCS/ETH, KCS/BTC, VET/BTC, VET/ETH, NEO/ETH, NEO/BTC, NEO/USDT, USDT/PAX, USDT/TUSD, NEO/KCS, USDT/USDC, ETH/PAX, ETH/USDC, ETH/TUSD, BCH/USDT, BTC/TUSD, ETH/USDT, BTC/USDT, BTC/PAX, ETH/BTC, BTC/USDC, MHC/ETH, MHC/BTC, CSP/BTC, CSP/ETH, LOKI/BTC, LOKI/ETH, NRG/BTC, AVA/USDT, FET/BTC, FET/ETH, ANKR/BTC, MHC/USDT, XMR/BTC, XMR/ETH, RBTC/BTC, RIF/BTC, TRTL/BTC, TRTL/ETH, MTV/BTC, MTV/ETH, CRO/BTC, MTV/USDT, KMD/BTC, KMD/USDT, RFOX/USDT, TEL/USDT, AERGO/USDT, XMR/USDT, TRX/KCS, ATOM/BTC, ATOM/ETH, ATOM/USDT, ATOM/KCS, ETN/USDT, FTM/USDT, TOMO/USDT, VSYS/USDT, OCEAN/BTC, OCEAN/ETH, CHR/BTC, CHR/USDT, FX/BTC, FX/ETH, NIM/BTC, NIM/ETH, COTI/BTC, COTI/USDT, NRG/ETH, PIVX/BTC, PIVX/ETH, BNB/BTC, BNB/USDT, JAR/BTC, JAR/USDT, ALGO/BTC, ALGO/ETH, ALGO/USDT, XEM/BTC, XEM/USDT, CIX100/USDT, XTZ/BTC, XTZ/USDT, ZEC/BTC, ZEC/USDT, ADA/BTC, ADA/USDT, R/USDT, WXT/BTC, WXT/USDT, FORESTPLUS/BTC, FORESTPLUS/USDT, BOLT/BTC, BOLT/USDT, ARPA/USDT, SERO/USDT, CHZ/BTC, CHZ/USDT, DAPPT/BTC, DAPPT/USDT, NOIA/BTC, NOIA/USDT, WIN/BTC, WIN/USDT, DERO/BTC, DERO/USDT, BTT/USDT, EOSC/USDT, FKX/BTC, FKX/ETH, ENQ/BTC, ENQ/USDT, ONE/BTC, ONE/USDT, TOKO/BTC, TOKO/USDT, VID/BTC, VID/USDT, LUNA/BTC, LUNA/USDT, MXW/USDT, SXP/BTC, SXP/USDT, VIDT/BTC, AKRO/BTC, AKRO/USDT, ROOBEE/BTC, BTT/TRX, WIN/TRX, MAP/BTC, MAP/USDT, AMPL/BTC, AMPL/USDT, DAG/USDT, POL/USDT, ARX/USDT, NWC/BTC, NWC/USDT, BEPRO/BTC, BEPRO/USDT, VRA/BTC, VRA/USDT, KSM/BTC, KSM/USDT, DASH/USDT, SUTER/USDT, ACOIN/USDT, SUTER/BTC, SENSO/USDT, PRE/BTC, XDB/USDT, SYLO/USDT, WOM/USDT, SENSO/BTC, DGB/USDT, LYXE/USDT, LYXE/ETH, XDB/BTC, STX/BTC, STX/USDT, USDN/USDT, XSR/USDT, COMP/USDT, CRO/USDT, DGTX/ETH, DGTX/BTC, KAI/USDT, KAI/BTC, WEST/BTC, WEST/USDT, EWT/BTC, WAVES/USDT, WAVES/BTC, ORN/USDT, AMPL/ETH, BNS/USDT, BNS/BTC, MKR/USDT, SUKU/BTC, MLK/BTC, MLK/USDT, JST/USDT, KAI/ETH, SUKU/USDT, DIA/USDT, DIA/BTC, LINK/BTC, LINK/USDT, DMG/USDT, DOT/USDT, DOT/BTC, SHA/BTC, SHA/USDT, EWT/USDT, USDJ/USDT, EFX/BTC, CKB/BTC, CKB/USDT, UMA/USDT, ALEPH/USDT, VELO/USDT, SUN/USDT, BUY/USDT, YFI/USDT, LOKI/USDT, UNI/USDT, SNTVT/BTC, SNTVT/ETH, UOS/USDT, UOS/BTC, NIM/USDT, DEGO/USDT, DEGO/ETH, UDOO/ETH, RFUEL/USDT, FIL/USDT, UBX/ETH, REAP/USDT, AAVE/USDT, AAVE/BTC, TONE/BTC, TONE/ETH, UQC/BTC, UQC/ETH, OPCT/BTC, OPCT/ETH, PRE/USDT, COMB/USDT, SHR/BTC, SHR/USDT, WIS/BTC, VIDT/USDT, UBXT/USDT, BCHA/USDT, ROSE/USDT, BTC/UST, ETH/UST, USDT/UST, LUNA/UST, USDC/USDT, CTI/USDT, CTI/ETH, ETH2/ETH, BUX/BTC, XHV/USDT, PLU/USDT, GRT/USDT, CAS/BTC, CAS/USDT, MSWAP/BTC, MSWAP/USDT, GOM2/BTC, GOM2/USDT, REVV/BTC, REVV/USDT, LON/USDT, 1INCH/USDT, LOC/USDT, API3/USDT, UNFI/USDT, HTR/USDT, FRONT/USDT, FRONT/BTC, WBTC/BTC, WBTC/ETH, DOT/UST, ATOM/UST, AAVE/UST, YFI/UST, SNX/UST, USDC/UST, MIR/USDT, MIR/UST, LTC/USDC, BCH/USDC, HYDRA/USDT, DFI/USDT, DFI/BTC, CRV/USDT, SUSHI/USDT, FRM/USDT, EOS/USDC, BCHSV/USDC, PROPS/USDT, ZEN/USDT, PROPS/BTC, CUDOS/USDT, ADA/USDC, REN/USDT, LRC/USDT, LINK/USDC, KLV/USDT, KLV/BTC, BOA/USDT, THETA/USDT, QNT/USDT, BAT/USDT, DOGE/USDT, DOGE/USDC, DAO/USDT, STRONG/USDT, TRIAS/USDT, TRIAS/BTC, DOGE/BTC, MITX/BTC, MITX/USDT, CAKE/USDT, ORAI/USDT, ZEE/USDT, LTX/USDT, LTX/BTC, MASK/USDT, KLV/TRX, IDEA/USDT, PHA/USDT, PHA/ETH, BCH/KCS, SRK/USDT, SRK/BTC, PIVX/USDT, LUNA/KCS, ADA/KCS, HTR/BTC, BCHSV/KCS, DOT/KCS, LINK/KCS, MIR/KCS, BNB/KCS, XLM/KCS, VET/KCS, SWINGBY/USDT, SWINGBY/BTC, XHV/BTC, DASH/KCS, UNI/KCS, AAVE/KCS, DOGE/KCS, ZEC/KCS, XTZ/KCS, GRT/KCS, NANO/KCS, ALGO/KCS, EWT/KCS, GAS/USDT, AVAX/USDT, AVAX/BTC, KRL/BTC, KRL/USDT, POLK/USDT, POLK/BTC, ENJ/USDT, MANA/USDT, RNDR/USDT, RNDR/BTC, RLY/USDT, ANC/USDT, ANC/UST, SKEY/USDT, LAYER/USDT, TARA/USDT, TARA/ETH, IOST/USDT, DYP/USDT, DYP/ETH, XYM/USDT, XYM/BTC, PCX/USDT, PCX/BTC, ORBS/USDT, ORBS/BTC, BTC3L/USDT, BTC3S/USDT, ETH3L/USDT, ETH3S/USDT, ANKR/USDT, DSLA/USDT, DSLA/BTC, SPI/USDT, GSPI/USDT, SAND/USDT, VAI/USDT, XCUR/USDT, XCUR/BTC, FLUX/USDT, OMG/USDT, ZIL/USDT, DODO/USDT, CBC/USDT, MAN/USDT, BAX/USDT, BOSON/USDT, BOSON/ETH, PUNDIX/USDT, PUNDIX/BTC, WAX/USDT, HT/USDT, PDEX/USDT, LABS/USDT, LABS/ETH, GMB/USDT, PHNX/USDT, PHNX/BTC, HAI/USDT, EQZ/USDT, EQZ/BTC, FORTH/USDT, CARR/USDT, CARR/BTC, HORD/USDT, CGG/USDT, UBX/USDT, GHX/USDT, TCP/USDT, STND/USDT, STND/ETH, TOWER/USDT, TOWER/BTC, ACE/USDT, LOCG/USDT, CARD/USDT, FLY/USDT, CWS/USDT, XDC/USDT, XDC/ETH, STRK/BTC, STRK/ETH, SHIB/USDT, POLX/USDT, KDA/USDT, KDA/BTC, ICP/USDT, ICP/BTC, STC/USDT, STC/BTC, GOVI/USDT, GOVI/BTC, FKX/USDT, CELO/USDT, CELO/BTC, CUSD/USDT, CUSD/BTC, FCL/USDT, MATIC/USDT, MATIC/BTC, ELA/USDT, CRPT/USDT, OPCT/USDT, OGN/USDT, OGN/BTC, OUSD/USDT, OUSD/BTC, TLOS/USDT, TLOS/BTC, LNCHX/USDT, YOP/USDT, YOP/ETH, GLQ/USDT, GLQ/BTC, NIF/USDT, MXC/USDT, ERSDL/USDT, HOTCROSS/USDT, ADA3L/USDT, ADA3S/USDT, HYVE/USDT, HYVE/BTC, DAPPX/USDT, DPI/USDT, KONO/USDT, PRQ/USDT, MAHA/USDT, MAHA/BTC, FEAR/USDT, PYR/USDT, PYR/BTC, PROM/USDT, PROM/BTC, GLCH/USDT, UNO/USDT, ALBT/USDT, ALBT/ETH, XCAD/USDT, EOS3L/USDT, EOS3S/USDT, BCH3L/USDT, BCH3S/USDT, ELON/USDT, APL/USDT, APL/BTC, FCL/ETH, VEED/USDT, VEED/BTC, DIVI/USDT, PDEX/BTC, JUP/USDT, JUP/ETH, POLS/USDT, POLS/BTC, LPOOL/USDT, LPOOL/BTC, LSS/USDT, VET3L/USDT, VET3S/USDT, LTC3L/USDT, LTC3S/USDT, ETHO/USDT, ETHO/BTC, ABBC/USDT, ABBC/BTC, KOK/USDT, ROSN/USDT, DORA/USDT, DORA/BTC, ZCX/USDT, ZCX/BTC, NORD/USDT, GMEE/USDT, SFUND/USDT, XAVA/USDT, AI/USDT, ALPACA/USDT, IOI/USDT, NFT/USDT, NFT/TRX, MNST/USDT, MEM/USDT, AGIX/USDT, AGIX/BTC, AGIX/ETH, CQT/USDT, AIOZ/USDT, MARSH/USDT, HAPI/USDT, MODEFI/USDT, MODEFI/BTC, YFDAI/USDT, YFDAI/BTC, GENS/USDT, FORM/USDT, ARRR/USDT, ARRR/BTC, TOKO/KCS, CEUR/USDT, CEUR/BTC, EXRD/USDT, NGM/USDT, LPT/USDT, STMX/USDT, ASD/USDT, BOND/USDT, HAI/BTC, SOUL/USDT, 2CRZ/USDT, 2CRZ/BTC, ZORT/USDT, NEAR/USDT, NEAR/BTC, DFYN/USDT, OOE/USDT, CFG/USDT, CFG/BTC, AXC/USDT, AXS/USDT, CLV/USDT, ROUTE/USDT, KAR/USDT, EFX/USDT, BURP/USDT, XDC/BTC, SHFT/USDT, PMON/USDT, DPET/USDT, ERG/USDT, ERG/BTC, SOL/USDT, SLP/USDT, LITH/USDT, LITH/ETH, XCH/USDT, HAKA/USDT, LAYER/BTC, MTL/USDT, MTL/BTC, IOTX/USDT, GALAX/USDT, REQ/USDT, TXA/USDT, TXA/USDC, CIRUS/USDT, QI/USDT, QI/BTC, ODDZ/USDT, PNT/USDT, PNT/BTC, LUNA/ETH, XPR/USDT, XPR/BTC, TRIBE/USDT, SHFT/BTC, MOVR/USDT, MOVR/ETH, WOO/USDT, WILD/USDT, QRDO/USDT, QRDO/ETH, SDN/USDT, SDN/ETH, MAKI/USDT, MAKI/BTC, REP/USDT, REP/BTC, REP/ETH, BNT/USDT, BNT/BTC, BNT/ETH, OXT/USDT, OXT/BTC, OXT/ETH, BAL/USDT, BAL/BTC, BAL/ETH, STORJ/USDT, STORJ/BTC, STORJ/ETH, YGG/USDT, NDAU/USDT, SDAO/USDT, SDAO/ETH, XRP3L/USDT, XRP3S/USDT, SKL/USDT, SKL/BTC, NMR/USDT, NMR/BTC, IXS/USDT, TRB/USDT, TRB/BTC, DYDX/USDT, XYO/USDT, GTC/USDT, GTC/BTC, LUNA3L/USDT, LUNA3S/USDT, EQX/USDT, EQX/BTC, RLC/USDT, RLC/BTC, XPRT/USDT, EGLD/USDT, EGLD/BTC, HBAR/USDT, HBAR/BTC, DOGE3L/USDT, DOGE3S/USDT, FLOW/USDT, FLOW/BTC, NKN/USDT, NKN/BTC, PBX/USDT, SOL3L/USDT, SOL3S/USDT, MLN/USDT, MLN/BTC, XNL/USDT, SOLVE/USDT, WNCG/USDT, WNCG/BTC, DMTR/USDT, KEEP/USDT, KEEP/BTC, LINK3L/USDT, LINK3S/USDT, DOT3L/USDT, DOT3S/USDT, UMB/USDT, CTSI/USDT, CTSI/BTC, ALICE/USDT, ALICE/BTC, ALICE/ETH, OPUL/USDT, DINO/USDT, ILV/USDT, BAND/USDT, BAND/BTC, FTT/USDT, FTT/BTC, DVPN/USDT, SKU/USDT, SKU/BTC, EDG/USDT, SLIM/USDT, TLM/USDT, TLM/BTC, TLM/ETH, DEXE/USDT, DEXE/BTC, DEXE/ETH, MATTER/USDT, CUDOS/BTC, RUNE/USDT, RUNE/BTC, RMRK/USDT, SOV/USDT, BMON/USDT, C98/USDT, BLOK/USDT, SOLR/USDT, ATOM3L/USDT, ATOM3S/USDT, UNI3L/USDT, UNI3S/USDT, WSIENNA/USDT, PUSH/USDT, PUSH/BTC, FORM/ETH, NTVRK/USDT, NTVRK/USDC, AXS3L/USDT, AXS3S/USDT, FTM3L/USDT, FTM3S/USDT, FLAME/USDT, AGLD/USDT, NAKA/USDT, YLD/USDT, TONE/USDT, REEF/USDT, REEF/BTC, TIDAL/USDT, TVK/USDT, TVK/BTC, INJ/USDT, INJ/BTC, BNB3L/USDT, BNB3S/USDT, MATIC3L/USDT, MATIC3S/USDT, NFTB/USDT, VEGA/USDT, VEGA/ETH, ALPHA/USDT, ALPHA/BTC, BADGER/USDT, BADGER/BTC, UNO/BTC, ZKT/USDT, AR/USDT, AR/BTC, XVS/USDT, XVS/BTC, AERGO/BTC, XYO/ETH, XRP/TUSD, ETH/DAI, LSK/BTC, GMB/ETH, GMB/BTC, KAT/USDT, MKR/BTC, KAT/BTC, XRP/USDC, XYO/BTC, LSK/ETH, XRP/BTC, XRP/KCS, AVA/BTC, XRP/PAX, XRP/USDT, FTM/BTC, USDT/DAI, BTC/DAI, AVA/ETH, MKR/ETH, XRP/ETH, FTM/ETH, VSYS/BTC, MKR/DAI, BTT/BTC, BTT/ETH, SOLVE/BTC, GRIN/BTC, GRIN/ETH, GRIN/USDT.
2021-10-26 09:16:03.664 INFO 11460 --- [ restartedMain] o.s.s.c.ThreadPoolTaskScheduler : Initializing ExecutorService 'taskScheduler'
2021-10-26 09:16:04.107 INFO 11460 --- [ restartedMain] guration$$EnhancerBySpringCGLIB$$b0e47df : Available accounts on the exchange:
2021-10-26 09:16:04.112 WARN 11460 --- [ restartedMain] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tech.cassandre.trading.bot.configuration.StrategiesAutoConfiguration': Invocation of init method failed; nested exception is tech.cassandre.trading.bot.util.exception.ConfigurationException: Your strategies specifies a trading account that doesn't exist Also notice that this is for Xchange v5.0.8 and v5.0.9 for newer version I get the error from #787. Maybe what should be done is fix #787 instead of this issue. Maybe there's been a change in the API what would make the old version never work again. |
@sebasira when you created the API in Kucoin, did you set the right permissions? |
@straumat yes, I've create it following that same guide. As said before, it's a brand new account. It has zero balance. Could you also create a brand new account to see if something has change for newer accounts? Also I've perform the And this is how I see my API Listed in Kucoin: I've notice a green V2 on it, for what is worth. |
@sebasira It should display trading account even without balance :( |
Release number
Cassandre v5.0.5
Describe the bug
I'm trying to learn how to use this so I started with the Quick Start. First I setup a
Binance
account with no issue. Then I try withKucoin
(real thing, not the sandbox) and I get:I place a breakpoint inside the method
getTradeAccount
, this is it's body:And I can see that the accounts is empty, so that triggers the error. What I do not know is why are they empty. It's a newly created account (Kucoin) I've create just to test it. It has zero balance, but in the kucoin site I can see there are: Main account, Trading Account, and Pool-X Account
To Reproduce
The demo in the QuickStart with Cassanfre v5.0.5 and XChange v5.0.8 or v5.0.9 (for newer version of XChange I get another issue)
The text was updated successfully, but these errors were encountered: