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



Search Forums

(Advanced Search)

Forum Statistics
» Members: 3,645
» Latest member: guiduck
» Forum threads: 658
» Forum posts: 3,549

Full Statistics

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

Latest Threads
Upcoming Strategy Competi...
Forum: Strategy Development
Last Post: crypto49er
12-12-2018, 10:51 PM
» Replies: 43
» Views: 2,422
Gekko only sell
Forum: Technical Support
Last Post: c00l
12-11-2018, 07:51 PM
» Replies: 0
» Views: 39
[Question] Why does gekko...
Forum: General Discussion
Last Post: hitripley
12-11-2018, 01:33 PM
» Replies: 2
» Views: 88
TALIB RSI Required parame...
Forum: Technical Support
Last Post: batssmasher
12-10-2018, 05:26 AM
» Replies: 1
» Views: 59
It is normal for both syn...
Forum: General Discussion
Last Post: mrpaiva
12-09-2018, 06:03 PM
» Replies: 0
» Views: 50
Is there a way to disable...
Forum: Technical Discussion
Last Post: askmike
12-08-2018, 11:08 PM
» Replies: 3
» Views: 110
[Share] RSI-BB-ADX with c...
Forum: Strategy Development
Last Post: Kris191
12-07-2018, 05:58 AM
» Replies: 14
» Views: 683
Big difference in live pa...
Forum: Technical Support
Last Post: mark.sch
12-06-2018, 08:12 AM
» Replies: 4
» Views: 192
Neural Network strategy b...
Forum: Strategy Development
Last Post: deandree
12-04-2018, 09:18 PM
» Replies: 5
» Views: 605
[SHARE] GAB - Gekko Autom...
Forum: Third Party Software
Last Post: taraxacum666
12-02-2018, 01:18 PM
» Replies: 136
» Views: 37,535

  Support for CoinSpot exchange
Posted by: scaryspace - 11-15-2018, 07:54 AM - Forum: Feature Requests - No Replies

Hi, im new to Gekko and before starting to use it,
I need to request for my exchange of choice, CoinSpot, to be supported.


Lightbulb Neural Network strategy backtest comparison
Posted by: deandree - 11-12-2018, 08:41 PM - Forum: Strategy Development - Replies (5)

Hi, all!

For the past few months, I've been running backtest experiments where I compare publicly available strategies against each other. I have been documenting results in my Medium series - https://medium.com/@deandree. I just thought I share this here, because I believe my results and information could be useful to Gekko community. Also I hope to hear insights and comments from you.

In my latest article, I decided to go for the big fish and gathered 15 Neural Network strategies and backtested them against TOP20 Coins on September datarange:
    -    neuralnet_SirTificate
    -    neuralnet_zschro
    -    zuki_nn
    -    mounirs-ga-version-1
    -    mounirs-ga-version-2
    -    mounirs_esto
    -    n8
    -    n8_v2
    -    n8_v2_BB_RSI_SL
    -    NNv2
    -    NN_ADX_RSI
    -    neataptic
    -    LSTM_MACD_RSI_V3
    -    Luke_NN
    -    ManuNet

In my next article, I have planned to dig deeper and show you the price prediction line of each strategy, so we can get a better understanding of what's really going on behind the scenes. 

For example, here is prediction line for n8_v2 strategy for IOT coin in September month:
[Image: n8-v2-IOT.png]

Let me know if this is useful to you and/or if any suggestions! Thanks!

Posted by: Kris191 - 11-12-2018, 06:00 AM - Forum: General Discussion - Replies (4)


Quick one, can plugins be enabled if using UI? if so how? i cannot seem to find a config files to edit what plugins i want to run.


Wink Binance disable and enable
Posted by: Maiki76 - 11-11-2018, 08:16 PM - Forum: General Discussion - Replies (2)


I been using Gekko now two weeks about and i do love it :Smileakes time to get to know all but slowly im getting there. BUT i do have this problem with Binance caused by my strategy "i think". Im using right now strategy with stopploss and as when use stoploss the bot make's a buy and trye to sell but only seem's to wait just a second or two and cansel the sell due to stoploss setting.. Now im not really sure if this is caused to this but believe so. Now i got a email "again" from Binance about trading disabling/enable. First time when i did get this i make new API for bot and was good to go. So now i disabled the stopploss to see if getting better. 

So im worried about this. Can it be only stopploss setting that does this or what? Also wunder how can i add Bitstamp in Gekko bot =) 

Thank you [Image: wink.png]

  Log Indicates Portfolio Balance Incorrectly
Posted by: TonyAnthony - 11-11-2018, 01:14 AM - Forum: Binance - Replies (4)

I was attempting to trade ETC/BAT.
Once the Bot starts and pulls from Binance, my ETH Balance is at first correct and then after the Balance part reports incorrect.
This causes the bot to no trade in the proper direction. Is this a Binance API issue? It has only happened for this pair so far.
2018-11-10 19:40:03 (INFO): 0.00003129 ETH
2018-11-10 19:40:03 (INFO): 0.945 BAT
2018-11-10 19:40:03 (INFO): Balance:
2018-11-10 19:40:03 (INFO): 0.00127023225 ETH
2018-11-10 19:40:03 (INFO): Exposed:
2018-11-10 19:40:03 (INFO): yes (97.54%)

  Indicators visualization on backtests
Posted by: thaal - 11-10-2018, 03:04 PM - Forum: Strategy Development - No Replies

I'm still pretty new, so forgive me if I missed something. 

I'm trying to define settings on strategies based on vvarious indicators however, I like the visual data on backtests graphs to see the triggers and adjust accordingly... Of course i can try adjusting some numbers and try to run the backtest again but that's a bit counter productive... 

Or is there a way to backtest with tones of different settings at once in order to find optimal settings ?

Also I found out sometimes back tests results can be quite different from the actual real world trade bot performance, even when matching strategies and fees during live trading with the backtest run afterwards on the same past period ^^

  Failed to load indicator Alligator
Posted by: noba - 11-08-2018, 10:12 PM - Forum: Technical Discussion - Replies (1)

Hello all,

I tried to from the command line with this node gekko -c config.js and i get this error:

2018-11-09 00:08:30 (ERROR):    Failed to load indicator Alligator
2018-11-09 00:08:30 (ERROR):    Failed to load indicator HEIKEN
2018-11-09 00:08:31 (ERROR):    Failed to load indicator PIVOTHIGHLOW
2018-11-09 00:08:31 (ERROR):    Failed to load indicator RSI-beta

I check and i have on the strategies/indicators that js files. How i can fix that ?

  Fee and roundtrip profit report calculations. Are they correct?
Posted by: slav - 11-08-2018, 06:54 PM - Forum: Technical Discussion - No Replies

So I was recently doing some backtesting, and noticed that the single roundtrip profit report (gekko ui by the way) is a bit deceiving, at least to me.
It's not really that big of a problem but rases some questions.
At times it will show that during roundtrip I made a profit when in reality I made a loss.
Let me show you what I mean on a example:

My initial balance is 10000 currency no asset. fee is 0.1% (both maker and taker)
After the first roundtrip I get a report:
entry balance = 9990, exit balance = 9999, p&l = 9, profit = 0.09%

So report shows a profit of 9 currency, but when we look at the exit balance it's clearly a loss of 1 currency.
It calculates the profit based on "entry balance" which is the previous (in this case initial) balance after fee. this gives us 9990 currency.
Wouldn't it be better if it was based on previous roundtrip exit balance, so it would show a 1 currency loss instead of a profit?

Next I found the calculation in performance analyzer to be done like this:

roundtrip.pnl = roundtrip.exitBalance - roundtrip.entryBalance;

I then determined how the entry balance is calculated:

  this.roundTrip.entry = {
    date: trade.date,
    price: trade.price,
    total: trade.portfolio.currency + (trade.portfolio.asset * trade.price), // <--- here

PerformanceAnalyzer.prototype.handleCompletedRoundtrip = function() {
var roundtrip = {
  id: this.roundTrip.id,

  entryAt: this.roundTrip.entry.date,
  entryPrice: this.roundTrip.entry.price,
  entryBalance: this.roundTrip.entry.total,// <--- and further here

  exitAt: this.roundTrip.exit.date,
  exitPrice: this.roundTrip.exit.price,
  exitBalance: this.roundTrip.exit.total,

  duration: this.roundTrip.exit.date.diff(this.roundTrip.entry.date)

Everything seems fine so far, but let's check out how trade.portfolio.asset is being calculated(assuming it's being fetched straight from paperTrader.js?):

if(what === 'long') {
  cost = (1 - this.fee) * this.portfolio.currency;
  this.portfolio.asset += this.extractFee(this.portfolio.currency / this.price);// <------------------- here
  amount = this.portfolio.asset;
  this.portfolio.currency = 0;

  this.exposed = true;

where the extractFee() function does this:

PaperTrader.prototype.extractFee = function(amount) {
amount *= 1e8; // <------------------------------------- (10000 currency / price like 15.7175) 636.2334976936536 * 10^8 = 63623349769.36536
amount *= this.fee;//<----------------------------------- 63623349769.36536 * 0.999 = 63559726419.59599
amount = Math.floor(amount);//<--------------------------- Rounds down removing everything after the comma so we get 63559726419
amount /= 1e8; // <----------------------------------------63559726419 / 10^8 = 635.59726419
return amount;


I get 635.59726419 of asset so now paperTrader uses this number to calculate the balance we have and here is where it gets interesting:

PaperTrader.prototype.getBalance = function() {
return this.portfolio.currency + this.price * this.portfolio.asset;

When calculated returns : 0 + 15.7175 * 635.59726419 = 9989.999999906326 !?

Well that should be equal 9990 right?
Because the extractFee() function uses Math.floor() we lose that .59599 which changes the final result giving us a slightly incorrect balance.
I understand it's limiting the amount of numbers after the comma for the exchange.
So my question is how does this affect the whole bot? Does it have an effect at all?
How does it affect real trading?
It's a bit concerning that maybe this problem could compound on itself overtime affecting the final result of backtest/live trade.

  Volume as an Indicator
Posted by: BlackWinter - 11-08-2018, 02:07 AM - Forum: Strategy Development - No Replies

Hello everyone,

I am trying to incorporate Volume traded as part of my strategy. How can I implement this into my code? So basically along with SMA & RSI, if current candle volume is higher than previous candle by x% then buy for example

Any help would be appreciated.

Thank You

  Feature for "Panic Sell/Buy Dynamic"
Posted by: TOM38 - 11-06-2018, 03:22 AM - Forum: Strategy Development - No Replies

Hi guys

I would like to know only if it is possible to create a feature for "Panic Sell / Buy Dynamic" - in case something goes wrong, this feature will initiate an automatic replacement of your sell/buy order so that your order always keep first book of offers.

For this, with each candle closure, the algorithm checks the order book and detects the quantity of btc or wall of purchase / sale, placing the purchase order always first.

I would like any help or idea and am willing to pay for this service if need be.

Thanks in advance