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.37k stars 823 forks source link

Connecting error on latest commit / changes in K.sh #372

Closed b-seite closed 6 years ago

b-seite commented 6 years ago

Hi Carles,

i tried to update from 488f80ad1e2d11f66299dc5ef101d9299806a766 to latest commit but my bots won't connect (GDAX & Bitfinex) They both try to connect every 10sec. but without success. GUI Background is red. When i go back to 488f80ad1e2d11f66299dc5ef101d9299806a766 the connection error is gone and they are working as expected

serzhiio commented 6 years ago

This problem occurs because you didn't change *.sh file. Try to remove all lines with HitBTC WS strings. It helped me.

b-seite commented 6 years ago

Yeah thanks a lot that was it. Maybe we change this issue to a sticky note or something to remind others:

For the latest commits you have to remove these Lines from your K.sh files :

## API_WS_ENDPOINT
### - Allows one of the following urls (see the website of the exchange).
### - Only HITBTC exchange must have API_WS_ENDPOINT, other exchanges can be NULL.
#API_WS_ENDPOINT=ws://api.hitbtc.com:80
API_WS_ENDPOINT=NULL
Camille92 commented 6 years ago

Did you solve the problem ?

I got rid of those lines but I can't connect to the exchange :s

b-seite commented 6 years ago

Yes that solved my Problem. But i also Copied the whole last Block from K.sh.dist even if i did not see any difference. But perhaps there was one..

Camille92 commented 6 years ago

Ok thanks, I will keep on trying!

Camille92 commented 6 years ago

OK found the problem,

you need to ALSO delete the line

--ws $API_WS_ENDPOINT \

best!

ctubio commented 6 years ago

err.. 4 issues ago there is already https://github.com/ctubio/Krypto-trading-bot/issues/368 :P

ctubio commented 6 years ago

reopening to attempt to avoid moar duplicates

ghost commented 6 years ago

Is this still a problem? When I set up K.sh with all of GDAXs Websocket and HTTP without entering API Keys it doesnt load any of the information into the web UI

ctubio commented 6 years ago

the app doesnt work without api keys

it was never expected that a trader will trade without api keys

the app is not a testing platform, is a trading platform