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,494

Full Statistics

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

Latest Threads
Gekko 0.6 released
Forum: Announcements
Last Post: lsm99dna
08-06-2025, 08:15 PM
» Replies: 124
» Views: 334,082
An official Gekko service...
Forum: Announcements
Last Post: Ruslanjoshua
07-24-2025, 06:27 AM
» Replies: 111
» Views: 248,290
New Gekko UI in the works
Forum: Announcements
Last Post: celemtine
07-03-2025, 07:24 AM
» Replies: 185
» Views: 326,151
Gekko with malware spotte...
Forum: Announcements
Last Post: pugoing
07-01-2025, 02:29 AM
» Replies: 212
» Views: 277,731
Gekko development status ...
Forum: Announcements
Last Post: sanmarconns
10-21-2024, 06:34 PM
» Replies: 744
» Views: 1,482,289
How to add Binance Future...
Forum: Technical Support
Last Post: Xavier32
10-07-2021, 02:20 PM
» Replies: 47
» Views: 134,651
Bittrex Configuration hel...
Forum: Bittrex
Last Post: yirzolusto
10-07-2021, 07:39 AM
» Replies: 6
» Views: 23,029
[Question] Why does gekko...
Forum: General Discussion
Last Post: cryptocurrency0
10-06-2021, 01:16 PM
» Replies: 16
» Views: 57,455
a couple of technical Que...
Forum: Technical Support
Last Post: mtom78632
10-06-2021, 11:08 AM
» Replies: 25
» Views: 72,137
crex24
Forum: Other exchanges
Last Post: marketingseo
10-05-2021, 09:47 AM
» Replies: 216
» Views: 515,548

 
  Gekko Trading - CLI or UI
Posted by: Rustypaterson - 07-07-2018, 07:27 AM - Forum: Automated Trading - Replies (4)

Hi there people

I would like to find out which is better for live trading. the Gekko CLI or UI? I am using the RSI_BULL_BEAR_ADX on CLI at the moment, the reason why I"m using CLI is because when I did backtesting over a few months (3 months, 4 months, 5 months and 6 months) I get a profit of between 135% - 180%

If someone can suggest which one and your reason for choosing it...

EG:- I say UI is beter because of xyz

It will be interesting to see what everyone suggests

Thanks



Attached Files
.png   CLI Backtest USD.ETH.png (Size: 144.84 KB / Downloads: 62)
.png   UI Backtest USD.ETH.png (Size: 171.37 KB / Downloads: 58)

  Proper stop losses coming soon
Posted by: askmike - 07-07-2018, 07:27 AM - Forum: General Discussion - Replies (52)

[EDIT]
I'm working hard on implementing native trailing stop losses! Follow this PR: https://github.com/askmike/gekko/pull/2429
[/EDIT]

Stop losses are a very big part of trading successfully, whether it is automated trading or not. Gekko currently does not support proper stop losses (unless users implement those themselves in their strategies, which is far from ideal) due to the complexities around different exchanges API capabilities (most do not support native stop losses at all).

Now Gekko v0.6 is out I am planning to enhance Gekko Broker with proper stop losses while giving strategies a way to include stop losses when giving advice. I'm working on Gekko Plus where I am taking Gekko to the next level and I feel this has to include proper stop losses.

What is a stoploss?

A stoploss is an order designed to get out of a position that might turn the wrong direction, limiting risk. Imagine you are using Gekko to trade on USD/BTC and your strategy sees an opportunity to buy. It will trigger a buy advice and Gekko will gladly buy BTC with your USD. But what if your strategy turned out wrong and the price of BTC tanks? With a stoploss you can limit your potential loss to say 1% by automatically selling the BTC once the price drops 1%. Stop losses are not perfect: If there is a small dip in the price you will sell, even though the price might go up after.

Why are there currently no stop losses?

There are two big reasons for this:

1. Up until recently Gekko had a lot of limitations in the communication between strategies and the module responsible for executing (simulated or real) trade orders at the exchange. Gekko v0.6 introduced a new event system that allows for bi-directional communication needed to update the strategy in case a stop loss gets executed.
2. Not all exchanges support stop losses natively, in cases exchanges don't Gekko needs a way to offer them (by watching the price and trading whenever it hits X). Since v0.6 Gekko comes with a library that can be extended to support this: Gekko Broker.

What will Gekko support in the future?

I haven't fully figured this out yet (which is why I am posting this thread). But this is what I am currently thinking:

- introduce the concept of triggers such as:
  - stop loss (create an order when the price goes AGAINST your direction).
- trailing stop loss (same as above the the price trigger will move with the price, slowly securing more profit).
  - take profit (create an order when the price goes IN your direction - and you want to secure your profit).
- allow for strategies to specify how to execute the trigger, such as:
  - market order
  - sticky order
  - limit order

There is already a "tradeCompleted" event which can be extended to include information about what caused it (an advice, a stoploss or takeprofit trigger). As for now triggers can be passed along with "LONG" (buy) advice signals as to end a roundtrip early (before the strategy adviced to "SHORT" (sell)).

I'm still thinking about this execution part, I might split this design into two phases: first with only triggers and second with more order types.

What do you think?


  Problem Importing Data on Win10 Fresh Install
Posted by: spiritracket - 07-07-2018, 02:12 AM - Forum: Technical Support - Replies (2)


.png   Screenshot 2018-07-06 at 93614 PM.png (Size: 64.47 KB / Downloads: 16) I just installed Gekko on a Win 10 machine following the instructions from the YouTube video on the "Install Gekko on Windows" page (which differs considerably from the instructions on that page). Everything appeared to install properly and Gekko opened in my browser, but when I went to the Local Data tab and attempted to import data, the drop-down menus under Market don't appear until after reloading the page and then are blank and impossible to populate. The drop-downs under the Backtest tab work fine, but without local data are useless. I tried installing Git manually as I saw recommended in another forum post for Win7, but that changed nothing. Still the same problem. Thanks.


  Example strategy request
Posted by: Henry151 - 07-06-2018, 11:20 PM - Forum: Strategy Development - Replies (2)

Hello all,

I am hoping somebody can help me out by drafting an example strategy, that just shows how to use gekko-broker to make partial orders; i.e. to signal "buy with only 10% of portfolio." Unless I misunderstand, I believe that this should now be possible, with v0.6 and gekko broker, but I don't understand yet how it would be implemented.

Thanks in advance for any assistance, I'm sure others will benefit from this as well!

--Henry


  GekkoGA Parallel questions
Posted by: PatTrends - 07-06-2018, 07:24 PM - Forum: Third Party Software - Replies (2)

Hey all,

I'm attempting to use the run-ga-parallel.js script but after running it for a while I don't get any results. I can see in terminal that its changing the parameters with each run, and the epochs are stacking up, but it always returns "profit 0$" at the top and this at the bottom...


Quote:Other metrics of global maximum:
Global maximum so far:
false

As far as I can tell, no errors are being generated and the same strategy works via CLI, Web UI, and the standard GekkoGA.

Also (might be related), but can someone explain the "writer" parameters? I assume it writes the results to the specified path, but I can't get this to work either.


Code:
  "writer": {
            "enabled": true,
            "logpath": "logs/test"
          },


Thanks,

PT


  New properly install ubuntu terminal
Posted by: cantthink19 - 07-05-2018, 07:20 PM - Forum: Technical Discussion - Replies (1)

I started gekko being a butthead and going straight for the windows install since the windows 10 seemed a bit lengthy, I come to find out I need bash support for running xFFFFF strategies. I get the ubuntu but still have node.js and im having trouble adding  api keys on the new process can any point me in the right direction and help me firgure out if my ip is banned since i tried to run two different gekkos from the same ip?


  Webinterface disconnected on V0.6.1
Posted by: vultureonline - 07-05-2018, 01:34 PM - Forum: Technical Support - Replies (3)

I installed Gekko 0.6.1 on my Raspberry Pi but I'm unable te get the webinterface running.
I installed all the files via git (from the installation instructions) and edited the config-file in the web/vue/public dir.
This file is exactly as it was when in version 0.5 that was working great.
Is there any more configuration to do?

The error I get is when Gekko is running and I browse to the webinterface (on port 3000) is: 
Disconnected
Something happened to either Gekko or the connection. Please check the terminal where Gekko is running or your network connection.
This message is shown when the UI is unable to open a websocket connection with the Gekko Server.

This is my UIconfig.js file:

const CONFIG = {
 headless: true,
 api: {
   host: '0.0.0.0',
   port: 3000,
   timeout: 120000 // 2 minutes
 },
 ui: {
   ssl: false,
   host: '192.168.1.221',
   port: 3000,
   path: '/'
 },
 adapter: 'sqlite'
}

if(typeof window === 'undefined')
 module.exports = CONFIG;
else
 window.CONFIG = CONFIG;



Any help?


  how to set a stop loss?
Posted by: bashbash - 07-05-2018, 09:21 AM - Forum: Strategy Development - No Replies

Set up using mfi and macd it has more profitable trades than losses, however the losses are very big. this during a bearish market. Need help with setting a percentage stop loss.


  Installing on Windows 7 Issue
Posted by: Orpheus2 - 07-05-2018, 06:47 AM - Forum: Technical Support - Replies (5)

Hello,
 I am trying to install Gekko on Windows 7.  Off of the bat i noticed the code shown below wasnt pointing correctly to what I downloaded.  I had to path to "gekko-develop" in the file path.

Code:
cd Downloads
cd gekko-stable
cd gekko-stable
 Once I use that path I am able to install,  then I am able to run 
Code:
npm install --only=production




After the above step when I try to install  "Gekko Broker's dependencies"  I get the error listed below.


C:\Gekko\Gekko Unzip>cd gekko-develop



C:\Gekko\Gekko Unzip\gekko-develop>npm install --only=production

up to date in 7.002s



C:\Gekko\Gekko Unzip\gekko-develop>cd exchange



C:\Gekko\Gekko Unzip\gekko-develop\exchange>npm install --only=production

npm ERR! code ENOGIT

npm ERR! No git binary found in $PATH

npm ERR!

npm ERR! Failed using git.

npm ERR! Please check if you have git installed and in your PATH.



npm ERR! A complete log of this run can be found in:

npm ERR!     C:\Users\2nd Laptop\AppData\Roaming\npm-cache\_logs\2018-07-05T06_3
0_47_322Z-debug.log




I am able to Install Tulip Indicators.  I do Have an issue starting Gekko, and i get the error listed below.


C:\Gekko\Gekko Unzip\gekko-develop\exchange>node gekko --ui

module.js:549

    throw err;

    ^



Error: Cannot find module 'C:\Gekko\Gekko Unzip\gekko-develop\exchange\gekko'

    at Function.Module._resolveFilename (module.js:547:15)

    at Function.Module._load (module.js:474:25)

    at Function.Module.runMain (module.js:693:10)

    at startup (bootstrap_node.js:191:16)
    at bootstrap_node.js:612:3

Any help would be appreciated,

Thanks!

Or[heus2


Question Difference between check and update
Posted by: NaN - 06-28-2018, 01:54 PM - Forum: Strategy Development - Replies (2)

Hello, can someone explain me what is the difference between check and update methods inside strategies code?
This methods look pretty similar to me. Thanks.