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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 20,736
» Latest member: ab77run
» Forum threads: 1,541
» Forum posts: 7,732

Full Statistics

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

Latest Threads
New Gekko UI in the works
Forum: Announcements
Last Post: dejaoffice
Yesterday, 10:44 AM
» Replies: 137
» Views: 156,471
Gekko development status ...
Forum: Announcements
Last Post: zerzamilmu
04-20-2024, 11:39 AM
» Replies: 806
» Views: 536,566
An official Gekko service...
Forum: Announcements
Last Post: CaroleDennis
04-20-2024, 04:03 AM
» Replies: 85
» Views: 140,668
Gekko with malware spotte...
Forum: Announcements
Last Post: alisonagron
04-18-2024, 08:05 AM
» Replies: 130
» Views: 92,093
Gekko 0.6 released
Forum: Announcements
Last Post: sabinaholt
03-27-2024, 12:10 PM
» Replies: 104
» Views: 216,101
How to Soft Reset or Hard...
Forum: General Discussion
Last Post: lucifar
10-07-2021, 07:18 PM
» Replies: 22
» Views: 39,466
How to add Binance Future...
Forum: Technical Support
Last Post: Xavier32
10-07-2021, 02:20 PM
» Replies: 47
» Views: 81,891
Bittrex Configuration hel...
Forum: Bittrex
Last Post: yirzolusto
10-07-2021, 07:39 AM
» Replies: 6
» Views: 15,194
[Question] Why does gekko...
Forum: General Discussion
Last Post: cryptocurrency0
10-06-2021, 01:16 PM
» Replies: 16
» Views: 34,638
a couple of technical Que...
Forum: Technical Support
Last Post: mtom78632
10-06-2021, 11:08 AM
» Replies: 25
» Views: 45,778

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

Hello

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.

Code:
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;

 this.batcherWeekly.write([candle]);
 this.batcherWeekly.flush();
}

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)

Hello,

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: 9)

  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:

Code:
<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
</Location>


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

* 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! code ELIFECYCLE
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



THX!


Question Attach sell order at higher price in order book
Posted by: batssmasher - 06-19-2019, 02:47 PM - Forum: General Discussion - Replies (1)

i want to create a limit sticky order at specific price to be able to get benefit from flash pump or flash crash dump.

Sometimes there are spikes in price when someone buy a market order with huge money . so i want to create an sell order lets say 3% higher than my buy order and stick it in the order book . and in the same time go on with my slow strategy which lets say the target is 1% higher than the buy price . so i want to stick that order 3% higher in the order book and once i reach the 1% i cancel it and sell . so which one come first i sell with it . either the flash pump 3% or the normal slow strat 1%



how can i do that ?


  Multiple Imports?
Posted by: martyc - 06-18-2019, 04:05 AM - Forum: Technical Discussion - No Replies

I currently have about years worth of data for 11 pairs but it's a couple of weeks since I last imported. Is there an easy of a way of:

look in the local history and find all the pairs
for each pair find the most recent date
use that date as the start date of the import
use the current time as the end date of the import
get cracking and as soon as it's finished move on to the next pair

Effectively it's an 'update all' script that I'm after


  3 technical / set up questions.
Posted by: 77Bx - 06-16-2019, 04:17 PM - Forum: Technical Discussion - No Replies

Hi everyone

I stumbled onto Gekko Framework after I browsed around researching on Crypto bots. 

I have 3 queries, and hope some gurus could give some advice. 

I am running Ubuntu v16 and Docker combination for Gekko

Query 1

I read this article: https://medium.com/@BlockchainEng/crypto...fe906acbb6

I wanted to give NN a shot. However, I am unable to get NN strategy to work on Ubuntu v16. To use NN, I have to issue " npm install convnetjs mathjs". The node_modules appeared in my Gekko folder. But I am not able to backtest NN strategy with error message "MODULE NOT FOUND"

Query 2

How do I know Gekko is indeed running? How do I see error log files? I am aware that Gekko is running by going to http://localhost:3000 or by issuing docker ps -a command, but how do I know if Gekko is hitting errors?

I have managed to get it running on basic RSI, but is it really running correctly?

Query 3


Apart from inserting API keys, what other configuration is available? Can I control trade size? 

Thank you everyone!


  No Exchanges to choose from
Posted by: s1r - 06-16-2019, 01:03 PM - Forum: Technical Discussion - Replies (1)

I just installed Gekko on a Raspberry Pi3; the first install was not smooth because of some issues with the NPM commands, then I re-run it and solved the vuln issues that was listing,made it through and now I can see the Web UI.
When I go to create Gekkos or anything that involves choosing an exchange, the drop-down menus are empty, no Exchange is available.
Huh


  Data Importer (GUI error only
Posted by: martyc - 06-09-2019, 12:58 PM - Forum: Technical Discussion - Replies (1)

update-binance works fine. Populates the exchange/wrappers/binance.json file correctly and CLI import works just fine.

GUI is missing a bunch of pairs. Specifically I was looking for BTC-MATIC but I've noticed since then that there is 9 currencies in the json file and only 4 show up in the importer gui.