Closed michaelr524 closed 7 years ago
Additional errors, which also cause the bot to exit:
hitbtc SyntaxError: Unexpected token u in JSON at position 0
at JSON.parse (<anonymous>)
at HitBtcOrderEntryGateway.onMessage (/home/mich/dev/xl/cloned/Krypto-trading-bot/app/server/gateways/hitbtc.js:295:32)
at Request.request [as _callback] (/home/mich/dev/xl/cloned/Krypto-trading-bot/app/server/gateways/hitbtc.js:193:100)
at self.callback (/home/mich/dev/xl/cloned/Krypto-trading-bot/node_modules/request/request.js:188:22)
at emitOne (events.js:96:13)
at Request.emit (events.js:191:7)
at Request.onRequestError (/home/mich/dev/xl/cloned/Krypto-trading-bot/node_modules/request/request.js:884:8)
at emitOne (events.js:96:13)
at ClientRequest.emit (events.js:191:7)
at Socket.socketErrorListener (_http_client.js:358:9) exception while processing message undefined
im sorry im not interested into fix hitbtc issues for free
I got similar errors also when tried with Poloniex. Which of the exchanges would you recommend using?
At the moment I'm just experimenting, trying to see if the bot can actually make profits.
I could contribute to development by fixing some of these bugs and adding support for additional exchanges if I see that the bot actually works.
Would love to hear your thoughts on this. @ctubio
right right right now i do recommend okcoin
in little days gdax, bitfinex and hitbtc maybe fixed (currently gdax have memory leak, bitfinex wrong mintick, and hitbtc well you know :P); poloniex is the worst ever if you ask me and im very lazy to fix poloniex in the nearly future
about the collaboration, you can work on your repo and i can steal your commit, or you can make PR to this repo, both work for me xD
about the profits, its not about the bot but about the strategy you use.
for instance if you do nothing and simply hold all your btc, if market goes up you will make profit, still without bot doing nothing. If you let the bot do something, it will increase or decrease your final profit; but is not because of the bot but because of your strategy.
I see some errors when running with HitBTC. Didn't tweak any arguments, ran the defaults (after configuring API keys and related in the config file). Are these errors harmless? How to get more information (such as the line in code, which throws a given error)?