Skip to content
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

Token status stucks forever #1987

Open
transonit opened this issue Jul 4, 2022 · 4 comments · Fixed by Drakkar-Software/OctoBot-Trading#712
Open

Token status stucks forever #1987

transonit opened this issue Jul 4, 2022 · 4 comments · Fixed by Drakkar-Software/OctoBot-Trading#712
Assignees

Comments

@transonit
Copy link

Environment

  • OS : Docker on Debian 11.
  • Python Version: 3.8.13
  • Image: Latest (0.4.5) version - drakkarsoftware/octobot:latest
  • Profile: SignalTradingMode.
  • Exchange: Huobi - real trading.

When I start the bot for the first time, it will analyze the token and output NEUTRAL, LONG, SHORT.
And then it will stay in that state forever, no change even after 1 day. With the old version (0.4.3) this does not happen.

Steps to reproduce:

  1. Start the bot.
  2. Switch to real trading.
  3. Add coin/token to the trading list.
  4. Restart the bot.

Observed Results:

Go to "Trading" page and watch the state stuck.

Expected Results:

  • The status of the coin will be updated regularly, for example with version 0.4.3, the status is updated every 30 - 60 minutes.

No error log.

@BoiseITGuru
Copy link

I am also having this issue on 0.4.5...Going on no updates for almost 48 hours

@transonit
Copy link
Author

I am also having this issue on 0.4.5...Going on no updates for almost 48 hours

Let us wait for Drakkar to fix it.

@GuillaumeDSM
Copy link
Member

GuillaumeDSM commented Jul 6, 2022

Hi @sontran-it and @BoiseITGuru,
Thanks for reporting the issue. It will be fixed in the next version of OctoBot. For now you can use 0.4.3 or to use 0.4.5 you can edit the tentacles/Trading/Exchange/huobi_websocket_feed/huobi_websocket.py file and change line 23 to 28 from:

    EXCHANGE_FEEDS = {
        Feeds.TRADES: cryptofeed_constants.TRADES,
        Feeds.KLINE: cryptofeed_constants.CANDLES,
        Feeds.TICKER: cryptofeed_constants.TICKER,
        Feeds.CANDLE: cryptofeed_constants.CANDLES,
    }

to:

    EXCHANGE_FEEDS = {
        Feeds.TRADES: cryptofeed_constants.TRADES,
        # Feeds.KLINE: cryptofeed_constants.CANDLES,
        Feeds.TICKER: cryptofeed_constants.TICKER,
        # Feeds.CANDLE: cryptofeed_constants.CANDLES,
    }

@transonit
Copy link
Author

Thank you so much for your support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants