OctoBot icon indicating copy to clipboard operation
OctoBot copied to clipboard

No available exchange manager error after update ccxt

Open mertdogan opened this issue 3 years ago • 1 comments

Step 1: Have you search for this issue before posting it?

If you have discovered a bug in the bot, please search our issue tracker. If it hasn't been reported, please create a new issue.

Step 2: Describe your environment

  • OS : Windows 10
  • Python Version: 3.8 (python -V)
  • In case you are not using a binary version:
    • Branch: Master
    • Last Commit ID: ? (git log --format="%H" -n 1)

Step 3: Describe the problem:

Describe the bug I updated ccxt extension to latest and errors started. While strategy optimization process, error occures at log and optimization page as below:

image

Logs are as below:

Time Level Source Message
2021-05-07 10:06:17 ERROR IndependentBacktesting Impossible to start backtesting on this configuration: Missing time frame in data file: 4h (RuntimeError)
2021-05-07 10:06:17 ERROR StrategyTestSuite Exception when running test test_slow_downtrend: Error with independent backtesting: no available exchange manager (RuntimeError)
2021-05-07 10:06:14 ERROR IndependentBacktesting Impossible to start backtesting on this configuration: Missing time frame in data file: 4h (RuntimeError)
2021-05-07 10:06:14 ERROR StrategyTestSuite Exception when running test test_up_then_down: Error with independent backtesting: no available exchange manager (RuntimeError)
2021-05-07 10:06:08 ERROR IndependentBacktesting Impossible to start backtesting on this configuration: Missing time frame in data file: 4h (RuntimeError)
2021-05-07 10:06:08 ERROR StrategyTestSuite Exception when running test test_flat_markets: Error with independent backtesting: no available exchange manager (RuntimeError)
2021-05-07 10:06:06 ERROR IndependentBacktesting Impossible to start backtesting on this configuration: Missing time frame in data file: 4h (RuntimeError)
2021-05-07 10:06:06 ERROR StrategyTestSuite Exception when running test test_sharp_downtrend: Error with independent backtesting: no available exchange manager (RuntimeError)
2021-05-07 10:06:05 ERROR IndependentBacktesting Impossible to start backtesting on this configuration: Missing time frame in data file: 4h (RuntimeError)
2021-05-07 10:06:05 ERROR StrategyTestSuite Exception when running test test_slow_downtrend: Error with independent backtesting: no available exchange manager (RuntimeError)

Expected behavior A clear and concise description of what you expected to happen.

Steps to reproduce:

  1. Update ccxt by pip install -U ccxt
  2. Restart Octobot
  3. Start strategy optimization with any settings
  4. Control logs and page for error messages.

Observed Results:

  • What happened?
  • What did you expect to happen?

Relevant code exceptions or logs:

If applicable, add screenshots to help explain your problem.

<html>
<body>
<!--StartFragment-->

Time | Level | Source | Message
-- | -- | -- | --
2021-05-07 10:06:17 | ERROR | IndependentBacktesting | Impossible to start backtesting on this configuration: Missing time frame in data file: 4h (RuntimeError)
2021-05-07 10:06:17 | ERROR | StrategyTestSuite | Exception when running test test_slow_downtrend: Error with independent backtesting: no available exchange manager (RuntimeError)
2021-05-07 10:06:14 | ERROR | IndependentBacktesting | Impossible to start backtesting on this configuration: Missing time frame in data file: 4h (RuntimeError)
2021-05-07 10:06:14 | ERROR | StrategyTestSuite | Exception when running test test_up_then_down: Error with independent backtesting: no available exchange manager (RuntimeError)
2021-05-07 10:06:08 | ERROR | IndependentBacktesting | Impossible to start backtesting on this configuration: Missing time frame in data file: 4h (RuntimeError)
2021-05-07 10:06:08 | ERROR | StrategyTestSuite | Exception when running test test_flat_markets: Error with independent backtesting: no available exchange manager (RuntimeError)
2021-05-07 10:06:06 | ERROR | IndependentBacktesting | Impossible to start backtesting on this configuration: Missing time frame in data file: 4h (RuntimeError)
2021-05-07 10:06:06 | ERROR | StrategyTestSuite | Exception when running test test_sharp_downtrend: Error with independent backtesting: no available exchange manager (RuntimeError)
2021-05-07 10:06:05 | ERROR | IndependentBacktesting | Impossible to start backtesting on this configuration: Missing time frame in data file: 4h (RuntimeError)
2021-05-07 10:06:05 | ERROR | StrategyTestSuite | Exception when running test test_slow_downtrend: Error with independent backtesting: no available exchange manager (RuntimeError)

<!--EndFragment-->
</body>
</html>

mertdogan avatar May 07 '21 09:05 mertdogan

Hi @mertdogan This is not related to your update of ccxt, the error is throw because there some timeframe which are not present in data file

valouvaliavlo avatar Nov 01 '21 19:11 valouvaliavlo