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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 28,575
» Latest member: sunwin117com
» Forum threads: 1,541
» Forum posts: 8,071

Full Statistics

Online Users
There are currently 339 online users.
» 2 Member(s) | 337 Guest(s)
hitclubevents, sunwin117com

Latest Threads
Gekko development status ...
Forum: Announcements
Last Post: kontho
5 hours ago
» Replies: 1,010
» Views: 937,017
Gekko with malware spotte...
Forum: Announcements
Last Post: adeldoors
10 hours ago
» Replies: 192
» Views: 171,014
Gekko 0.6 released
Forum: Announcements
Last Post: Pharagon
11-23-2024, 10:13 AM
» Replies: 122
» Views: 269,428
An official Gekko service...
Forum: Announcements
Last Post: drivemad2
11-22-2024, 07:24 AM
» Replies: 103
» Views: 190,460
New Gekko UI in the works
Forum: Announcements
Last Post: clduplicateremover
11-18-2024, 08:21 PM
» Replies: 174
» Views: 228,072
How to Soft Reset or Hard...
Forum: General Discussion
Last Post: lucifar
10-07-2021, 07:18 PM
» Replies: 22
» Views: 53,061
How to add Binance Future...
Forum: Technical Support
Last Post: Xavier32
10-07-2021, 02:20 PM
» Replies: 47
» Views: 108,476
Bittrex Configuration hel...
Forum: Bittrex
Last Post: yirzolusto
10-07-2021, 07:39 AM
» Replies: 6
» Views: 19,133
[Question] Why does gekko...
Forum: General Discussion
Last Post: cryptocurrency0
10-06-2021, 01:16 PM
» Replies: 16
» Views: 45,860
a couple of technical Que...
Forum: Technical Support
Last Post: mtom78632
10-06-2021, 11:08 AM
» Replies: 25
» Views: 58,614

 
  Exchange fees
Posted by: Regain - 09-28-2018, 10:30 PM - Forum: General Discussion - Replies (1)

Is it worth using gdax for the low maker fees or doesn’t gekko use that?


  ROC - Rate Of Change Strategy (Help!)
Posted by: fcl - 09-28-2018, 05:10 PM - Forum: Strategy Development - Replies (4)

Hello! I would like to run a simple strategy based ROC.

I'm using the ui Gekko and already have the indicator installed (.../gekko-stable/gekko-stable/strategies/ROC.js)
But when I select ROC on the drop down menu, the parameters are empty.
For example: when I select RSI, the RSI default parameters are:

"interval = 14

[thresholds]
low = 30
high = 70
persistence = 1"

Someone know what would be the necessary parameters for ROC?

Thank you!!



Attached Files
.png   roc.png (Size: 17.67 KB / Downloads: 6)

Exclamation Entry, stop loss and take profit at the same time
Posted by: Presunto - 09-27-2018, 12:36 PM - Forum: Binance - Replies (2)

Still impossible to do that with Gekko?


  trading times gekko timer
Posted by: spamjq38 - 09-27-2018, 11:57 AM - Forum: Strategy Development - Replies (1)

hello,

       Has anyone worked with a timer?  I would like to be able to restrict trading times based on trends over a period of time.


  Modifying NGINX Configuration File
Posted by: CryptoCoeus - 09-24-2018, 10:34 AM - Forum: Technical Support - Replies (1)

I believe for most of us it is hard to figured it out how to modify NGINX Config File to run gekko on Amazon EC2. Here is link for regarding issue on Gekko official page. 

Here is the sample /default config file. 

Code:
server {
   listen 80;
   listen [::]:80;
   server_name gekko.example.com;
   return 301 https://$server_name$request_uri;
}

upstream websocket {
   server localhost:3000;
}

server {
   listen 443 ssl;
   listen [::]:443 ssl;
   root /var/www/html;

   ssl_certificate /etc/nginx/ssl/nginx.crt;
   ssl_certificate_key /etc/nginx/ssl/nginx.key;    

   location / {
           proxy_buffers 8 32k;
           proxy_buffer_size 64k;

           proxy_pass http://websocket;
           proxy_set_header X-Real-IP $remote_addr;
           proxy_set_header Host $http_host;
           proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
           proxy_set_header X-NginX-Proxy true;

           proxy_http_version 1.1;
           proxy_set_header Upgrade $http_upgrade;
           proxy_set_header Connection "upgrade";

           proxy_read_timeout 86400s;
           proxy_send_timeout 86400s;

           auth_basic "Restricted Content";
           auth_basic_user_file /etc/nginx/.htpasswd;
   }
}

Do I need to copy & paste to this into my server default file ?


  possible to buy/sell incrementally?
Posted by: phattydee - 09-24-2018, 12:08 AM - Forum: Technical Support - No Replies

Is this possible within gekko?

Instead of going all in "Long" or "Short" is it possible to make your commitment to the market less binary and more incremental?

For example: you could have a level of bearishness to bullishness from 1 - 10 ? so instead of it being black and white it's got more of a grey area in between?

10     -  Super bullish: moving averages fast to slow are all above one another and climbing 100% into coin
7      - moving averages have crossed and are heading upward 70% into your coin
5      - meh: consolidating and sideways action 50% into coin
3     - moving averages have crossed and are heading down 30% into your coin
1      - Super bearish: moving averages fast to slow are all below one another and falling 0% into asset and back out into cash (or BTC if trading alts)


is this possible to set up inside gekko?

thanks for your time!

Phat


  Looking for a WORKING Bollinger Bands Indicator
Posted by: PrimalFury - 09-23-2018, 10:42 PM - Forum: Strategy Development - Replies (1)

Is there anyone with a working bollinger bands indicator where u could use if price < b.lower then....

I have this:

Code:

Code:
var periodbb = 20;

strat.init = function() {

this.addIndicator('bb', 'BB', {optInTimePeriod: periodbb } );
strat.check = function(candle) {
var BB = this.indicators.bb;

console.log(BB)


  Results of theconsole.log(BB) 

Indicator {
  input: 'price',
  settings: { optInTimePeriod: 20 },
  center:
   Indicator {
     input: 'price',
     windowLength: undefined,
     prices: [ 0.00001299, NaN: 0.0000124 ],
     result: 0.000025389999999999996,
     age: NaN,
     sum: 0.000025389999999999996 },
  lower: NaN,
  middle: 0.000025389999999999996,
  upper: NaN }


the bb.js file in strategies/indicators :
Code:
Code:
// required indicators: SMA;
// Bollinger Bands implementation;
var SMA = require('./SMA.js');
var Indicator = function(BBSettings) {
   this.input = 'price';
   this.settings = BBSettings;   
   this.center = new SMA(this.settings.TimePeriod);

   this.lower=0;
   this.middle=0;
   this.upper=0;
}

Indicator.prototype.calcstd = function(prices, Average)
{
   var squareDiffs = prices.map(function(value){
       var diff = value - Average;
       var sqr = diff * diff;
       return sqr;
   });

   var sum = squareDiffs.reduce(function(sum, value){
       return sum + value;
   }, 0);

   var avgSquareDiff = sum / squareDiffs.length;

   return Math.sqrt(avgSquareDiff);
}

Indicator.prototype.update = function(price) {
   this.center.update(price);

   this.middle = this.center.result;
   var std = this.calcstd(this.center.prices, this.middle);

   this.lower = this.middle - this.settings.NbDevDn * std;
   this.upper = this.middle + this.settings.NbDevUp * std;
}

module.exports = Indicator;


Anyone seeing what im doing wrong or forget?


  Looking for a WORKING Bollinger Bands Indicator
Posted by: PrimalFury - 09-23-2018, 10:39 PM - Forum: Technical Discussion - Replies (1)

Is there anyone with a working bollinger bands indicator where u could use if price < bb.lower then....

I have this:

Code:
var periodbb = 20;

strat.init = function() {

this.addIndicator('bb', 'BB', {optInTimePeriod: periodbb } );
strat.check = function(candle) {
var BB = this.indicators.bb;

console.log(BB)

  Results of theconsole.log(BB) 

Indicator {
  input: 'price',
  settings: { optInTimePeriod: 20 },
  center:
   Indicator {
     input: 'price',
     windowLength: undefined,
     prices: [ 0.00001299, NaN: 0.0000124 ],
     result: 0.000025389999999999996,
     age: NaN,
     sum: 0.000025389999999999996 },
  lower: NaN,
  middle: 0.000025389999999999996,
  upper: NaN }


the bb.js file in strategies/indicators :
Code:
// required indicators: SMA;
// Bollinger Bands implementation;
var SMA = require('./SMA.js');
var Indicator = function(BBSettings) {
   this.input = 'price';
   this.settings = BBSettings;  
   this.center = new SMA(this.settings.TimePeriod);

   this.lower=0;
   this.middle=0;
   this.upper=0;
}

Indicator.prototype.calcstd = function(prices, Average)
{
   var squareDiffs = prices.map(function(value){
       var diff = value - Average;
       var sqr = diff * diff;
       return sqr;
   });

   var sum = squareDiffs.reduce(function(sum, value){
       return sum + value;
   }, 0);

   var avgSquareDiff = sum / squareDiffs.length;

   return Math.sqrt(avgSquareDiff);
}

Indicator.prototype.update = function(price) {
   this.center.update(price);

   this.middle = this.center.result;
   var std = this.calcstd(this.center.prices, this.middle);

   this.lower = this.middle - this.settings.NbDevDn * std;
   this.upper = this.middle + this.settings.NbDevUp * std;
}

module.exports = Indicator;

Anyone seeing what im doing wrong or forget?


  Running Gekko as a taker
Posted by: cubit - 09-23-2018, 08:44 PM - Forum: Technical Discussion - Replies (3)

One of the web pages I've read somewhere today said something like "I hope we can run gekko as a taker soon", and as I've already done this (with disastrous results!) I thought I would share my experience here.

I am finding that whilst the papertrader buys and sells immediately at the market price the tradebot doesn't find it so easy!

So I thought I would give it a try as a taker rather than a maker.

I found the kraken API documentation and modified the kraken.js file, line 303, from -

   ordertype: 'limit',


to

   ordertype: 'market',

I kicked off gekko, kicked off a tradebot and walked away so I missed the carnage!

I lost 20% in 12 hours because my tradebot decided to buy high and sell low.

I guess whilst gekko is quoted a market price what you actually get when you a place a market order is the closest limit order somebody else has placed and not the actual market price that was quoted to gekko!

So... question for Mike I s'pose... in theory was that all I needed and my experiment ended as it should? Or did I miss something and maybe running as a taker could produce better results than I saw?

Also I had decided that running a machine on the ground probably wasn't any worse than running a machine in the sky (I have good Internet)... being that the standard limit orders take a while to go through... but having read the Agent X arbitrage story I am also wondering whether getting as close to the source as possible would help running as a taker?

Just interested in people's thoughts on this... particularly those who actually know what they are doing as opposed to me!! Smile


  RSI = 0 first view candles
Posted by: PrimalFury - 09-23-2018, 04:23 PM - Forum: Technical Discussion - Replies (5)

I have a simple rsi script which buys at rsi below 30 en buy at rsi above 70


Every candle which it checks it also prints out the RSI value

See the attachment. why are the first rsi value 0 ?

Code:
// Let's create our own strategy
var strat = {};

var RSIinterval = 14;
var RSIlow = 30;
var RSIhigh = 70;


strat.init = function() {

this.addIndicator('rsi', 'RSI', { interval: RSIinterval });    

}

// What happens on every new candle?
strat.update = function(candle) {
 // your code!
}

// For debugging purposes.
strat.log = function() {
 // your code!
}

// Based on the newly calculated
// information, check if we should
// update or not.
strat.check = function(candle) {

var RSI = this.indicators.rsi.result;
var RSIsaysSELL = RSI > RSIhigh;
var RSIsaysBUY = RSI < RSIlow;  
   console.log(RSI)    
   
   
   if (RSIsaysBUY)
   {
       this.advice('long')
   }    
   

if (RSIsaysSELL)
   {
     
    this.advice('short')
   
   }    
}

strat.end = function() {
 // your code!
}

module.exports = strat;



Attached Files
.png   Knipsel.PNG (Size: 56.62 KB / Downloads: 5)