OctoBot icon indicating copy to clipboard operation
OctoBot copied to clipboard

Token status stucks forever

Open transonit opened this issue 3 years ago • 4 comments

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.

transonit avatar Jul 04 '22 17:07 transonit

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

BeardedWonderDev avatar Jul 04 '22 23:07 BeardedWonderDev

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.

transonit avatar Jul 04 '22 23:07 transonit

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,
    }

GuillaumeDSM avatar Jul 06 '22 22:07 GuillaumeDSM

Thank you so much for your support.

transonit avatar Jul 08 '22 05:07 transonit