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 332 online users.
» 0 Member(s) | 332 Guest(s)

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

 
  Candle Interval Candles Values Mis-match
Posted by: faldor - 07-23-2018, 04:26 AM - Forum: Technical Discussion - Replies (1)

I have gekko on two different computers to test a few things such as this. On both computers I have imported a few coin pairs. On one computer when I backtest (logging values on .update() while) and compare the low+high+close/3 of any candle, it appears to not match TradingView candles by usually a few tenths of a decimal. On the other computer it matches up exactly. The value differences happen on all calculations so it appears that the timeframe of the candles are mismatched or data within is. It is causing my paper trading to show different buy/sell times then what my other computers gekko/tradingView shows for buy/sell.


  RPI OS version
Posted by: synxer - 07-23-2018, 01:45 AM - Forum: Technical Discussion - Replies (1)

Hello,

I was wondering if Gekko can be installed on:

PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"

The not lite version? I had some dependency errors about stuff being deprecated when installing. Will attempt again to gather error message, or do I need lite?


  Wrong time frame in backtest
Posted by: bitbot - 07-22-2018, 11:13 PM - Forum: General Discussion - Replies (7)

Hello. I'm a new gekko user. I've performed a couple of backtests but something is wrong with the results' time frame. My database range is 3 months, but somehow the results I get on the graph are always depicted as only 1 day long. I have tried different pairs (all from Poloniex) with different strategies, but all gave me the same error. The attached screenshot illustrates the results. Please note the low volume of trades (37) in the supposedly 3 month period. Any help is deeply appreciated.



Attached Files
.png   gekko backtest.png (Size: 110.9 KB / Downloads: 19)

  Error: cb(); is not a function
Posted by: faldor - 07-21-2018, 09:35 PM - Forum: Technical Discussion - Replies (4)

When importing a coin pair from Binance, and then running a live Gekko for paper trading I get the error:

_stream_writable.js:464
TypeError: cb is not a function
  at afterWrite (_stream_writable.js:464:3)

I tried swapping out the line:

return _.map(_.cloneDeep(batch), function(trade) {

in tradeBatcher.js so that it used .clone instead of .cloneDeep per this bug report on lodash https://github.com/nodejs/node/issues/10985 but results didn't change.

Weird thing is when I remove the coin pair data so that I get all the data from the exchange, I don't have the error. This happens with other coin pairs as well.

--UPDATE--
The error was coming from:
line 464: var state = stream._writableState;

in gekko-stable\node_modules\are-we-there-yet\node_modules\readable-stream\lib\_stream_writable.js.

I updated the line to just be = true and I no longer get the error. Can someone tell me why this is happening? My normal language is C# and this doesn't make sense to me. Also, anyone know the correct fix to make for it?


  Need help installing
Posted by: MickMack - 07-21-2018, 09:01 PM - Forum: Technical Discussion - Replies (2)

Here is the CMD




Your environment has been set up for using Node.js 8.11.3 (x64) and npm.

C:\Users\xxx>cd downloads

C:\Users\xxx\Downloads>cd gekko-develop

C:\Users\xxxx\Downloads\gekko-develop>cd gekko-develop

C:\Users\xxxx\Downloads\gekko-develop\gekko-develop>npm install
npm ERR! code SELF_SIGNED_CERT_IN_CHAIN
npm ERR! errno SELF_SIGNED_CERT_IN_CHAIN
npm ERR! request to https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz failed, reason: self signed certificate in certificate chain

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\xxxx\AppData\Roaming\npm-cache\_logs\2018-07-21T20_54_24_613Z-debug.log

C:\Users\xxxx\Downloads\gekko-develop\gekko-develop>

No UI pops up when I hit enter.
Any help is appreciated
Mick


  A little code help please.
Posted by: Kris191 - 07-20-2018, 12:54 PM - Forum: Strategy Development - No Replies

Hello,

I'm looking for some advice on how to get this strat to log in CLI the current indicator values & current price on every candle tick. I have included the strat code below, if someone could help me i would appreciate it massively...

Code:
var method = {};

method.init = function() {
 this.name = 'Triple Moving Average';
 this.requiredHistory = this.settings.long;

 this.addIndicator('short', 'SMA', this.settings.short)
 this.addIndicator('medium', 'SMA', this.settings.medium)
 this.addIndicator('long', 'SMA', 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)
}

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')
 } else if((short < medium) && (medium > long)) {
   this.advice('short')
 } else if(((short > medium) && (medium < long))) {
   this.advice('short')
 } else {
   this.advice();
 }
}

module.exports = method;


Thank you


  Import From CommandLine Not Storing Anywhere
Posted by: faldor - 07-20-2018, 02:38 AM - Forum: General Discussion - Replies (2)

When running imports from the Web UI I was getting data stored in the \history folder. When running imports using commandline via node gekko --config config.js --import, it doesn't appear that data is being saved anywhere. Am I doing something wrong? The data is showing trades being processed and eventually gets to "Done importing!".


  Gekko Node.JS and Python/C++
Posted by: aspiringtrader - 07-20-2018, 01:54 AM - Forum: General Discussion - No Replies

So, I have been doing a lot of research regarding setting up trading bots and algorithmic trading. 

I have seen a few times, mentioned mostly in random forum posts, that javascript should be avoided for financial applications, due to floating point numbers. The responses would rather suggest the use of Python, or C++ for trading bot. 

My question is, has javascript evolved to now be able to handle floating point numbers? (which i think are decimals?)

If not, how does Gekko work around this? 

Thanks in advance, this topic has got me interested more than anything else has in my 23 years of life.


  Windows x64 Install Error
Posted by: tarkan - 07-19-2018, 11:50 PM - Forum: Technical Discussion - Replies (1)

Hi, during the installation i got the errors below. 

C:\Users\tarka\Downloads\gekko-develop\gekko-develop\exchange>npm install --only=production
npm ERR! code ENOGIT
npm ERR! No git binary found in $PATH
npm ERR!
npm ERR! Failed using git.
npm ERR! Please check if you have git installed and in your PATH.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\tarka\AppData\Roaming\npm-cache\_logs\2018-07-19T23_45_14_920Z-debug.log

I done exactly the same what on the install page was written.

Thank you for your help,


  Live Gekko Not Using Imported Data
Posted by: faldor - 07-19-2018, 11:09 PM - Forum: General Discussion - Replies (11)

When running a Market watcher/Strat runner, it seems to get the data from fresh when I have already imported data for the same trading pair and exchange up till now. I would expect the Live Gekkos to piece together the imported data with the fresh data to make up the "Warmup Period" that my Live Gekko needs. When running a live gekko on 12 hour candles and a warmup period of 90 (using EMA(90)) in my strat, it would take over a month of fresh data if it doesn't utilize the imported data I have already got. Is this how Gekko is supposed to work? If so, could I easily get it to use imported data and piece together any data inbetween to get my live gekkos making calls instantly?

Thanks!