Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 39,322
» Latest member: DishisdesignJewellery
» Forum threads: 926
» Forum posts: 6,383

Full Statistics

Online Users
There are currently 218 online users.
» 0 Member(s) | 218 Guest(s)

Latest Threads
An official Gekko service...
Forum: Announcements
Last Post: tanvirai
11-20-2025, 12:18 PM
» Replies: 113
» Views: 291,788
Gekko development status ...
Forum: Announcements
Last Post: erectilenovus
11-17-2025, 11:36 AM
» Replies: 753
» Views: 1,769,397
Gekko 0.6 released
Forum: Announcements
Last Post: soniyathakur
11-02-2025, 12:21 PM
» Replies: 129
» Views: 380,459
Gekko with malware spotte...
Forum: Announcements
Last Post: cofffee124
10-30-2025, 09:56 AM
» Replies: 216
» Views: 346,445
New Gekko UI in the works
Forum: Announcements
Last Post: cofffee124
09-04-2025, 08:12 AM
» Replies: 186
» Views: 390,783
How to add Binance Future...
Forum: Technical Support
Last Post: Xavier32
10-07-2021, 02:20 PM
» Replies: 47
» Views: 159,138
Bittrex Configuration hel...
Forum: Bittrex
Last Post: yirzolusto
10-07-2021, 07:39 AM
» Replies: 6
» Views: 31,838
[Question] Why does gekko...
Forum: General Discussion
Last Post: cryptocurrency0
10-06-2021, 01:16 PM
» Replies: 16
» Views: 70,995
a couple of technical Que...
Forum: Technical Support
Last Post: mtom78632
10-06-2021, 11:08 AM
» Replies: 25
» Views: 87,748
Is there any way to make ...
Forum: Custom Systems
Last Post: seorun
10-05-2021, 08:20 AM
» Replies: 42
» Views: 134,748

 
  Help with creating a strategy
Posted by: PrimalFury - 09-22-2018, 03:35 PM - Forum: Strategy Development - No Replies

Hi guys, I have a nice working strategy which i want to share and be able to backtest in gekko, but it dont know how to create it. i will explain it here and Ill hope some one can create the strategy and use it for himself as well! All based on the 5 minute candles.

Buy when:
- Bollinger Bands: the open or close of the last complete candle must be below the lower  Bollinger Band. 
- Bollinger Bands: the higher Bollinger Band must be 1,75% higher than the lower Bollinger Band, so a spread of 1.75% between the lower and upper band
- Stochastic Oscillator: The %K and %D must be BOTH below 20% or lower
- RSI: Must be below 25
- Volume: In the last 14 candles there may be a max of 4 candles with zero volume. 
- Volume: For BTC 750btc

Sell when:
Price increased 0.60 Percent from buy price.


Optional:
Rebuying with double amount of first buy-in when price drops 1.75% below first buy-in
Rebuying with double amount of second buy-in when price drops 1.75% below second buy-in
Adding a trailing profit
Adding a stoploss


  TA-lib indicators & Tulip indicators
Posted by: Ytigiev - 09-21-2018, 09:30 AM - Forum: Technical Support - Replies (2)

Hello, 

In the folder strategies/indicators  I see the following files: 
CCI.js
EMA.js
MACD.js
RSI.js
SMMS.js
LRC.js
PPO.js
SMA.js
TSI.js

Will "Talib & Tulip" installation add additional files in the folder strategies/indicators? If yes which files?


  Doesn't work standart strategies.
Posted by: Ytigiev - 09-21-2018, 06:39 AM - Forum: Technical Support - Replies (3)

Hello, 

I have an issue with using strategies. Some strategies work properly, some doesn't work. 
I think the root of the cause is incompatibility some of the version modules> I installed many times gekko with the various configuration on ubuntu and sometimes strategies had worked and sometimes didn't.

For example doesn't work tulip_adx.  tulip_macd 

Who can write the exact version of ubuntu, gekko, nodejs, npm, tulip, talib, etc modules/soft which are with default strategies of the gekko?

ytigiev@ytigiev-VirtualBox:~/gekko$ node gekko --ui

    ______   ________  __    __  __    __   ______
   /      \ /        |/  |  /  |/  |  /  | /      \
  /$$$$$$  |$$$$$$$$/ $$ | /$$/ $$ | /$$/ /$$$$$$  |
  $$ | _$$/ $$ |__    $$ |/$$/  $$ |/$$/  $$ |  $$ |
  $$ |/    |$$    |   $$  $$<   $$  $$<   $$ |  $$ |
  $$ |$$$$ |$$$$$/    $$$$$  \  $$$$$  \  $$ |  $$ |
  $$ \__$$ |$$ |_____ $$ |$$  \ $$ |$$  \ $$ \__$$ |
  $$    $$/ $$       |$$ | $$  |$$ | $$  |$$    $$/ 
   $$$$$$/  $$$$$$$$/ $$/   $$/ $$/   $$/  $$$$$$/

Gekko v0.6.6
I'm gonna make you rich, Bud Fox. 


Serving Gekko UI on http://localhost:3000/

  <-- GET /api/imports
  --> GET /api/imports 200 2ms 2b
  <-- GET /api/gekkos
  --> GET /api/gekkos 200 1ms 24b
  <-- GET /api/apiKeys
  --> GET /api/apiKeys 200 1ms 2b
  <-- GET /api/exchanges
  --> GET /api/exchanges 200 376ms 87.76kb
  <-- GET /api/configPart/performanceAnalyzer
  --> GET /api/configPart/performanceAnalyzer 200 1ms 144b
  <-- GET /api/strategies
  <-- GET /api/configPart/paperTrader
  --> GET /api/configPart/paperTrader 200 1ms 132b
  --> GET /api/strategies 200 16ms 15.34kb
  <-- POST /api/scansets
  --> POST /api/scansets 200 316ms 129b
  <-- POST /api/backtest
  --> POST /api/backtest 200 2,250ms 33.71kb
  <-- POST /api/backtest
  xxx POST /api/backtest 500 302ms -

  Error: non-error thrown: 
  This Gekko instance encountered an error and can't continue
      at Object.onerror (/home/ytigiev/gekko/node_modules/koa/lib/context.js:105:40)
      at <anonymous>
      at process._tickCallback (internal/process/next_tick.js:189:7)

  <-- POST /api/backtest
  xxx POST /api/backtest 500 316ms -

  Error: non-error thrown: 
  This Gekko instance encountered an error and can't continue
      at Object.onerror (/home/ytigiev/gekko/node_modules/koa/lib/context.js:105:40)
      at <anonymous>
      at process._tickCallback (internal/process/next_tick.js:189:7)


  Backtest & CandleSize:WarmupPeriod format
Posted by: Ytigiev - 09-20-2018, 04:21 PM - Forum: Third Party Software - Replies (2)

Hello, 

I have a few questions regarding parameters CandleSize and warmup 

1)  Is it CandleSize defined in minutes?
2) How to calculate WarmupPeriod?   WarmupPeriod = CandleSize*NumbersOfCandels was using for calculating each of iteration? Measurement is minutes? 

Code:
# BUG - USE ONE CANDLE VALUE TEMPORARY! Put your candle values between brackets in line below. Use CandleSize:WarmupPeriod format. Seperate pair using space or newline.
@warmup = qw(
10:73
);


  Slippage doesn't work in backtest
Posted by: Greg L. - 09-20-2018, 06:36 AM - Forum: Technical Support - Replies (1)

Hello,

I've performed some backtests with the NNv2 strategy before going live. My live results weren't good live so I tried to simulate the live results in backtest using the slippage parameter, but I've just figured out it doesn't work : I can put any value, it doesn't change anything to the results.

Is there any bug or is there any misunderstanding about how the slippage parameter work ?


  First Start Error module.js:550
Posted by: Bransonb3 - 09-18-2018, 03:41 PM - Forum: Technical Support - Replies (9)

I got this error after following the installation steps. I am running this on CentOS 7 and NodeJS v8.12.0. I have tried to completely delete gekko and try again and I got the same error.
Just tried to install on Windows Server 2016 with NodeJS v8.12.0 and I got the same error.


module.js:550
    throw err;
    ^

Error: Cannot find module '/root/gekko/exchange/gekko'
    at Function.Module._resolveFilename (module.js:548:15)
    at Function.Module._load (module.js:475:25)
    at Function.Module.runMain (module.js:694:10)
    at startup (bootstrap_node.js:204:16)
    at bootstrap_node.js:625:3


  Paper Trading WarmUp period data
Posted by: CryptoCoeus - 09-18-2018, 08:05 AM - Forum: Strategy Development - Replies (7)

Guys, why papertrader does not download 'required warm up data' from the exchange and calculate parameters  on them. Is this possible ? Who can enlighten me Big Grin


  Gekko not installing correct
Posted by: Jollybv - 09-18-2018, 05:53 AM - Forum: Technical Discussion - Replies (4)

Hi There

I have been trying to install gekko but with no luck i get the following 

added 244 packages from 907 contributors and audited 520 packages in 18.398s
found 1 low severity vulnerability
  run `npm audit fix` to fix them, or `npm audit` for details

PS C:\Users\Brian\Downloads\gekko-develop\gekko-develop> npm audit fix
up to date in 1.531s
fixed 0 of 1 vulnerability in 520 scanned packages
  1 package update for 1 vuln involved breaking changes
  (use `npm audit fix --force` to install breaking changes; or refer to `npm audit` for steps to fix these manually)
PS C:\Users\Brian\Downloads\gekko-develop\gekko-develop> npm audit fix --force
npm WARN using --force I sure hope you know what you are doing.
+ lodash@4.17.11
updated 1 package in 2.395s
fixed 1 of 1 vulnerability in 520 scanned packages
  1 package update for 1 vuln involved breaking changes
  (installed due to `--force` option)
PS C:\Users\Brian\Downloads\gekko-develop\gekko-develop> node gekko --ui

    ______   ________  __    __  __    __   ______
   /      \ /        |/  |  /  |/  |  /  | /      \
  /$$$$$$  |$$$$$$$$/ $$ | /$$/ $$ | /$$/ /$$$$$$  |
  $$ | _$$/ $$ |__    $$ |/$$/  $$ |/$$/  $$ |  $$ |
  $$ |/    |$$    |   $$  $$<   $$  $$<   $$ |  $$ |
  $$ |$$$$ |$$$$$/    $$$$$  \  $$$$$  \  $$ |  $$ |
  $$ \__$$ |$$ |_____ $$ |$$  \ $$ |$$  \ $$ \__$$ |
  $$    $$/ $$       |$$ | $$  |$$ | $$  |$$    $$/
   $$$$$$/  $$$$$$$$/ $$/   $$/ $$/   $$/  $$$$$$/

        Gekko v0.6.6
        I'm gonna make you rich, Bud Fox.


Serving Gekko UI on http://localhost:3000/

  <-- GET /api/imports
  --> GET /api/imports 200 0ms 2b
  <-- GET /api/gekkos
  --> GET /api/gekkos 200 0ms 24b
  <-- GET /api/apiKeys
  --> GET /api/apiKeys 200 0ms 2b
  <-- GET /api/exchanges
  xxx GET /api/exchanges 500 0ms -

  TypeError: _.last(...).join is not a function
      at exchangesDir.filter.f (C:\Users\Brian\Downloads\gekko-develop\gekko-develop\web\routes\exchanges.js:17:31)
      at Array.filter (<anonymous>)
      at Object.module.exports (C:\Users\Brian\Downloads\gekko-develop\gekko-develop\web\routes\exchanges.js:17:6)
      at module.exports.next (<anonymous>)
      at Object.dispatch (C:\Users\Brian\Downloads\gekko-develop\gekko-develop\node_modules\koa-router\lib\router.js:334:5)
      at dispatch.next (<anonymous>)
      at onFulfilled (C:\Users\Brian\Downloads\gekko-develop\gekko-develop\node_modules\co\index.js:65:19)
      at <anonymous>

when i run node gekko --ui it goes to the web page but if i go to local data and go to imports there is no currency, no exchanges, and no assets.


Is there a way to resolve this issue


  [TUT] Importing market data from the CLI
Posted by: askmike - 09-18-2018, 02:54 AM - Forum: Guides - No Replies

[I might move this guide into the docs one day]

If you are experiencing issues importing data via the interface, you can do so via the commandline to get more debug information needed to troubleshoot your problem.

Step 1: create a config file

Copy gekko/sample-config.js into gekko/config.js

Step 2: configure your config

Open up the gekko/config.js file with a text editor (sublime is excellent, free and runs on all major OSes).

- Search for "config.watch" and replace exchange, currency and asset with the market you want to import from.
- [OPTIONAL] Search for "config.importer" and replace the from date with a more recent date (for example a month ago).

Step 3: run the import

- Open a terminal and navigate to the Gekko directory.
- Run the import by typing: node gekko -c config.js -i


  CLI vs UI results difference.
Posted by: mutenroch - 09-14-2018, 11:05 PM - Forum: Technical Discussion - Replies (6)

Hi,

I've been comparing command line and UI bactest results and there are quite big diferences between them as you can see in the attached images.

cli backtests result claims a -1% while Ui result is a -12%. Can't see why since both performs the same strat/indicator/config files, market data and date range.

Anyone experienced this?

thanks¡



Attached Files
.png   psar cli.PNG (Size: 80.75 KB / Downloads: 22)
.png   psar ui.PNG (Size: 55.88 KB / Downloads: 19)