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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 28,501
» Latest member: 99okcomim
» Forum threads: 1,541
» Forum posts: 8,064

Full Statistics

Online Users
There are currently 114 online users.
» 1 Member(s) | 113 Guest(s)
99okcomim

Latest Threads
Gekko development status ...
Forum: Announcements
Last Post: kontho
11 hours ago
» Replies: 1,006
» Views: 931,104
Gekko with malware spotte...
Forum: Announcements
Last Post: Dstewarts
11 hours ago
» Replies: 189
» Views: 170,104
Gekko 0.6 released
Forum: Announcements
Last Post: Pharagon
11-23-2024, 10:13 AM
» Replies: 122
» Views: 269,029
An official Gekko service...
Forum: Announcements
Last Post: drivemad2
11-22-2024, 07:24 AM
» Replies: 103
» Views: 189,830
New Gekko UI in the works
Forum: Announcements
Last Post: clduplicateremover
11-18-2024, 08:21 PM
» Replies: 174
» Views: 227,680
How to Soft Reset or Hard...
Forum: General Discussion
Last Post: lucifar
10-07-2021, 07:18 PM
» Replies: 22
» Views: 53,010
How to add Binance Future...
Forum: Technical Support
Last Post: Xavier32
10-07-2021, 02:20 PM
» Replies: 47
» Views: 108,371
Bittrex Configuration hel...
Forum: Bittrex
Last Post: yirzolusto
10-07-2021, 07:39 AM
» Replies: 6
» Views: 19,115
[Question] Why does gekko...
Forum: General Discussion
Last Post: cryptocurrency0
10-06-2021, 01:16 PM
» Replies: 16
» Views: 45,825
a couple of technical Que...
Forum: Technical Support
Last Post: mtom78632
10-06-2021, 11:08 AM
» Replies: 25
» Views: 58,577

 
  Simplicity and risk management
Posted by: richard - 04-19-2018, 07:24 AM - Forum: Technical Discussion - Replies (1)

The pros often say that keeping your trading strategy simple is of prime importance.

I understand that and agree, somewhat.  But I'm a programmer at heart, so when I see a challenge I often want to create a solution.

Risk management is a huge part of being successful at trading.  Huge.  Having tried my hand at day trading in the past it means a lot to me.  Here's an interesting article that makes this point and others in a useful fashion:

What It Takes to be A Successful Day Trader
    http://www.crbtrader.com/trader/v09n01/v09n01a01.asp

We're not trying to become day traders.  But we are trying to simulate them.  So their observations can be instructive.

The author said good traders don't trade every day.  Some days things aren't suitable, not enough trend or volatility, whatever.  Too risky.  Makes sense.  You can see it on the chart.

That reminded me of some of the Gekko strategies I've looked at with strings of bad trades in an otherwise successful strategy.  Made me wonder if there might be a way to leave the strategy mostly alone, but add a simple mechanism to identify bad days and avoid trading them.  Volatility, trend, volume, something.  Target those days and leave the rest alone.

Just a thought.  There will always be bad trades.  Finding ways to skip or minimize some of them seems worth strategizing about.  No doubt a lot harder than it sounds.

I just read that 75% of trades in the traditional markets are done by bots.  And I also read that more whales are targeting cryptos.  So it makes sense we need to manage our risk well.

Richard


  Gekko development status thread
Posted by: askmike - 04-18-2018, 03:00 PM - Forum: Announcements - Replies (1006)

As some might have noticed I haven't been responding to all threads on the forum and all github issues in recent times. This is because I am working very hard on a massive upgrade for Gekko as well as preparing Gekko Plus for launch. I've hired someone to help with certain aspects of the project (visual design for the new upcoming UI as well as the Gekko Plus brand). I do want everyone to know that I am working very hard on Gekko every day, even though it might not be reflected when looking at the issue tracker or at my activity on the forum.

If you want to reach out to me and require a swift response please e-email me directly at gekko@mvr.me.

The purpose of this thread is to keep everyone updated on what is happening on my side, I will try to post updates to this thread on a regular basis. All updates are comments on this thread, they can all be found in this list:

- [2018-04-19] Update 1: The current roadmap (event system, new UI, order execution upgrade)
- [2018-07-05] Update 2: Major stability release (Gekko 0.6)
- [2018-08-08] Dev update 3: Gekko Plus is taking shape


  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