Drakkar-Software / OctoBot

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

Unable to start backtesting for BTCTURK exchange #1671

Open mertdogan opened 3 years ago

mertdogan commented 3 years ago

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

Step 3: Describe the problem:

Describe the bug Backtesting with BTCTURK fails with error below: 2021-04-28 00:55:33,133 ERROR IndependentBacktesting Impossible to start backtesting on this configuration: Missing time frame in data file: 4h (RuntimeError)

Expected behavior I think this error can be related cctx. I upgraded latest version but allready error occures for backtesting.

Steps to reproduce:

  1. Open backtesting
  2. Get historical data for BTCTURK exchange for any pairs.
  3. select historical data
  4. Click START BACKTESTING button
  5. Error occures

Observed Results:

Error occured at web area and console.

Relevant code exceptions or logs:

image

 2021-04-28 00:55:33,133 ERROR    IndependentBacktesting Impossible to start backtesting on this configuration: Missing time frame in data file: 4h (RuntimeError)
Herklos commented 3 years ago

HI @mertdogan, you have to have 4h time frame data in your backtesting data file to run backtesting for your configuration.

DrBlackross commented 4 weeks ago

yea, this is the reason why i use the docker version and bind all my "/octobot" folders to a usb stick

/media/usb-stick/backtesting /octobot/backtesting etc...

i basically will fire up mc (midnight commander) and use the search option and find all the " 4h" (with space in front of the 4) to grep through all the files and either swap the " 4h" with " 6h" or just remove the " 4h" (usually there's a ", 6h" in front of one) and save the files using nano.... it will stick till the next docker update/upgrade, when it doesnt i go back through and repeat the process (since i use coinbase exchange), not a glitch just a feature, lol

update /user/profiles/signal_trading/specific_config/MoveSignalsStrategyEvaluator.json <--- is where the edit needed to be