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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 28,537
» Latest member: 23winvnco
» Forum threads: 1,541
» Forum posts: 8,069

Full Statistics

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

Latest Threads
Gekko with malware spotte...
Forum: Announcements
Last Post: adeldoors
1 hour ago
» Replies: 192
» Views: 170,481
Gekko development status ...
Forum: Announcements
Last Post: kontho
Yesterday, 04:00 PM
» Replies: 1,008
» Views: 934,903
Gekko 0.6 released
Forum: Announcements
Last Post: Pharagon
11-23-2024, 10:13 AM
» Replies: 122
» Views: 269,237
An official Gekko service...
Forum: Announcements
Last Post: drivemad2
11-22-2024, 07:24 AM
» Replies: 103
» Views: 190,210
New Gekko UI in the works
Forum: Announcements
Last Post: clduplicateremover
11-18-2024, 08:21 PM
» Replies: 174
» Views: 227,961
How to Soft Reset or Hard...
Forum: General Discussion
Last Post: lucifar
10-07-2021, 07:18 PM
» Replies: 22
» Views: 53,044
How to add Binance Future...
Forum: Technical Support
Last Post: Xavier32
10-07-2021, 02:20 PM
» Replies: 47
» Views: 108,442
Bittrex Configuration hel...
Forum: Bittrex
Last Post: yirzolusto
10-07-2021, 07:39 AM
» Replies: 6
» Views: 19,129
[Question] Why does gekko...
Forum: General Discussion
Last Post: cryptocurrency0
10-06-2021, 01:16 PM
» Replies: 16
» Views: 45,841
a couple of technical Que...
Forum: Technical Support
Last Post: mtom78632
10-06-2021, 11:08 AM
» Replies: 25
» Views: 58,600

 
  Crippled timespan in backtest graph
Posted by: bitbot - 07-24-2018, 03:10 AM - Forum: Technical Discussion - Replies (10)

I've performed a couple of backtests but something is wrong with the results' time frame. My database timespan should be 1 year, but somehow the results I get on the graph are depicted as a couple of hours long (see screenshot). I have tried different pairs with different exchanges and strategies, but all gave me the same kind of crippled result. The attached screenshot illustrates the problem (i.e. the X-axis shows minutes instead of months). Please also note the low volume of trades (only 60) in the supposedly 12 month period. Any help is appreciated (I'm using Gekko v.0.6.2 by the way).



Attached Files
.png   1 year backtest result.png (Size: 112.71 KB / Downloads: 9)

  Import error - 0.6.3 - binance only
Posted by: martyc - 07-23-2018, 06:32 AM - Forum: Technical Discussion - Replies (1)

How do I reopen an issue in github?
https://github.com/askmike/gekko/issues/2348

Seems to be only an issue with binance and only with 0.6.3

Cheers


  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.