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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 28,580
» Latest member: kubet100com
» Forum threads: 1,541
» Forum posts: 8,071

Full Statistics

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

Latest Threads
Gekko development status ...
Forum: Announcements
Last Post: kontho
Yesterday, 12:29 PM
» Replies: 1,010
» Views: 939,053
Gekko with malware spotte...
Forum: Announcements
Last Post: adeldoors
Yesterday, 06:45 AM
» Replies: 192
» Views: 171,141
Gekko 0.6 released
Forum: Announcements
Last Post: Pharagon
11-23-2024, 10:13 AM
» Replies: 122
» Views: 269,897
An official Gekko service...
Forum: Announcements
Last Post: drivemad2
11-22-2024, 07:24 AM
» Replies: 103
» Views: 190,531
New Gekko UI in the works
Forum: Announcements
Last Post: clduplicateremover
11-18-2024, 08:21 PM
» Replies: 174
» Views: 228,704
How to Soft Reset or Hard...
Forum: General Discussion
Last Post: lucifar
10-07-2021, 07:18 PM
» Replies: 22
» Views: 53,143
How to add Binance Future...
Forum: Technical Support
Last Post: Xavier32
10-07-2021, 02:20 PM
» Replies: 47
» Views: 108,496
Bittrex Configuration hel...
Forum: Bittrex
Last Post: yirzolusto
10-07-2021, 07:39 AM
» Replies: 6
» Views: 19,140
[Question] Why does gekko...
Forum: General Discussion
Last Post: cryptocurrency0
10-06-2021, 01:16 PM
» Replies: 16
» Views: 45,921
a couple of technical Que...
Forum: Technical Support
Last Post: mtom78632
10-06-2021, 11:08 AM
» Replies: 25
» Views: 58,621

 
  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.

Thanks,
Lucas


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

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!


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

Hello,

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.

Thanks


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

Hello.

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.
Portfolio:
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:

Code:
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 - Replies (3)

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:

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

I then determined how the entry balance is calculated:

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


Code:
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?):

Code:
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;
  this.trades++;
}

where the extractFee() function does this:

Code:
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:


Code:
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