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: 929
» Forum posts: 6,493

Full Statistics

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

Latest Threads
An official Gekko service...
Forum: Announcements
Last Post: Ruslanjoshua
07-24-2025, 06:27 AM
» Replies: 111
» Views: 245,555
Gekko 0.6 released
Forum: Announcements
Last Post: Mediks
07-14-2025, 07:09 AM
» Replies: 123
» Views: 331,030
New Gekko UI in the works
Forum: Announcements
Last Post: celemtine
07-03-2025, 07:24 AM
» Replies: 185
» Views: 321,576
Gekko with malware spotte...
Forum: Announcements
Last Post: pugoing
07-01-2025, 02:29 AM
» Replies: 212
» Views: 273,031
Gekko development status ...
Forum: Announcements
Last Post: sanmarconns
10-21-2024, 06:34 PM
» Replies: 744
» Views: 1,456,211
How to add Binance Future...
Forum: Technical Support
Last Post: Xavier32
10-07-2021, 02:20 PM
» Replies: 47
» Views: 133,414
Bittrex Configuration hel...
Forum: Bittrex
Last Post: yirzolusto
10-07-2021, 07:39 AM
» Replies: 6
» Views: 22,792
[Question] Why does gekko...
Forum: General Discussion
Last Post: cryptocurrency0
10-06-2021, 01:16 PM
» Replies: 16
» Views: 56,902
a couple of technical Que...
Forum: Technical Support
Last Post: mtom78632
10-06-2021, 11:08 AM
» Replies: 25
» Views: 71,544
crex24
Forum: Other exchanges
Last Post: marketingseo
10-05-2021, 09:47 AM
» Replies: 216
» Views: 510,284

 
  Function this.source.fetch(); getting blocked in marketDataProvider.js
Posted by: philipina - 03-30-2019, 10:14 PM - Forum: Technical Support - Replies (2)

Hello,

I did a strategy where I just display the price on Binance for LUNBTC.
There is not sell/buy. I just want to see how Gekko is working.
I did set the frequency to 1 minute. 
-------------------
 candleSize: 1, //1 minute
-------------------

The tick rate is the default, so, as far as I know this is 20sec.

So, what I expect is that every minute it will display the price for LUNBTC.

The problem is that from time to time it gets blocked.

I did try to investigate by adding logs and here is what I have done.

I have added the below logs in the MarketDataProvider.
--------------------
// HANDLERS
Manager.prototype.retrieve = function() {
 log.debug("Before source.fetch");
 this.source.fetch();
 log.debug("After source.fetch");
}

------------------

I have also added a log.debug entry in the marketFetcher
------------
etcher.prototype.fetch = function() {
 var since = false;
 log.debug('Enter in Fetch ');
 if(this.firstFetch) {
   since = this.firstSince;
   this.firstFetch = false;
 } else
   since = false;

 this.tries = 0;
 log.debug('Requested', this.pair, 'trade data from', this.exchange.name, '...');
 this._fetch(since);
}

----------------------

What I could see is that from time to time I see the log  Before source.fetch but I don't see the log Enter in Fetch.

It can stay like this for hours!
But if I press the ENTER key in the console I directly see the Enter in Fetch log entry.

So, it seems that somehow the  this.source.fetch(); function in the marketDataProvider gets blocked.
I don't know how to avoid that.

Have you ever had this problem?

Thanks in advance for your support.

Alain


  time zone Question
Posted by: TiberiusMC - 03-23-2019, 02:50 PM - Forum: General Discussion - No Replies

Hello everybody.
i am new to gekko and after some good backtesting i tried to trade live. but i don't get a trade going. i realised that my "Recieved data until xxx is one hour of my local time. is this a problem or intended. 
second question, (already asked in another thread) what do i need to own, to start trading. ex.: bnb vs btc. does it matter, what i have, or does the bot figure it out itself.
sorry for the noob questions.
cheers. TiberiusMC


  New UI?
Posted by: rdeman - 03-22-2019, 08:43 PM - Forum: General Discussion - Replies (1)

Hi all - is the new UI of GekkoPlus also available on Open Gekko? Or is OpenGekko still running the old UI?  Undecided


  Adding lots of indicators with dynamic settings
Posted by: scnonah - 03-20-2019, 02:28 AM - Forum: Strategy Development - Replies (2)

Hello. This is my first post here. I found a nice strat on trading view that I want to convert from pine script. The problem is the way the define and use different indicators, i'm finding it hard to recreate this strat in gekko and tulind. I know gekko has the addIndicator and addTuIndicator (spelling from memory), but they are required to be created in the init function. But the script I'm converting uses some of the indicator results as parameters for other indicator instantiations.

For example something like below.

//SRSI
smoothK = 3
smoothD = 3
lengthRSI = 9
lengthStoch = 9
rsi1 = rsi(price, lengthRSI)
k = sma(stoch(rsi1, rsi1, rsi1, lengthStoch), smoothK)
d = sma(k, smoothD)

//DEMA TEMA
e1 = ema(price, 9)
e2 = ema(e1, 9)
ema1 = ema(price, 9)
ema2 = ema(ema1, 9)
ema3 = ema(ema2, 9)
tema = 3 * (ema1 - ema2) + ema3
dema = 2 * e1 - e2
avda = avg(dema,tema)

Whats the best way to instantiate many tulind indicators?

Please let me know if you need more details.


  Date or timezone error
Posted by: Mrducky1982 - 03-20-2019, 01:34 AM - Forum: Technical Support - No Replies

Hi guys,

I've been running Gekko succesufully in CLI mode for some weeks now, but on every trade made I get this:

date:
   Moment {
     _isAMomentObject: true,
     _i: 1552842091039,
     _isUTC: false,
     _pf:
      { empty: false,
        unusedTokens: [],
        unusedInput: [],
        overflow: -2,
        charsLeftOver: 0,
        nullInput: false,
        invalidMonth: null,
        invalidFormat: false,
        userInvalidated: false,
        iso: false,
        parsedDateParts: [],
        meridiem: null,
        rfc2822: false,
        weekdayMismatch: false },
     _locale:
      Locale {
        _calendar: [Object],
        _longDateFormat: [Object],
        _invalidDate: 'Invalid date',
        ordinal: [Function: ordinal],
        _dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/,
        _relativeTime: [Object],
        _months: [Array],
        _monthsShort: [Array],
        _week: [Object],
        _weekdays: [Array],
        _weekdaysMin: [Array],
        _weekdaysShort: [Array],
        _meridiemParse: /[ap]\.?m?\.?/i,
        _abbr: 'en',
        _config: [Object],
        _dayOfMonthOrdinalParseLenient: /\d{1,2}(th|st|nd|rd)|\d{1,2}/ },
     _d: 2019-03-17T17:01:31.039Z,
     _isValid: true },
  side: 'sell',
  orders: 1,
  fees: { BNB: 0.00026979, ETH: 0.00262393 },
  feePercent: 0.001 }

Anyone got an idea of what is causing this? I'm running on Ubuntu 18.04.1.


Thx!


  workaround for this issue
Posted by: batssmasher - 03-19-2019, 11:45 AM - Forum: Strategy Development - No Replies

I am using EMA 200 for 4H so once i start gekko it took almost 10-15 mins using that data to build the strat . and while gekko is doing that i lose all the real time data while it is calculating . sometimes the delay is 20 mins . 


so is there any workaround for this ?.


  Running into problems with my first strategy
Posted by: catorRunner - 03-14-2019, 07:22 AM - Forum: Strategy Development - No Replies

First, I am know close to nothing about JS (I am taking a online course at the moment) 
The simple strategy I am attempting to create uses Tulip HMA and WMA (and I 'll add some other stuff later) 

I used the "moon" strategy (from the intro video) as my base to and I am attempting to add WMA to it but for some reason, parameter for WMA I set in .toml file is not read. 

Code:
strat.init = function() {
...
     this.addTulipIndicator('wmaS', 'wma', {
      optInTimePeriod: this.settings.wmaS
    });

and in my toml file, I got  wmaS = 21

The error I receive is: 


Quote:Error: Gekko was unable to configure Tulip Indicators:
       optInTimePeriod needs to be a number

What am I missing?


  Beginners walk through ABSOUTE STARTER
Posted by: PsykoNerd - 03-10-2019, 06:44 PM - Forum: General Discussion - Replies (1)

Hey all, I would like to receive a TOTAL starters guide to Gekko. I had a NERDY friend to install Gekko on my Raspberry PI, but I don't know where to go from there, and which buttons to press. Can anyone help me on these regards ??
Where do I put the code, is there a newby guide ??


  Is there any way to make a portfolio graph along with price graph in UI?
Posted by: aditya - 03-09-2019, 05:35 AM - Forum: Custom Systems - Replies (42)

Hi,
I am trying to edit the User Interface.
I want to make two curves on the graph one showing the performance of HODL and one showing the performance of my strategy.
Is it possible to do that?


  What is the best strategy?
Posted by: bdelmedico - 03-08-2019, 05:05 PM - Forum: General Discussion - Replies (1)

What is the best crypto-currency and what is the best strategy to buy in poloniex?