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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 4,412
» Latest member: peracio
» Forum threads: 796
» Forum posts: 3,925

Full Statistics

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

Latest Threads
Buy Xanax Online Without ...
Forum: General Discussion
Last Post: oliviajosie
06-24-2019, 08:32 PM
» Replies: 0
» Views: 25
[supernoob] unable to ins...
Forum: Technical Support
Last Post: plangin
06-24-2019, 10:18 AM
» Replies: 1
» Views: 83
Proper reverse proxy conf...
Forum: Technical Support
Last Post: t52CKEb7xFctB6T_Rc
06-23-2019, 09:52 PM
» Replies: 0
» Views: 22
Some side effects associa...
Forum: General Discussion
Last Post: oliviajosie
06-22-2019, 07:21 AM
» Replies: 0
» Views: 48
Heard of Adderall. What i...
Forum: General Discussion
Last Post: oliviajosie
06-21-2019, 01:03 PM
» Replies: 0
» Views: 62
Attach sell order at high...
Forum: General Discussion
Last Post: batssmasher
06-20-2019, 05:06 PM
» Replies: 1
» Views: 95
Gekko and binance
Forum: General Discussion
Last Post: harmitonkana
06-18-2019, 07:43 PM
» Replies: 2
» Views: 363
No Exchanges to choose fr...
Forum: Technical Discussion
Last Post: gollem
06-18-2019, 07:09 PM
» Replies: 1
» Views: 132
Multiple Imports?
Forum: Technical Discussion
Last Post: martyc
06-18-2019, 04:05 AM
» Replies: 0
» Views: 57
Problems with coinfalcon
Forum: Other exchanges
Last Post: gollem
06-17-2019, 07:17 PM
» Replies: 2
» Views: 1,524

 
  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 ?


  How does Gekko compare
Posted by: positonic - 01-15-2018, 02:35 PM - Forum: General Discussion - Replies (3)

Hey guys I'm new to Gekko. Looks good so far, and I'm a Javascript developer so looking forward to contributing...

How is it working for you? 

Is it as good at Gunbot and Haasbot? 

How much is it making for you?

Thanks for the hard work, I'm really excited!


  Trend line strategy
Posted by: positonic - 01-15-2018, 02:23 PM - Forum: Strategy Development - No Replies

I just want to make sure that there isn't currently any sort of trendline strategy in existance? Im thinking about developing one.... and don't want to re-invent the wheel...