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: 926
» Forum posts: 6,383

Full Statistics

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

Latest Threads
An official Gekko service...
Forum: Announcements
Last Post: tanvirai
11-20-2025, 12:18 PM
» Replies: 113
» Views: 291,762
Gekko development status ...
Forum: Announcements
Last Post: erectilenovus
11-17-2025, 11:36 AM
» Replies: 753
» Views: 1,769,336
Gekko 0.6 released
Forum: Announcements
Last Post: soniyathakur
11-02-2025, 12:21 PM
» Replies: 129
» Views: 380,456
Gekko with malware spotte...
Forum: Announcements
Last Post: cofffee124
10-30-2025, 09:56 AM
» Replies: 216
» Views: 346,433
New Gekko UI in the works
Forum: Announcements
Last Post: cofffee124
09-04-2025, 08:12 AM
» Replies: 186
» Views: 390,768
How to add Binance Future...
Forum: Technical Support
Last Post: Xavier32
10-07-2021, 02:20 PM
» Replies: 47
» Views: 159,136
Bittrex Configuration hel...
Forum: Bittrex
Last Post: yirzolusto
10-07-2021, 07:39 AM
» Replies: 6
» Views: 31,838
[Question] Why does gekko...
Forum: General Discussion
Last Post: cryptocurrency0
10-06-2021, 01:16 PM
» Replies: 16
» Views: 70,995
a couple of technical Que...
Forum: Technical Support
Last Post: mtom78632
10-06-2021, 11:08 AM
» Replies: 25
» Views: 87,744
Is there any way to make ...
Forum: Custom Systems
Last Post: seorun
10-05-2021, 08:20 AM
» Replies: 42
» Views: 134,745

 
  Gekko needs ticks
Posted by: richard - 04-18-2018, 11:42 AM - Forum: Technical Discussion - Replies (6)

Aloha,

I think Gekko is pretty cool.  But it's missing something very important.

Access to trades.

Gekko gets data from the live market and builds candlesticks which it passes to your strategy.  Your strategy, as far as I can tell, has no access to current trades and prices.  Only when a candlestick is completed does price information get passed on.  Once for each candle.

Most strategies use various sorts of indicator crossings to make buy and sell decisions.  Candlesticks don't let you see exactly when a line crossing occurs.  They're always late.  That's why real-time charts have a moving marker for the current trade at the right edge.  So you know when to get in and out of trades.

Gekko doesn't have this very important information.

With 15-minute candles your entries and exits can be as much as 15 minutes off!  Even 1-minute candles are at a substantial disadvantage.

As others have noted, stop losses can hardly work under this system.  You are most likely to get really long candles when a trade is going against you.  So waiting for a candle to complete before testing for a stop is likely to be very costly.  This is why Gekko strategies with long time-frame candles get some pretty terrible losing trades.

You simply can't make decent entries and exits without watching every trade.

I've written trading bots and charting systems.  They both have always had full access to the trade stream.  Candles are nice to display, but I don't think I've ever used them for anything else.  You build them in the chart, not before.  They're just for looking at.

Gekko is at a substantial and costly disadvantage without access to the trade stream.


Richard


  Trade Class
Posted by: Kris191 - 04-18-2018, 08:12 AM - Forum: Technical Discussion - No Replies

Hi all,

It seems trade class no longer logs a successful sell which means my Gryphons output document no longer works, has anyone else had this issue? or is there currently a fix for this? I get the advice email but CLI doesn't report a sell even when its happened.

Thanks

Kris


  Buying/Selling in Portions
Posted by: jasonlaville - 04-17-2018, 11:33 PM - Forum: Technical Support - No Replies

Hello,

Gekko "Strategies can only trigger a LONG or SHORT which signals to go "all in"". I understand what this means, but I am looking to see if anyone found a way around it.

The strategy I plan to create requires that I buy using only a portion of my portfolio.

Is this possible?
Any help would be greatly appreciated.

Thanks,

Jeff


  How to run MK_RSI_BULL_BEAR strategy in CLI mode
Posted by: ankasem - 04-17-2018, 03:44 PM - Forum: Guides - Replies (1)

Hi
How to run MK_RSI_BULL_BEAR strategy in CLI mode

https://github.com/xFFFFF/Gekko-Strategies

# SMA Trends
# MK 200 worked better - all other changes were worse
# SMA_long = 1000
SMA_long = 200
SMA_short = 50

# BULL
BULL_RSI = 10
BULL_FAST_RSI = 5
BULL_SLOW_RSI = 14
BULL_RSI_HIGH=80
BULL_RSI_LOW=60

# BEAR
BEAR_RSI = 15
BEAR_FAST_RSI = 5
BEAR_SLOW_RSI = 14
BEAR_RSI_HIGH=50
BEAR_RSI_LOW=20

# BULL/BEAR is defined by the longer SMA trends
# if SHORT over LONG = BULL
# if SHORT under LONG = BEAR
-----------------------------------------------

how can we adapt such strategies (ui) to fashion (cli) fashion
written source please
thank you


  Stochastics over Heiken Ashi candles
Posted by: niquedegraaff - 04-17-2018, 10:00 AM - Forum: Strategy Development - Replies (3)

Hi,

I already implemented Heiken Ashi candles in my strategy, but now I want to have a stochastics indicator running on those heiken ashi candles. How can I do that? The input candle/price is hard coded inside the indicators. I can't send my own (Heiken Ashi) HOCL data to the indicator do I?


  Fix the bloody importer
Posted by: tommiehansen - 04-17-2018, 09:23 AM - Forum: Technical Discussion - Replies (10)

The importer is such a major suck in its current state to be frank.
It's so bad that i've considered many times to simply rewrite it.

This should be done
1. Split the sets into actual files, this since SQLite db's can be finicky and prone to corruption. A single exchange/set corrupting is a zero-problem. An entire db with 10+ sets corruption less so. This would also make it around 5 billion times % easier to share sets, manage them, convert to other DB's ... etc etc ... etc.

2. Use free filesharing sites such as transfer.sh to act as a proxy so that not every single user has to spam the exchanges for the same data over and over again.

-

Flow
This is a flow that could work:
a) download gekko_history.txt (basically an index file) that contains e.g. this CSV data:


Code:
EXCHANGE,ASSET,CURRENCY,FROM,TO,FILE
poloniex,NEO,USDT,2016-01-01,2018-04-01,https://transfer.sh/XJjVl/poloniex_neo_usdt_2016-01-01--2018-04-01.tar.gz


b) Check if user request contains the date that is within the csv data.. if so download from "link", untar it etc.


-

Any sort of file service could be used that allows for simple transfers and scripting transfer. transfer.sh is just used as an example since it's one of the simplest that i found myself for this sort of stuff.


  GDAX Trade Class Error
Posted by: Kris191 - 04-15-2018, 11:33 AM - Forum: Technical Discussion - No Replies

I pulled the new update through yesterday which included the trade class update and now my Gdax bot crashes with the following error...

/root/gekko/plugins/trader/trade.js:312
      return minimum = this.minimalOrder.amount;
                     ^

ReferenceError: minimum is not defined
    at Trade.getMinimum (/root/gekko/plugins/trader/trade.js:312:22)
    at Trade.sell (/root/gekko/plugins/trader/trade.js:185:22)
    at act (/root/gekko/plugins/trader/trade.js:89:18)
    at /root/gekko/node_modules/async/dist/async.js:3853:9
    at /root/gekko/node_modules/async/dist/async.js:484:16
    at replenish (/root/gekko/node_modules/async/dist/async.js:1025:25)
    at iterateeCallback (/root/gekko/node_modules/async/dist/async.js:1015:17)
    at /root/gekko/node_modules/async/dist/async.js:988:16
    at /root/gekko/node_modules/async/dist/async.js:3850:13
    at apply (/root/gekko/node_modules/async/dist/async.js:41:25)
    at /root/gekko/node_modules/async/dist/async.js:76:12
    at set (/root/gekko/plugins/trader/portfolio.js:89:9)
    at Trader.getFee (/root/gekko/exchanges/gdax.js:140:3)
    at Trader.bound [as getFee] (/root/gekko/node_modules/lodash/dist/lodash.js:729:21)
    at Portfolio.setFee (/root/gekko/plugins/trader/portfolio.js:91:19)
    at /root/gekko/node_modules/async/dist/async.js:3845:9
    at replenish (/root/gekko/node_modules/async/dist/async.js:1030:17)
    at iterateeCallback (/root/gekko/node_modules/async/dist/async.js:1015:17)
    at /root/gekko/node_modules/async/dist/async.js:988:16
    at /root/gekko/node_modules/async/dist/async.js:3850:13
    at apply (/root/gekko/node_modules/async/dist/async.js:41:25)
    at /root/gekko/node_modules/async/dist/async.js:76:12
    at set (/root/gekko/plugins/trader/portfolio.js:74:9)
    at Trader.result (/root/gekko/exchanges/gdax.js:115:5)
    at bound (/root/gekko/node_modules/lodash/dist/lodash.js:729:21)
    at /root/gekko/core/util.js:28:7
    at /root/gekko/exchanges/gdax.js:101:12
    at Request._callback (/root/gekko/node_modules/gdax/lib/clients/public.js:45:7)


Help please


  Acceptable Sharpe Ratio for live trading?
Posted by: bojim - 04-15-2018, 03:31 AM - Forum: General Discussion - Replies (4)

Newbie question...

After running GekoWarez's GA to back test and get a good configuration for a nice profit, can someone recommend an acceptable Sharpe Ratio for using the config for live testing?

I know the closer to 0 or higher the ratio, the less risk, but I'm just curios if anyone is actually seeing any success in live trading after seeing a strat back test as well as some of the stuff I'm seeing, like 400% profit in a three month span.    I don't expect those kinds of results in live trading, but if the Sharpe Ratio is say -0.2 is that too much risk when the test results are so great?

I have three live trade bots running against different exchange accounts right  now, but only for a few days which is not long enough to see anything positive.

Wondering if the risk factor is too high...

Thanks


  convert indicator gekko strategy help
Posted by: Asemaniko - 04-14-2018, 10:55 PM - Forum: Strategy Development - Replies (2)

study("MACD DEMA",shorttitle='MACD DEMA')
//by ToFFF
sma = input(12,title='DEMA Courte')
lma = input(26,title='DEMA Longue')
tsp = input(9,title='Signal')
dolignes = input(true,title="Lignes")

MMEslowa = ema(close,lma)
MMEslowb = ema(MMEslowa,lma)
DEMAslow = ((2 * MMEslowa) - MMEslowb )

MMEfasta = ema(close,sma)
MMEfastb = ema(MMEfasta,sma)
DEMAfast = ((2 * MMEfasta) - MMEfastb)

LigneMACDZeroLag = (DEMAfast - DEMAslow)

MMEsignala = ema(LigneMACDZeroLag, tsp)
MMEsignalb = ema(MMEsignala, tsp)
Lignesignal = ((2 * MMEsignala) - MMEsignalb )

MACDZeroLag = (LigneMACDZeroLag - Lignesignal)

swap1 = MACDZeroLag>0?green:red

plot(MACDZeroLag,color=swap1,style=columns,title='Histo',histbase=0)
p1 = plot(dolignes?LigneMACDZeroLag:na,color=blue,title='LigneMACD')
p2 = plot(dolignes?Lignesignal:na,color=red,title='Signal')
fill(p1, p2, color=blue)
hline(0)


  Resume advice after crash
Posted by: xFFFFF - 04-14-2018, 08:25 PM - Forum: Technical Discussion - Replies (2)

It often happens that Gekko has a crash when he gets advice sell / buy. Is there a way for Gekko to return to advice from the previous process after reboot? So if before the crash he had an advice to sell, he gets a new sell advice after restarting.