Drakkar-Software / OctoBot

Open source crypto trading bot
https://www.octobot.cloud
GNU General Public License v3.0
3.29k stars 757 forks source link

Token status stucks forever #1987

Open transonit opened 2 years ago

transonit commented 2 years ago

Environment

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:

No error log.

BoiseITGuru commented 2 years ago

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

transonit commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

Thank you so much for your support.