Code Monkey home page Code Monkey logo

Comments (14)

Camille92 avatar Camille92 commented on May 22, 2024

Ok apparently K does reconnect automatically after some time.

I guess I get "punished" by Bitfinex :/

from krypto-trading-bot.

Camille92 avatar Camille92 commented on May 22, 2024

Ok I come back, no finally I think it stays disconnected :s

from krypto-trading-bot.

CarlitoGrey avatar CarlitoGrey commented on May 22, 2024

Camille,

Have you tried putting "auto" before the bot identifier in the config file? This should tell K to auto connect when starting?

"BotIdentifier": "autobot",

from krypto-trading-bot.

Camille92 avatar Camille92 commented on May 22, 2024

Hi @CarlitoGrey thank you for your help but the problem is not that K is off, the problem is that K doesn't trade after some time.

from krypto-trading-bot.

ctubio avatar ctubio commented on May 22, 2024

DisabledQuotes is supposed to mean that big green button is red, or that the broker class is disconnected from the exchange; also in the log is supposed that some lines similar to the following are printed when the Quoting state change:

Changed quoting mode to true
...
Changed quoting mode to false

was the button green or red? :P

from krypto-trading-bot.

ctubio avatar ctubio commented on May 22, 2024

since looks like there was no market data, the issue may be that broker class was disconnected from the exchange

from krypto-trading-bot.

Camille92 avatar Camille92 commented on May 22, 2024

I don't remember the color, but I would say yes disconnected from the exchange (probably because I'm hitting the API limit I guess).

But then it doesn't reconnect itself. It's fixed by a simple npm run restartall.

It happens on all markets more or less at the same time!

Next time I'll look at the color to tell you.

from krypto-trading-bot.

ctubio avatar ctubio commented on May 22, 2024

if is because a limit is reached, im not sure how to fix this yet meanwhile we have multiple independent instances running against the same resources.

the fix i believe is to unify them all, but this is not like a quick fix πŸ’ƒ let me close this meanwhile we dont get to the point that is feasible.

from krypto-trading-bot.

Camille92 avatar Camille92 commented on May 22, 2024

Hey Carles,

Thanks for the answer!
When you say resources, do you speak about 1) CPU/ram of the server, 2) quantity of cash/ crypto or 3) number of requests that can be sent to the exchange?
I can try to adjust my settings accordingly.

And is it possible to, not fix the issue, but exit the app if it's in DisabledMode for more than a few minutes, so it doesn't affect the trading for too long if that happens :)

from krypto-trading-bot.

ctubio avatar ctubio commented on May 22, 2024

sorry i mean the problem currently is because saturated external resources, like API endpoints (im not sure how to fix this with the current app; all running gateways need to be unified but currently are not)

from krypto-trading-bot.

Camille92 avatar Camille92 commented on May 22, 2024

I got it again so I hope it gives you more info with this screenshot!

Ps: It is possible to have a way to restart K automatically if that happens?

from krypto-trading-bot.

ctubio avatar ctubio commented on May 22, 2024

umf it have a bunch of open New orders; i think this is becuase the connection failed and they are accumulating (so thats another issue xD)

about the connectivity, if is lost; currently the app tries to reconnect, so you should see some msg in the log like: bifinex Heartbeat lost, reconnecting..

thats why the application doesn't restarts, because it is supposed that it tries to reconnect

can you see what are the logs saying at that moment?

from krypto-trading-bot.

Camille92 avatar Camille92 commented on May 22, 2024

Well thing is that I start it with npm (no logs) and then some hours later I find out that happens.

If I find a more efficient way of doing it, I'll take a loook at the logs

from krypto-trading-bot.

blackivory avatar blackivory commented on May 22, 2024

hi Camille92 , would you be able to solve the issues at the end , with Bitfinex ? pretty annoying that I have to manually click the button n reconnect .

from krypto-trading-bot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.