ctubio / Krypto-trading-bot

Self-hosted crypto trading bot (automated high frequency market making) written in C++
https://127.0.0.1:3000
Other
3.33k stars 819 forks source link

bot not starting #1102

Closed travka closed 3 years ago

travka commented 3 years ago
K-trading-bot v0.6.1+28 (build on linux-x86_64 at 2021-04-22 12:39:34).
05/07 10:33:51.024825 CF Outbound IP address is xxxxxxxxx.
05/07 10:33:54.790727 GW BINANCE Warrrrning: Error while reading fees: [].
terminate called after throwing an instance of 'nlohmann::detail::type_error'
what(): [json.exception.type_error.306] cannot use value() with array
05/07 10:33:55.142931 Errrror: Aborted (Three-Headed Monkey found):
- exchange: BINANCE
- currency: BTC/USD
- binbuild: K-trading-bot linux-x86_64
- lastbeat: 5326
- tracelog:
16: K-trading-bot(_start+0x2a) [0x55c01c21919a]
15: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xeb) [0x7f8293b3d09b]
14: K-trading-bot(main+0x15) [0x55c01c216105]
13: K-trading-bot(_ZN3₿11KryptoNinja4mainEiPPc+0x1e03) [0x55c01c217f23]
12: K-trading-bot(_ZN3₿11KryptoNinja9handshakeERKSt6vectorISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_ESaIS9_EE+0x7b) [0x55c01c28654b]
11: K-trading-bot(_ZN3₿10GwExchange9handshakeB5cxx11ERKb+0x285) [0x55c01c285845]
10: K-trading-bot(_ZNK3₿9GwBinance9handshakeB5cxx11Ev+0x9ca) [0x55c01c2e061a]
9: K-trading-bot(+0x1d9452) [0x55c01c28a452]
8: K-trading-bot(_ZNK8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerES2_IhSaIhEEE5valueIS8_Li0EEET_RKS8_RKSE_+0x17d) [0x55c01c249ddd]
7: K-trading-bot(+0x502cf4) [0x55c01c5b3cf4]
6: K-trading-bot(+0x502db1) [0x55c01c5b3db1]
5: K-trading-bot(_ZN10__cxxabiv111__terminateEPFvvE+0x6) [0x55c01c5b3d76]
4: K-trading-bot(+0x164291) [0x55c01c215291]
3: /lib/x86_64-linux-gnu/libc.so.6(abort+0x121) [0x7f8293b3b535]
2: /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x10b) [0x7f8293b507bb]
1: /lib/x86_64-linux-gnu/libc.so.6(+0x37840) [0x7f8293b50840]
0: K-trading-bot(_ZN3₿6Ending3wtfEi+0x28f) [0x55c01c281dff]

Yikes!
please copy and paste the error above into a new github issue (noworry for duplicates).
If you agree, go to https://github.com/ctubio/Krypto-trading-bot/issues/new

K exit code 1.
ctubio commented 3 years ago

are you sure BTC/USD exists? are you sure you dont want BTC/USDT?

to see available markets you can use --list argument together with grep, liiike:

 $ ./binance.sh --list | grep BTC | grep USD
K-trading-bot v0.6.1+28 (build on linux-x86_64 at 2021-04-22 12:39:34).
05/07 11:04:11.545217 GW BINANCE allows 1019 currency pairs.
BTC/USDT
BTC/TUSD
BTC/USDC
BTC/BUSD
SUSD/BTC
BTCST/BUSD
BTCST/USDT
05/07 11:04:11.546843 CF --list done (to find a symbol use grep).
K exit code 0.
ctubio commented 3 years ago

:koala: thank you for the output'¡ ima fix the error so it is not so horrible while using alien markets