Gekko 0.6 released
#19
Heya,

I'm trying to backtest from command line on v0.6 and getting some errors; however i've never done backtests from command line on older versions so I may just be doing something wrong; anyway it looks like this:


Code:
2018-06-27 17:14:51 (INFO):     Setting up Gekko in backtest mode
2018-06-27 17:14:51 (INFO):
2018-06-27 17:14:51 (WARN):     The plugin Candle writer does not support the mode backtest. It has been disabled.
2018-06-27 17:14:51 (INFO):     Setting up:
2018-06-27 17:14:51 (INFO):              Trading Advisor
2018-06-27 17:14:51 (INFO):              Calculate trading advice
2018-06-27 17:14:51 (INFO):              Using the strategy: buyatsellat
2018-06-27 17:14:51 (INFO):

2018-06-27 17:14:51 (INFO):     Setting up:
2018-06-27 17:14:51 (INFO):              Paper Trader
2018-06-27 17:14:51 (INFO):              Paper trader that simulates fake trades.
2018-06-27 17:14:51 (INFO):

2018-06-27 17:14:51 (INFO):     Setting up:
2018-06-27 17:14:51 (INFO):              Performance Analyzer
2018-06-27 17:14:51 (INFO):              Analyzes performancesof trades
2018-06-27 17:14:51 (INFO):


2018-06-27 17:14:51 (INFO):             WARNING: BACKTESTING FEATURE NEEDS PROPER TESTING
2018-06-27 17:14:51 (INFO):             WARNING: ACT ON THESE NUMBERS AT YOUR OWN RISK!

/home/henry/gekko/node_modules/sqlite3/lib/trace.js:27
                   throw err;
                   ^

ReferenceError: amount is not defined
   at PaperTrader.processAdvice (/home/henry/gekko/plugins/paperTrader/paperTrader.js:125:5)
   at Actor.bound (/home/henry/gekko/node_modules/lodash/dist/lodash.js:729:21)
   at emitOne (events.js:116:13)
   at Actor.emit (events.js:211:7)
   at Actor.bound [as emit] (/home/henry/gekko/node_modules/lodash/dist/lodash.js:729:21)
   at Actor.GekkoEventEmitter.broadcastDeferredEmit (/home/henry/gekko/core/emitter.js:30:8)
   at Actor.bound [as broadcastDeferredEmit] (/home/henry/gekko/node_modules/lodash/dist/lodash.js:729:21)
   at _.find.producer (/home/henry/gekko/core/gekkoStream.js:74:26)
   at Function.find (/home/henry/gekko/node_modules/lodash/dist/lodash.js:3217:15)
   at Gekko.flushDefferedEvents (/home/henry/gekko/core/gekkoStream.js:72:25)
--> in Database#all('\n    SELECT * from candles_USDT_BTC\nWHERE start <= 1503017399 AND start >= 1503014400\n    ORDER BY start ASC\n  ', [Function])
   at Reader.get (/home/henry/gekko/plugins/sqlite/reader.js:98:11)
   at Reader.bound [as get] (/home/henry/gekko/node_modules/lodash/dist/lodash.js:729:21)
   at Market.get (/home/henry/gekko/core/markets/backtest.js:61:15)
   at Market.bound [as get] (/home/henry/gekko/node_modules/lodash/dist/lodash.js:729:21)
   at Market.<anonymous> (/home/henry/gekko/core/markets/backtest.js:52:8)
   at Market._read (/home/henry/gekko/node_modules/lodash/dist/lodash.js:5605:23)
   at Market.bound [as _read] (/home/henry/gekko/node_modules/lodash/dist/lodash.js:729:21)
   at Market.Readable.read (_stream_readable.js:442:10)
   at Market.bound [as read] (/home/henry/gekko/node_modules/lodash/dist/lodash.js:729:21)
  Reply


Messages In This Thread
Gekko 0.6 released - by askmike - 06-24-2018, 10:31 AM
RE: Gekko 0.6 pre release - by mark.sch - 06-24-2018, 01:42 PM
RE: Gekko 0.6 pre release - by askmike - 06-25-2018, 03:41 AM
RE: Gekko 0.6 pre release - by mark.sch - 06-25-2018, 09:24 AM
RE: Gekko 0.6 pre release - by mark.sch - 06-25-2018, 10:29 AM
RE: Gekko 0.6 pre release - by crypto49er - 06-25-2018, 03:43 AM
RE: Gekko 0.6 pre release - by askmike - 06-25-2018, 08:17 AM
RE: Gekko 0.6 pre release - by askmike - 06-26-2018, 05:48 AM
RE: Gekko 0.6 pre release - by Henry151 - 06-26-2018, 05:56 AM
RE: Gekko 0.6 pre release - by askmike - 06-26-2018, 06:16 AM
RE: Gekko 0.6 pre release - by mark.sch - 06-26-2018, 06:44 AM
RE: Gekko 0.6 pre release - by Henry151 - 06-26-2018, 07:36 AM
RE: Gekko 0.6 pre release - by askmike - 06-26-2018, 06:55 AM
RE: Gekko 0.6 pre release - by mark.sch - 06-26-2018, 10:46 AM
RE: Gekko 0.6 pre release - by askmike - 06-26-2018, 08:04 AM
RE: Gekko 0.6 pre release - by askmike - 06-26-2018, 02:01 PM
RE: Gekko 0.6 pre release - by mark.sch - 06-26-2018, 05:06 PM
RE: Gekko 0.6 pre release - by mark.sch - 06-26-2018, 06:55 PM
RE: Gekko 0.6 pre release - by Henry151 - 06-27-2018, 05:16 PM
RE: Gekko 0.6 pre release - by askmike - 06-27-2018, 05:21 PM
RE: Gekko 0.6 pre release - by mark.sch - 06-27-2018, 05:56 PM
RE: Gekko 0.6 pre release - by mark.sch - 06-28-2018, 02:36 PM
RE: Gekko 0.6 pre release - by mark.sch - 06-28-2018, 09:03 PM
RE: Gekko 0.6 pre release - by mark.sch - 06-30-2018, 02:42 PM
RE: Gekko 0.6 pre release - by Kris191 - 07-04-2018, 04:11 AM
RE: Gekko 0.6.0 released - by askmike - 07-04-2018, 10:53 AM
RE: Gekko 0.6.0 released - by Kris191 - 07-04-2018, 07:02 PM
RE: Gekko 0.6.0 released - by ankasem - 07-05-2018, 03:09 AM
RE: Gekko 0.6.0 released - by donkykong017 - 07-05-2018, 04:41 AM
RE: Gekko 0.6.0 released - by askmike - 07-05-2018, 08:41 AM
RE: Gekko 0.6.0 released - by Kris191 - 07-06-2018, 04:29 AM
RE: Gekko 0.6 released - by ankasem - 07-06-2018, 01:12 AM
RE: Gekko 0.6 released - by ankasem - 07-08-2018, 06:25 AM
RE: Gekko 0.6 released - by askmike - 07-06-2018, 05:17 AM
RE: Gekko 0.6 released - by Kris191 - 07-06-2018, 08:05 AM
RE: Gekko 0.6 released - by ankasem - 07-06-2018, 11:31 AM
RE: Gekko 0.6 released - by Kris191 - 07-06-2018, 12:42 PM
RE: Gekko 0.6 released - by Kris191 - 07-07-2018, 05:41 PM
RE: Gekko 0.6 released - by Kris191 - 07-08-2018, 07:24 AM
RE: Gekko 0.6 released - by thegamecat - 07-07-2018, 11:22 AM
RE: Gekko 0.6 released - by Kris191 - 07-08-2018, 02:54 PM
RE: Gekko 0.6 released - by askmike - 07-08-2018, 03:13 PM
RE: Gekko 0.6 released - by Kris191 - 07-08-2018, 07:04 PM
RE: Gekko 0.6 released - by ankasem - 07-08-2018, 08:42 PM
RE: Gekko 0.6 released - by askmike - 07-09-2018, 03:51 AM
RE: Gekko 0.6 released - by askmike - 07-09-2018, 03:52 AM
RE: Gekko 0.6 released - by Kris191 - 07-09-2018, 10:30 AM
RE: Gekko 0.6 released - by askmike - 07-09-2018, 01:31 PM
RE: Gekko 0.6 released - by Kris191 - 07-20-2018, 08:06 AM
RE: Gekko 0.6 released - by Kris191 - 07-09-2018, 01:39 PM
RE: Gekko 0.6 released - by ankasem - 07-09-2018, 05:55 PM
RE: Gekko 0.6 released - by mark.sch - 07-09-2018, 07:11 PM
RE: Gekko 0.6 released - by crypt0r - 07-11-2018, 05:58 PM
RE: Gekko 0.6 released - by crypt0r - 07-11-2018, 09:19 PM
RE: Gekko 0.6 released - by Kris191 - 07-12-2018, 05:38 AM
RE: Gekko 0.6 released - by mark.sch - 07-15-2018, 08:29 PM
RE: Gekko 0.6 released - by wewantmoore - 07-17-2018, 10:57 AM
RE: Gekko 0.6 released - by martyc - 07-17-2018, 11:44 AM
RE: Gekko 0.6 released - by wewantmoore - 07-17-2018, 12:18 PM
RE: Gekko 0.6 released - by martyc - 07-17-2018, 12:22 PM
RE: Gekko 0.6 released - by wewantmoore - 07-17-2018, 12:36 PM
RE: Gekko 0.6 released - by martyc - 07-17-2018, 01:19 PM
RE: Gekko 0.6 released - by wewantmoore - 07-17-2018, 01:24 PM
RE: Gekko 0.6 released - by Kris191 - 07-19-2018, 05:56 AM
RE: Gekko 0.6 released - by dugu-dugu - 07-20-2018, 09:32 AM
RE: Gekko 0.6 released - by ankasem - 07-21-2018, 10:24 PM
RE: Gekko 0.6 released - by wewantmoore - 07-22-2018, 12:00 AM
RE: Gekko 0.6 released - by askmike - 07-22-2018, 12:19 AM
RE: Gekko 0.6 released - by wewantmoore - 07-22-2018, 12:25 AM
RE: Gekko 0.6 released - by wewantmoore - 09-05-2018, 10:17 AM
RE: Gekko 0.6 released - by mark.sch - 08-17-2018, 10:48 PM
RE: Gekko 0.6 released - by askmike - 08-20-2018, 04:07 AM
RE: Gekko 0.6 released - by mark.sch - 08-20-2018, 07:21 AM
RE: Gekko 0.6 released - by askmike - 08-20-2018, 09:42 AM
RE: Gekko 0.6 released - by askmike - 09-06-2018, 04:22 AM
RE: Gekko 0.6 released - by wewantmoore - 09-06-2018, 12:27 PM
RE: Gekko 0.6 released - by betflix - 02-16-2022, 03:49 PM

Forum Jump:


Users browsing this thread: