Skip to content
Filip la Gre edited this page May 20, 2018 · 7 revisions

Troubleshooting

Error: SQLITE_BUSY: database is locked

The reason is to save and read data from the database at the same time. The construction of SQLite does not allow other connections during the writing to DB. To prevent this, use two different DB files, one for import (write), the other for Backtest (read). Note: enabled candleWriter in paperTrader or trader mode also saves data in the database and error can occurs. The database used for instance can be defined in the Gekko or BacktestTool configuration file by changing the dataDirectory or version value in config.sqlite.

Example: 
config.sqlite = {
  path: 'plugins/sqlite',
  dataDirectory: 'DUPA',
  version: 6.9,
  dependencies: []
}

For Binance exchange instance will use database file: gekko/DUPA/binance_6.9.db

Error: TULIP indicators could not be loaded

This error comes from gekko. You haven't installed optional modules. To install use command: npm install tulind talib. If you do not want to install these modules you can get rid of this error commenting on the following two lines in file: gekko/plugins/tradingAdvisor/baseTradingMethod.js

  1. log.warn('TALIB indicators could not be loaded, they will be unavailable.');
  2. log.warn('TULIP indicators could not be loaded, they will be unavailable.');
Clone this wiki locally