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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 7,300
» Latest member: kentkwallace
» Forum threads: 1,218
» Forum posts: 5,663

Full Statistics

Online Users
There are currently 121 online users.
» 1 Member(s) | 120 Guest(s)
kentkwallace

Latest Threads
run gekko as service
Forum: Technical Support
Last Post: kentkwallace
12 minutes ago
» Replies: 5
» Views: 6,496
Buy Jungle Boys online at...
Forum: General Discussion
Last Post: calitinshop0
25 minutes ago
» Replies: 0
» Views: 4
Modern flower in saint-pe...
Forum: General Discussion
Last Post: Radepery
1 hour ago
» Replies: 3
» Views: 30
liteblue usps login
Forum: Technical Discussion
Last Post: tonygrey
5 hours ago
» Replies: 2
» Views: 285
What are the reasons no a...
Forum: Alternative Software
Last Post: Saimonwest
8 hours ago
» Replies: 2
» Views: 491
Python on the Software De...
Forum: General Discussion
Last Post: mrseo
Yesterday, 06:34 PM
» Replies: 3
» Views: 135
Time aspect of indicators
Forum: Technical Discussion
Last Post: nasila
Yesterday, 05:44 PM
» Replies: 19
» Views: 3,593
Gekko Dollar Cost Averagi...
Forum: Third Party Software
Last Post: yirzolusto
Yesterday, 05:29 PM
» Replies: 2
» Views: 2,865
hello baby monitor
Forum: Technical Discussion
Last Post: Saimonwest
Yesterday, 05:16 PM
» Replies: 1
» Views: 423
What Are the Best Languag...
Forum: General Discussion
Last Post: lucifar
Yesterday, 04:54 PM
» Replies: 1
» Views: 15

 
  Backtesting crash
Posted by: Valleyman - 01-19-2018, 01:15 PM - Forum: Technical Support - Replies (9)

Hello,

When backtesting in the UI it sometimes occurs that it finishes without displaying results but when I look at the CLI the test is clearly still running. 
This used to happen mainly when working with very short candles (1-2-5 minutes) but it's been happening more recently. 

Can somebody give me some pointers on how to examine this further? 

PS: Thanks for the effort Mike!

Cheers!


  let bot choose trading pair on basis of prev market volatility
Posted by: piffpaff18 - 01-19-2018, 07:02 AM - Forum: Strategy Development - Replies (1)

Hi. First of all, Thanks a lot Gordon! Super interesting work!

I would like to try to enable the bot to choose trading pairs on basis of previous market volatility... to make the market fit the strategy so to say.
Anyone else interested in this?


  Having problems installing Gekko
Posted by: z82 - 01-18-2018, 06:16 PM - Forum: Technical Support - Replies (3)

Hi,

I'm a new user and not very good with Linux.  I cannot get Gekko to run properly and receive an error when I try to run it:

/home/john/gekko/core/error.js:3
let RetryError = function(message) {
^^^

SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:374:25)
    at Object.Module._extensions..js (module.js:417:10)
    at Module.load (module.js:344:32)
    at Function.Module._load (module.js:301:12)
    at Module.require (module.js:354:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (/home/john/gekko/core/util.js:8:14)
    at Module._compile (module.js:410:26)
    at Object.Module._extensions..js (module.js:417:10)


Here are my system details:

64bit OS
16.04 LTS Ubuntu
Intel Core I5

My objective is to run it on a laptop and interact with it via my browser.

I tried following the instructions yesterday here:

https://gekko.wizb.it/docs/installation/...gekko.html

It was late at night and I might have installed nodejs after installing Gekko.  Will Gekko configure properly if nodejs is not present at install?  If Gekko is not configured properly, how do I start over? 

I also tried installing Gekko using Docker and no luck there either.   Since I couldn't get it to do anything, I uninstalled Docker.


  Try to understand how trend work
Posted by: joyNstay - 01-18-2018, 12:26 PM - Forum: Strategy Development - Replies (2)

Hello, I am trying to understand CCI strategy and I have some questions that I cannot answer.

In every strategy there is this code

Code:
 this.trend = {
   direction: 'undefined',
   duration: 0,
   persisted: false,
   adviced: false
 };

My problem is that I cannot be sure what persisted and advice do exactly.
Can anyone help me?


  Got my gekko running live papertrades but doesn't want to start actual bot.. binance
Posted by: kenny1309 - 01-18-2018, 10:51 AM - Forum: Technical Support - Replies (1)

hey guys,

i got my gekko installed on my pi, all working well (import date, live runners,...)
only isseu is that i can't start a trading bot... i can papertrade without isseu...
i'd like to set the but on BTC - XVG (i do have xvg on my binance but low on btc might this be the isseu?)
I did set my api keys for binance, but i hit an error:

Gekko 166573169671184 started
  --> POST /api/startGekko 200 39ms 369b
RECEIVED ERROR IN GEKKO 166573169671184


Gekko encountered an error and can't continue


Gekko encountered an error and can't continue

Error:

[binance.js] Response code 400

Meta debug info:

Gekko version: v0.5.12
Nodejs version: v6.12.3


  VWP (Volume Weighted Price)
Posted by: bpc555 - 01-18-2018, 07:13 AM - Forum: General Discussion - Replies (2)

I would like to know how BudFox is calculating VWP.

The Documentation for BudFox states that its output is JSON objects such as:


Code:
{"start":"2015-02-02T23:08:00.000Z","open":238.21,"high":239.35,"low":238.21,"close":238.66,"vwp":8743.778447997309,"volume":203.6969347,"trades":56}


where I assume "vwp" is Volume Weighted Price.  However, it seems to me that the actual values of VWP disagrees with other data (specifically price and volume) from that same record of trades.  

Given that

[Image: vwap.gif]


I presume then that VWP = VWAP * Total Share Bought = VWAP * Total Volume.

So, from the data from the sample record above, VMP = 8743.79 and volume = 203.70 which implies VWAP = 8743.79/203.70 = 42.92
But 42.92 is outside the high..low for that trading period (239.35 .. 238.21).

What am I missing?

Thanks in advance,
Brenton

BTW.  I checked the code [gekko/core/budfox/candleCreator.js: 149 and 152] and it does appear to be creating a VWAP correctly.  Perhaps the data is bad in the example?


Sad Strategy - GA
Posted by: aleep - 01-18-2018, 03:26 AM - Forum: Technical Support - Replies (1)

Hello, fist , I am sorry for my bad English and second Gekko is the best!!!


I am working in a strategy, who use HMA and it use Tulip. Its run in backtest OK, with this config


Strategy

Code:
this.addTulipIndicator('hull1', 'hma', this.settings.hull1);
this.addTulipIndicator('hull2', 'hma', this.settings.hull2);

In gekko\config\strategies
Code:
[hull1]
optInTimePeriod = 7
[hull2]
optInTimePeriod = 14

And in sample-config
Code:
 hull1 : {      optInTimePeriod: 7      },
 hull2 : {      optInTimePeriod: 14      },


Now i Am traing to use this excelente idea (http://gekkowarez.com/gekko-genetic-algorithm/)

But it dosent work!! I have this error in command
Quote:Gekko was unable to configure Tulip Indicators:
        hma requires optInTimePeriod.
  xxx POST /api/backtest 500 909ms -

My Porblem (i Think) is in the file your.new.js 

Code:
getProperties: ()


i tried with everythings, but I don't how I need to put the variables, I  try whit this for example
Code:
hull1.optInTimePeriod: randomExt.integer(15,5),


it is not working.

can you help me?????

Smile Smile Smile Smile Smile


  nodeSource 6.x installation failure
Posted by: ankasem - 01-17-2018, 10:07 PM - Forum: Technical Support - Replies (1)

hi

https://gekko.wizb.it/docs/installation/...ws_10.html


NodeSource installation failure


Code:
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -


Code:
npm install --only=production
gives a loading error

curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -

Working properly


Question Max. amount of exchanges/pairs?
Posted by: jasurakk - 01-17-2018, 01:27 PM - Forum: General Discussion - Replies (14)

Hi all,

and thank you very much askmike for opening this forum, way to go! Big Grin 

For what I have understood, it's possible to start many runners on one Gekko instance from the "Live Gekkos"- page. But is there any limitation for the amount of pairs or exchanges, or is it just a matter of memory on the PC? I mean, could I have 10 or 50 runners at the same time, each one looking for a different coin pairs? Or even so that I have runners for 5 different exchanges, 50 pairs per each exchange etc.?


  Backtesting CommandLines vs UI
Posted by: aorfevrebr - 01-15-2018, 06:10 PM - Forum: General Discussion - Replies (1)

Hi,

I'm new to Gekko universe, and I'm facing a strange issue.

I've different results from Gekko backtesting from Command Line and UI.

First all; here is my config file : 


Code:
config.watch = {

  // see https://gekko.wizb.it/docs/introduction/supported_exchanges.html
  exchange: 'binance',
  currency: 'BTC',
  asset: 'BNB',

  // You can set your own tickrate (refresh rate).
  // If you don't set it, the defaults are 2 sec for
  // okcoin and 20 sec for all other exchanges.
  // tickrate: 20
}

// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//                       CONFIGURING TRADING ADVICE
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

config.tradingAdvisor = {
  enabled: true,
  method: 'RSI',
  candleSize: 1,
  historySize: 3,
  adapter: 'sqlite'
}


As you can see; I launch it for BTC/BNB datas with strategy called RSI


Command line results gives the following : 


Code:
2018-01-15 14:51:18 (INFO): (PROFIT REPORT) [b]start time: 2017-10-14 21:37:00[/b]
2018-01-15 14:51:18 (INFO): (PROFIT REPORT) [b]end time: 2018-01-14 23:51:00[/b]
2018-01-15 14:51:18 (INFO): (PROFIT REPORT) timespan: 3 months
2018-01-15 14:51:18 (INFO): (PROFIT REPORT) sharpe ratio: -1.7844406222677447
2018-01-15 14:51:18 (INFO):
2018-01-15 14:51:18 (INFO): (PROFIT REPORT) start price: 0.00025811 BTC
2018-01-15 14:51:18 (INFO): (PROFIT REPORT) end price: 0.0015217 BTC
2018-01-15 14:51:18 (INFO): (PROFIT REPORT) Market: 489.55484096%
2018-01-15 14:51:18 (INFO):
2018-01-15 14:51:18 (INFO): (PROFIT REPORT) [b]amount of trades: 969[/b]
2018-01-15 14:51:18 (INFO): (PROFIT REPORT) original simulated balance: 100.00025811 BTC
2018-01-15 14:51:18 (INFO): (PROFIT REPORT) current simulated balance: 242.08398316 BTC
2018-01-15 14:51:18 (INFO): (PROFIT REPORT) simulated profit: 142.08372505 BTC (142.08335832%)
2018-01-15 14:51:18 (INFO): (PROFIT REPORT) simulated yearly profit: 563.50627779 BTC (563.50482332%)


On the other hand; when I launch Backtest with RSI strategy on BTC/BNB (binance) on UI; I have the following result : 
https://imagebin.ca/v/3oJAHpXgOLB8

This is confusing as number of trades and profit is very different.

Anyone has an idea on the issue ?