| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 340 online users. » 0 Member(s) | 340 Guest(s)
|
| Latest Threads |
An official Gekko service...
Forum: Announcements
Last Post: tanvirai
11-20-2025, 12:18 PM
» Replies: 113
» Views: 291,895
|
Gekko development status ...
Forum: Announcements
Last Post: erectilenovus
11-17-2025, 11:36 AM
» Replies: 753
» Views: 1,769,941
|
Gekko 0.6 released
Forum: Announcements
Last Post: soniyathakur
11-02-2025, 12:21 PM
» Replies: 129
» Views: 380,502
|
Gekko with malware spotte...
Forum: Announcements
Last Post: cofffee124
10-30-2025, 09:56 AM
» Replies: 216
» Views: 346,537
|
New Gekko UI in the works
Forum: Announcements
Last Post: cofffee124
09-04-2025, 08:12 AM
» Replies: 186
» Views: 390,881
|
How to add Binance Future...
Forum: Technical Support
Last Post: Xavier32
10-07-2021, 02:20 PM
» Replies: 47
» Views: 159,148
|
Bittrex Configuration hel...
Forum: Bittrex
Last Post: yirzolusto
10-07-2021, 07:39 AM
» Replies: 6
» Views: 31,847
|
[Question] Why does gekko...
Forum: General Discussion
Last Post: cryptocurrency0
10-06-2021, 01:16 PM
» Replies: 16
» Views: 70,999
|
a couple of technical Que...
Forum: Technical Support
Last Post: mtom78632
10-06-2021, 11:08 AM
» Replies: 25
» Views: 87,758
|
Is there any way to make ...
Forum: Custom Systems
Last Post: seorun
10-05-2021, 08:20 AM
» Replies: 42
» Views: 134,772
|
|
|
| Visualize Indicators help |
|
Posted by: cosmy - 07-09-2018, 07:01 AM - Forum: Technical Support
- No Replies
|
 |
Hi, I'm new and a bit dumb on this, I'm trying to visualize the indicators on a backtest result not just graph with the sell/buy data, I'm trying to make it look like the below image and I kept reading for last few hours but I don't understand which file do I need to modify in order to have the backtest result graph like this one. please some help
|
|
|
|
| Functions and Variables Reference ? |
|
Posted by: TCMabe - 07-08-2018, 04:44 PM - Forum: General Discussion
- Replies (2)
|
 |
Is there any documentation of the variables, functions and parameters that are available to create strategies ? I have been reviewing several strategies and I am slowly picking them out, just wondering if there is a guide or a better place to search for one ?
Thanks in advance for any assistance ... seems like a very helpful community and a lot of great work has been done here !
T.C. Mabe
|
|
|
|
| Docker (mac) new strategies |
|
Posted by: chico - 07-08-2018, 12:40 PM - Forum: General Discussion
- Replies (4)
|
 |
Hi everybody,
i have installed the latest version 0.61 of gekko in a docker container on mac, using localhost on port 3000
I wanted to test new strategies and i moved the ".js" file into strategies folder and ".toml" file into config/strategies folder.
i just reload the browser and it doesn't work, i cannot see the new strategies.
How to reload gekko in a docker container?
i tried:
docker exec "image file" node gekko --ui
it doesn't work
I hope somebody can help
|
|
|
|
| Install talib/tulip manually? |
|
Posted by: IPhantom - 07-08-2018, 05:39 AM - Forum: Technical Discussion
- Replies (15)
|
 |
Hi,
im running an Asustor NAS with a proprietary node.js and i get the following error when trying to install talib/tulip:
Code: admin@VAULT:/volume1/.@plugins/AppCentral/gekko $ npm install talib
> talib@1.0.5 install /volume1/.@plugins/AppCentral/gekko/node_modules/talib
> node ./src/lib/build.js && node-gyp configure && node-gyp build
building talib functions...
/bin/sh: make: not found
gyp ERR! build error
gyp ERR! stack Error: not found: make
gyp ERR! stack at getNotFoundError (/volume1/.@plugins/AppCentral/nodejs/lib /node_modules/npm/node_modules/which/which.js:14:12)
gyp ERR! stack at F (/volume1/.@plugins/AppCentral/nodejs/lib/node_modules/n pm/node_modules/which/which.js:69:19)
gyp ERR! stack at E (/volume1/.@plugins/AppCentral/nodejs/lib/node_modules/n pm/node_modules/which/which.js:81:29)
gyp ERR! stack at /volume1/.@plugins/AppCentral/nodejs/lib/node_modules/npm/ node_modules/which/which.js:90:16
gyp ERR! stack at /volume1/.@plugins/AppCentral/nodejs/lib/node_modules/npm/ node_modules/which/node_modules/isexe/index.js:44:5
gyp ERR! stack at /volume1/.@plugins/AppCentral/nodejs/lib/node_modules/npm/ node_modules/which/node_modules/isexe/access.js:8:5
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:123:15)
gyp ERR! System Linux 4.4.24
gyp ERR! command "/volume1/.@plugins/AppCentral/nodejs/bin/node" "/volume1/.@plu gins/AppCentral/nodejs/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.j s" "build"
gyp ERR! cwd /volume1/.@plugins/AppCentral/gekko/node_modules/talib
gyp ERR! node -v v6.9.1
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
npm ERR! Linux 4.4.24
npm ERR! argv "/volume1/.@plugins/AppCentral/nodejs/bin/node" "/usr/local/bin/np m" "install" "talib"
npm ERR! node v6.9.1
npm ERR! npm v3.10.8
npm ERR! code ELIFECYCLE
npm ERR! talib@1.0.5 install: `node ./src/lib/build.js && node-gyp configure && node-gyp build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the talib@1.0.5 install script 'node ./src/lib/build.js && no de-gyp configure && node-gyp build'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the talib package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node ./src/lib/build.js && node-gyp configure && node-gyp build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs talib
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls talib
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /volume1/.@plugins/AppCentral/gekko/npm-debug.log
Code: admin@VAULT:/volume1/.@plugins/AppCentral/gekko $ npm install tulind
> tulind@0.8.10 install /volume1/.@plugins/AppCentral/gekko/node_modules/tulind
> node-pre-gyp install --fallback-to-build
node-pre-gyp ERR! Tried to download(404): https://tulipnode.s3.amazonaws.com/tulind/v0.8.10/Release/tulind-v0.8.10-node-v48-linux-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for tulind@0.8.10 and node@6.9.1 (node-v48 ABI, unknown) (falling back to source compile with node-gyp)
gyp ERR! build error
gyp ERR! stack Error: not found: make
gyp ERR! stack at getNotFoundError (/volume1/.@plugins/AppCentral/nodejs/lib/node_modules/npm/node_modules/which/which.js:14:12)
gyp ERR! stack at F (/volume1/.@plugins/AppCentral/nodejs/lib/node_modules/npm/node_modules/which/which.js:69:19)
gyp ERR! stack at E (/volume1/.@plugins/AppCentral/nodejs/lib/node_modules/npm/node_modules/which/which.js:81:29)
gyp ERR! stack at /volume1/.@plugins/AppCentral/nodejs/lib/node_modules/npm/node_modules/which/which.js:90:16
gyp ERR! stack at /volume1/.@plugins/AppCentral/nodejs/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5
gyp ERR! stack at /volume1/.@plugins/AppCentral/nodejs/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:123:15)
gyp ERR! System Linux 4.4.24
gyp ERR! command "/volume1/.@plugins/AppCentral/nodejs/bin/node" "/volume1/.@plugins/AppCentral/nodejs/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/volume1/.@plugins/AppCentral/gekko/node_modules/tulind/lib/binding/Release/node-v48-linux-x64/tulind.node" "--module_name=tulind" "--module_path=/volume1/.@plugins/AppCentral/gekko/node_modules/tulind/lib/binding/Release/node-v48-linux-x64" "--node_abi_napi=node-v48"
gyp ERR! cwd /volume1/.@plugins/AppCentral/gekko/node_modules/tulind
gyp ERR! node -v v6.9.1
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/volume1/.@plugins/AppCentral/nodejs/bin/node /volume1/.@plugins/AppCentral/nodejs/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/volume1/.@plugins/AppCentral/gekko/node_modules/tulind/lib/binding/Release/node-v48-linux-x64/tulind.node --module_name=tulind --module_path=/volume1/.@plugins/AppCentral/gekko/node_modules/tulind/lib/binding/Release/node-v48-linux-x64 --node_abi_napi=node-v48' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/volume1/.@plugins/AppCentral/gekko/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at emitTwo (events.js:106:13)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:191:7)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:877:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
node-pre-gyp ERR! System Linux 4.4.24
node-pre-gyp ERR! command "/volume1/.@plugins/AppCentral/nodejs/bin/node" "/volume1/.@plugins/AppCentral/gekko/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /volume1/.@plugins/AppCentral/gekko/node_modules/tulind
node-pre-gyp ERR! node -v v6.9.1
node-pre-gyp ERR! node-pre-gyp -v v0.9.1
node-pre-gyp ERR! not ok
Failed to execute '/volume1/.@plugins/AppCentral/nodejs/bin/node /volume1/.@plugins/AppCentral/nodejs/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/volume1/.@plugins/AppCentral/gekko/node_modules/tulind/lib/binding/Release/node-v48-linux-x64/tulind.node --module_name=tulind --module_path=/volume1/.@plugins/AppCentral/gekko/node_modules/tulind/lib/binding/Release/node-v48-linux-x64 --node_abi_napi=node-v48' (1)
npm ERR! Linux 4.4.24
npm ERR! argv "/volume1/.@plugins/AppCentral/nodejs/bin/node" "/usr/local/bin/npm" "install" "tulind"
npm ERR! node v6.9.1
npm ERR! npm v3.10.8
npm ERR! code ELIFECYCLE
npm ERR! tulind@0.8.10 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the tulind@0.8.10 install script 'node-pre-gyp install --fallback-to-build'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the tulind package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-pre-gyp install --fallback-to-build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs tulind
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls tulind
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /volume1/.@plugins/AppCentral/gekko/npm-debug.log
Any way to get around this?
|
|
|
|
| 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)
|
 |
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.
|
|
|
|
|