Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 187 online users. » 0 Member(s) | 187 Guest(s)
|
Latest Threads |
Gekko 0.6 released
Forum: Announcements
Last Post: lsm99dna
08-06-2025, 08:15 PM
» Replies: 124
» Views: 333,612
|
An official Gekko service...
Forum: Announcements
Last Post: Ruslanjoshua
07-24-2025, 06:27 AM
» Replies: 111
» Views: 247,761
|
New Gekko UI in the works
Forum: Announcements
Last Post: celemtine
07-03-2025, 07:24 AM
» Replies: 185
» Views: 325,308
|
Gekko with malware spotte...
Forum: Announcements
Last Post: pugoing
07-01-2025, 02:29 AM
» Replies: 212
» Views: 276,924
|
Gekko development status ...
Forum: Announcements
Last Post: sanmarconns
10-21-2024, 06:34 PM
» Replies: 744
» Views: 1,478,104
|
How to add Binance Future...
Forum: Technical Support
Last Post: Xavier32
10-07-2021, 02:20 PM
» Replies: 47
» Views: 134,512
|
Bittrex Configuration hel...
Forum: Bittrex
Last Post: yirzolusto
10-07-2021, 07:39 AM
» Replies: 6
» Views: 22,988
|
[Question] Why does gekko...
Forum: General Discussion
Last Post: cryptocurrency0
10-06-2021, 01:16 PM
» Replies: 16
» Views: 57,381
|
a couple of technical Que...
Forum: Technical Support
Last Post: mtom78632
10-06-2021, 11:08 AM
» Replies: 25
» Views: 72,023
|
crex24
Forum: Other exchanges
Last Post: marketingseo
10-05-2021, 09:47 AM
» Replies: 216
» Views: 514,167
|
|
|
Error talib install on ubuntu |
Posted by: ialberquilla - 07-29-2018, 10:20 PM - Forum: Technical Discussion
- Replies (2)
|
 |
Hi,
I'm trying to install the talib in node with the instruction:
But after compiling sources it fails with the error:
gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir '/home/ivan/gekko/gekko/node_modules/talib/build'
gyp ERR! System Linux 4.15.0-20-generic
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure"
gyp ERR! cwd /home/ivan/gekko/gekko/node_modules/talib
gyp ERR! node -v v8.11.3
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! talib@1.0.5 install: node ./src/lib/build.js && node-gyp configure && node-gyp build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the talib@1.0.5 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:
I tried it with sudo user with the same result, and changing the permission of the directory to 777, but nothing works, any idea?
Thanks
|
|
|
Debugging Gekko |
Posted by: faldor - 07-27-2018, 08:43 PM - Forum: Technical Discussion
- Replies (3)
|
 |
Hey all! I come from a Java/C# coding background and had a few questions around javascript/nodejs.
What do you use for debugging Gekko? I have made quite a few changes to my Gekko branch and the problems I have come across have been painful without a proper debugging technique.
What IDE is good for Debugging/stepping through code with javascript/nodejs? I have been using Visual Studio Code with no plugins. It has been nice for navigating files in the folder structure and coding, but need to have debugging setup in place.
Thanks and appreciate any feedback!
|
|
|
Market exchange Bittrex |
Posted by: biandrea - 07-27-2018, 11:52 AM - Forum: Technical Support
- Replies (2)
|
 |
Hello to all
Gekko boot (Gekko v0.5.13)
within via browser http: // localhost: 3000
in config
I insert the kay api of bittrex
Locate data
Import data
Market exchange
there is no Bittrex
because?
|
|
|
Changing EMA to DEMA in a native strat (help please) |
Posted by: Kris191 - 07-26-2018, 02:40 PM - Forum: Strategy Development
- Replies (2)
|
 |
Hi all,
I want to change the below strat from using EMA to using DEMA but if i change
'this.addIndicator('short', 'EMA', this.settings.short)' to this.addIndicator('short', 'DEMA', this.settings.short).
Then i get the error in fig 2, the only thing that changes is the addition of the letter D. Even if
This is the working code, when i change 'EMA' to 'DEMA' i get the error in fig 2
Code: var log = require('../core/log.js');
var method = {};
method.init = function() {
this.name = 'Triple Moving Average';
this.requiredHistory = this.settings.long;
this.addIndicator('short', 'EMA', this.settings.short)
this.addIndicator('medium', 'EMA', this.settings.medium)
this.addIndicator('long', 'EMA', this.settings.long)
}
method.update = function(candle) {
this.indicators.short.update(candle.close)
this.indicators.medium.update(candle.close)
this.indicators.long.update(candle.close)
if((this.indicators.short.result > this.indicators.medium.result) && (this.indicators.medium.result > this.indicators.long.result)) {
log.info('We are in an UP trend: Price =', this.indicators.short.result.toFixed(8))
} else if(this.indicators.medium.result < this.indicators.long.result) {
log.info('We are in a DOWN trend: Price =', this.indicators.short.result.toFixed(8))
}
}
method.check = function() {
const short = this.indicators.short.result;
const medium = this.indicators.medium.result;
const long = this.indicators.long.result;
if((short > medium) && (medium > long)) {
this.advice('long')
log.info('Were going long')
} else if((short < medium) && (medium > long)) {
this.advice('short')
log.info('Were getting outta this')
} else if((short > medium) && (medium < long)) {
this.advice('short')
log.info('Were getting outta this')
} else {
this.advice();
}
}
module.exports = method;
fig 2
Code: /root/gekko/strategies/TMA2.js:7
this.requiredHistory = this.settings.long;
^
TypeError: Cannot read property 'long' of undefined
at Base.method.init (/root/gekko/strategies/TMA2.js:7:40)
at Base.bound [as init] (/root/gekko/node_modules/lodash/dist/lodash.js:729:21)
at new Base (/root/gekko/plugins/tradingAdvisor/baseTradingMethod.js:70:8)
at Actor.setupTradingMethod (/root/gekko/plugins/tradingAdvisor/tradingAdvisor.js:60:17)
at Actor.bound [as setupTradingMethod] (/root/gekko/node_modules/lodash/dist/lodash.js:729:21)
at new Actor (/root/gekko/plugins/tradingAdvisor/tradingAdvisor.js:23:8)
at load (/root/gekko/core/pluginUtil.js:98:22)
at /root/gekko/node_modules/async/dist/async.js:1156:9
at replenish (/root/gekko/node_modules/async/dist/async.js:1030:17)
at iterateeCallback (/root/gekko/node_modules/async/dist/async.js:1015:17)
root@vps520385:~/gekko# node gekko --config test.js --backtest
Help please, i'm guessing EMA and DEMA read code different but the DEMA indicator uses the EMA indicator??/
Thanks
EDIT: @askmike i hope this makes it clearer as to where my issue is.
|
|
|
Code help (time plus) |
Posted by: Kris191 - 07-25-2018, 11:05 AM - Forum: Technical Discussion
- Replies (3)
|
 |
Hi all
i want my cli to report when the next candle will trigger i.e
Next candle time: (date and time)
I have the code to report current time how do i get it to report that time plus my candle size of 4 hrs?
Code: log.info('\t Next Candle Update:', this.marketTime.format('YYYY-MM-DD HH:mm:ss'))
All help welcome please
|
|
|
[HELP] Live Trading |
Posted by: kenpachi - 07-24-2018, 11:03 AM - Forum: Strategy Development
- Replies (4)
|
 |
Hi everyone,
Im just new to Gekko.
Already installed and run headless server.
Tried backtest also.
But got this error when running BTC/POWR on Binance
CCI strategies
2018-07-24 18:58:28 (DEBUG): NOT creating order! Reason: Lot size is too small
2018-07-24 18:59:09 (DEBUG): syncing private data
Not sure what it means...any help or explanation would do.
|
|
|
|