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



Search Forums

(Advanced Search)

Forum Statistics
» Members: 4,643
» Latest member: mpo365berkah
» Forum threads: 819
» Forum posts: 3,989

Full Statistics

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

Latest Threads
Added dual stoploss to RS...
Forum: Strategy Development
Last Post: PGTART
Yesterday, 11:14 AM
» Replies: 0
» Views: 16
NNv2 Install
Forum: Technical Discussion
Last Post: jcdude
08-23-2019, 05:48 PM
» Replies: 3
» Views: 224
Possible to visualize mor...
Forum: General Discussion
Last Post: emjayar
08-20-2019, 01:04 PM
» Replies: 0
» Views: 52
Daily Forex News
Forum: General Discussion
Last Post: xtreamforex
08-20-2019, 06:00 AM
» Replies: 9
» Views: 929
Neural Network strategy b...
Forum: Strategy Development
Last Post: PGTART
08-19-2019, 10:23 PM
» Replies: 13
» Views: 6,986
beating the market
Forum: Strategy Development
Last Post: PGTART
08-19-2019, 10:07 PM
» Replies: 0
» Views: 38
can you recommend suitabl...
Forum: General Discussion
08-19-2019, 07:56 PM
» Replies: 7
» Views: 661
point me in the right dir...
Forum: General Discussion
Last Post: Robin banks
08-15-2019, 01:39 PM
» Replies: 1
» Views: 160
New arbitrage cryptocurre...
Forum: General Discussion
Last Post: Robin banks
08-15-2019, 11:19 AM
» Replies: 0
» Views: 59
Bitso Mexican Exchange
Forum: Other exchanges
Last Post: bulletninja
08-14-2019, 12:09 AM
» Replies: 2
» Views: 827

Posted by: Hallonstedt - 07-15-2019, 03:43 PM - Forum: Kraken - No Replies

Am I missing something or is it not possible to trade BTC on Kraken. I can't find it in the drop-down list.

  printf "username:`openssl passwd -apr1`n" >> /etc/nginx/.htpasswd
Posted by: casuza - 07-14-2019, 06:25 PM - Forum: Technical Support - No Replies

I installed gekko on an EC2 instance however by adding:
auth_basic "Restricted Content";
auth_basic_user_file /etc/nginx/.htpasswd;

to the / etc / nginx / sites-enabled / default file and typing at the command prompt:
printf "username:` openssl passwd -apr1`n ">> /etc/nginx/.htpasswd

I am prompted to enter the password for 2 times, no other password I enter after I can access via web, presenting the user window and password and I can not access the web interface. 
When I remove the

auth_basic "Restricted Content";
auth_basic_user_file /etc/nginx/.htpasswd;

everything works perfectly

The EC2 instance is with ubuntu 18.04

Could someone help me? Sorry the english, more and the google translator.

  3 year USDT-BTC backtest
Posted by: jcdude - 07-09-2019, 08:26 PM - Forum: General Discussion - Replies (1)

I need some help conducting a 3 year backtest on the neuralnet_v2 strategy.
I downloaded the data and tried through the GUI but it just times out.

Does anyone have a config.js file that will allow me to run the test from the command line?
I am battling to get it to select my 3 year batch and run the test.

I need some direction as I keep getting this error when I run it from command line:

config.paperTrader.enable is 'undefined'

Rainbow Importer not there
Posted by: Milo - 07-09-2019, 07:04 PM - Forum: Technical Support - No Replies

Hi all,

I have downloaded as much as is necessary to run gekko using node gekko --ui although when the ui opens in a web browser there is no option list for a market to chose from in order to download data.

would anyone have an idea as to which file i might need to download.

many thanks

  State of Neural Networks strategies
Posted by: rdeman - 07-09-2019, 01:29 PM - Forum: Strategy Development - No Replies

It appears to me that the development of Neural Network based strategies for Gekko have gone a bit... stale?

The best article so far on this topic has been written by Deandree Blake at Medium.com (see: Medium.com "Crypto Trading 2018 in Review: 17 Advanced + 15 Neural Net strategies tested" https://medium.com/coinmonks/crypto-trad...08963d13e9, also referred to on this forum "Neural Network strategy backtest comparison": https://forum.gekko.wizb.it/thread-57766.html ) So far the most helpful resources I have seen, yet this all is about 2018.

Deandree but also others on various postings seem to grab their strategies from the infamous xFFFFF Gekko-Strategies Github repository:
https://github.com/xFFFFF/Gekko-Strategies: Latest commit was on 24 May 2018. Not very active....

As Deandree points out in his Medium.com article: "All strategies share some common traits: they use some kind of NN lib. Most (13/15) use convnetjs. The other 2 use LSTM type lib — synaptic or neataptic."

So 13/15 of the Neural Net strategies in the xFFFFF repository are using convnetjs (https://github.com/karpathy/convnetjs): Latest commit on 24 Nov 2016. The most popular neural network library has not been maintained in 3 years... Dodgy
1/15 strat (gekkoNeatapticIndicator) uses Neataptic: https://github.com/wagenaartje/neataptic Last commit on 9 Jun 2018 over a year without maintenance

1/15 strat (LSTM_MACD_RSI_V3) uses Synaptic: https://github.com/cazala/synaptic Last commit 14 Feb (2019 that is, I assume, reasonably active)

So here we have it: Only LSTM_MACD_RSI_V3 uses a neural network library that is up to date (and gets points for clean code) but sadly, LSTM_MACD_RSI_V3 does not score very well in Deandree's backtesting...

Is this really the best we have? Does anyone know of more up to date information? 

NOTE: It looks like zuki_nn is so far one of the best neural networks out there and it relies on a 2016 neural network library... so yes I do newer does not necessarily mean better. However, it seems things have gone stale since the 2018 crypto bear market. I am just curious to see if anything significant has happened since.

  StochRSI problem
Posted by: keta - 07-08-2019, 09:27 PM - Forum: Strategy Development - No Replies


I use the Strategy StochRSI with a persistence parameter of 7 but I realize that it buys or sells as soon as the persistence of 7 is ok.

Is that normal?

I would like it to buy only in StochRSI low for 7 candles and sell only in high StochRSI for 7 candles.

Kind regards.

  Keep track of both the daily and weekly candles?
Posted by: boba - 07-01-2019, 06:10 AM - Forum: Strategy Development - No Replies

I am trying to keep track of the daily and the weekly candles. I set the default candle to the daily.

I am attempting to use CandleBatcher, but when I log out the candles for both the daily and the weekly, I noticed the order is strange. For example, if I just wanted to keep track of the weekly price and price of the previous day, the daily candles sort of "get ahead" of the weekly candles and it's inconsistent.

I am sure I am just doing something wrong, but if not I am thinking of a better way to store them. Perhaps store a map of the last 30 days where: date => { dailyCandle, weeklyCandle } or something.

strat.init = function () {
 this.batcherWeekly = new CandleBatcher(7);

 this.batcherWeekly.on('candle', this.update1Week);

strat.update = function (candle) {
 console.log('D', candle);
  this.lastDailyPrice = candle.close;


strat.update1Week = function (candle) {
 console.log('W', candle);

  // if I'm on week that ends on Jan 7, it's unclear how to get the previous day Jan 6 price because it's not this.lastDailyPrice

  Problem Gekko Broker'
Posted by: Zmetek - 06-28-2019, 02:04 PM - Forum: Technical Support - Replies (1)


I have problem with installing Gekko Broker'

viz. attachment

Attached Files
.txt   2019-06-28T13_45_41_598Z-debug.txt (Size: 98.03 KB / Downloads: 3)

  Proper reverse proxy config for Apache when Gekko is not accessed from the root
Posted by: t52CKEb7xFctB6T_Rc - 06-23-2019, 09:52 PM - Forum: Technical Support - Replies (2)

I am setting up Gekko, and I want it to be accessible remotely. My webserver already has Nextcloud and some stuff on the webroot, so switching to nginx or putting gekko on the root is not possible. I also don't have a domain name (I'm using a dynamic DNS service) and only control one IP address, so I don't think a subdomain would be possible. Let's say that I own example.com, because I don't want to reveal my real IP. I want to be able to go to example.com/gekko in my browser to access gekko. I already have an SSL certificate and I have authentication set up, so those are not issues. So far, I've managed to get the main page and the scripts and stylesheets to load, but AJAX requests and websocket connections don't seem to have their URLs being automatically rewritten. I tried adding ProxyHTMLExtended on to my config, but that didn't do anything. Is there any way to get ProxyHTMLURLMap to also process Javascript files? Here's what I have right now:

<Location /gekko>
       AuthType Basic
       AuthName "Wrapper auth"
       AuthBasicProvider file
       AuthUserFile /etc/apache2/.htpasswd
       Require valid-user

       ProxyPass "http://localhost:3000"
       ProxyPassReverse "http://localhost:3000"

       ProxyHTMLURLMap http://localhost:3000 /gekko
       ProxyHTMLURLMap ws://localhost:3000 /gekko
       ProxyHTMLURLMap / /gekko
       ProxyHTMLExtended on

  [supernoob] unable to install - ubuntu
Posted by: sgrufolhaus - 06-20-2019, 02:58 PM - Forum: Technical Support - Replies (1)

* installed nodejs OK 
* installed git OK
* gitted gekko OK

install gekko NOK Sad

npm install --only=production


gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack     at ChildProcess.emit (events.js:200:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Linux 4.15.0-51-generic
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/home/xx/gekko/node_modules/sqlite3/lib/binding/node-v72-linux-x64/node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=/home/xx/gekko/node_modules/sqlite3/lib/binding/node-v72-linux-x64" "--napi_version=4" "--node_abi_napi=napi"
gyp ERR! cwd /home/xx/gekko/node_modules/sqlite3
gyp ERR! node -v v12.4.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok 
node-pre-gyp ERR! build error 
node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/xx/gekko/node_modules/sqlite3/lib/binding/node-v72-linux-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/home/xx/gekko/node_modules/sqlite3/lib/binding/node-v72-linux-x64 --napi_version=4 --node_abi_napi=napi' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/home/xx/gekko/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:200:13)
node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:1021:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
node-pre-gyp ERR! System Linux 4.15.0-51-generic
node-pre-gyp ERR! command "/usr/bin/node" "/home/xx/gekko/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /home/xx/gekko/node_modules/sqlite3
node-pre-gyp ERR! node -v v12.4.0
node-pre-gyp ERR! node-pre-gyp -v v0.10.3
node-pre-gyp ERR! not ok 
Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/xx/gekko/node_modules/sqlite3/lib/binding/node-v72-linux-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/home/xx/gekko/node_modules/sqlite3/lib/binding/node-v72-linux-x64 --napi_version=4 --node_abi_napi=napi' (1)
node_sqlite3.target.mk:127: recipe for target 'Release/obj.target/node_sqlite3/src/database.o' failed
make: *** [Release/obj.target/node_sqlite3/src/database.o] Error 1
make: uscita dalla directory "/home/xx/gekko/node_modules/sqlite3/build"
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack     at ChildProcess.emit (events.js:200:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Linux 4.15.0-51-generic
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/home/xx/gekko/node_modules/sqlite3/lib/binding/node-v72-linux-x64/node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=/home/xx/gekko/node_modules/sqlite3/lib/binding/node-v72-linux-x64" "--napi_version=4" "--node_abi_napi=napi"
gyp ERR! cwd /home/xx/gekko/node_modules/sqlite3
gyp ERR! node -v v12.4.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok 
npm ERR! errno 1
npm ERR! sqlite3@4.0.4 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the sqlite3@4.0.4 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/xx/.npm/_logs/2019-06-20T14_43_35_849Z-debug.log