| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 412 online users. » 0 Member(s) | 412 Guest(s)
|
| Latest Threads |
An official Gekko service...
Forum: Announcements
Last Post: tanvirai
11-20-2025, 12:18 PM
» Replies: 113
» Views: 291,525
|
Gekko development status ...
Forum: Announcements
Last Post: erectilenovus
11-17-2025, 11:36 AM
» Replies: 753
» Views: 1,767,666
|
Gekko 0.6 released
Forum: Announcements
Last Post: soniyathakur
11-02-2025, 12:21 PM
» Replies: 129
» Views: 380,253
|
Gekko with malware spotte...
Forum: Announcements
Last Post: cofffee124
10-30-2025, 09:56 AM
» Replies: 216
» Views: 345,940
|
New Gekko UI in the works
Forum: Announcements
Last Post: cofffee124
09-04-2025, 08:12 AM
» Replies: 186
» Views: 390,388
|
How to add Binance Future...
Forum: Technical Support
Last Post: Xavier32
10-07-2021, 02:20 PM
» Replies: 47
» Views: 159,104
|
Bittrex Configuration hel...
Forum: Bittrex
Last Post: yirzolusto
10-07-2021, 07:39 AM
» Replies: 6
» Views: 31,834
|
[Question] Why does gekko...
Forum: General Discussion
Last Post: cryptocurrency0
10-06-2021, 01:16 PM
» Replies: 16
» Views: 70,982
|
a couple of technical Que...
Forum: Technical Support
Last Post: mtom78632
10-06-2021, 11:08 AM
» Replies: 25
» Views: 87,716
|
Is there any way to make ...
Forum: Custom Systems
Last Post: seorun
10-05-2021, 08:20 AM
» Replies: 42
» Views: 134,721
|
|
|
| Can I use more than one stradegy in one Gekko? |
|
Posted by: lutianzhou001 - 09-29-2019, 02:03 AM - Forum: Feature Requests
- Replies (1)
|
 |
In the real market there will be more than one stradegy combined. Can I choose more than one stradegy and backtest them and use them into one Gekko in the real market ? For example I will combine MACD and RSI ,which means both MACD and RSI give the signal to buy, I will buy , or , I won't buy.
|
|
|
|
| Unable to install talib |
|
Posted by: mbeeks999 - 09-25-2019, 06:03 PM - Forum: Technical Support
- Replies (11)
|
 |
Hi all,
I am unable to install talib in my gekko directory. It will provide me with the following error code:
Code: gyp ERR! configure error
gyp ERR! stack Error: Command failed: /Users/martijnbeeks/anaconda3/bin/python -c import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack File "<string>", line 1
gyp ERR! stack import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack ^
gyp ERR! stack SyntaxError: invalid syntax
gyp ERR! stack
gyp ERR! stack at ChildProcess.exithandler (child_process.js:294:12)
gyp ERR! stack at ChildProcess.emit (events.js:198:13)
gyp ERR! stack at maybeClose (internal/child_process.js:982:16)
gyp ERR! stack at Socket.stream.socket.on (internal/child_process.js:389:11)
gyp ERR! stack at Socket.emit (events.js:198:13)
gyp ERR! stack at Pipe._handle.close (net.js:606:12)
gyp ERR! System Darwin 18.7.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure"
gyp ERR! cwd /Users/martijnbeeks/ProjectY/gekko-develop/talib
gyp ERR! node -v v10.16.3
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! talib@1.1.2 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.1.2 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
Does anyone know what I am doing wrong? I am somehow thinking it interferes with Python and I completely removed Python but it was still not working.
Thanks in advance,
Martijn
|
|
|
|
| trade with 50% |
|
Posted by: MPrunner - 09-20-2019, 06:08 AM - Forum: Guides
- Replies (4)
|
 |
Hi,
i am new with gekko, but it works now :-)
i want to run 2 gekkos with one trading account. So i have to limit each gekko to a trading amount of 50% ?
can anybody tell me in simple words (i am not a programmer, i read some articles about this but didn't understand it ) where i can tell gekko to trade only with 50% of my amount ?
thank you so much
Mike
|
|
|
|
How to retrieve balance |
|
Posted by: PGTART - 09-14-2019, 01:45 PM - Forum: Technical Discussion
- No Replies
|
 |
So far I've not seen any strategy looking at the personal balance, or any coding example.
ea all gains of trades are estimated upon candle.close math
Which is nice but at some point one could be trough all his/her invested money.
So my question how to retrieve the current balance (after a short).
Also where to set the starting balance.
Otherwise, lots of strategies dont make sense, i mean it's nice to have invested 1000 euro.
But when one loses 1500 euro in a trade and then next make 3000 profit then that could never have happened (since you where broke allready).
It seems quite vital to know the current balance.
And i would like to handle this in my strategies.
|
|
|
|
| We are hiring a node.js dev who has experience with gekko |
|
Posted by: kodjima33 - 09-12-2019, 01:47 PM - Forum: Third Party Software
- Replies (4)
|
 |
Hey guys! We are looking for a backend developer who has experience in:
-gekko
-node.js
-postgreSQL.
I am a product owner in Fund Platform - software for crypto fund managers. We have an algotrading feature so that customers can connect their exchanges and write algorithms using gekko.
Hope we can find somebody here. I am really sorry for an off-topic post.
My telegram is: @ceofundplatform
Horly payments up to $25/hour
|
|
|
|
| Gekko Docker |
|
Posted by: Stixx - 09-12-2019, 08:17 AM - Forum: Technical Support
- No Replies
|
 |
Thanks for this awesome program. I am trying to install this on unraid using docker but have a couple of questions, is there a way to make it persist so I can recreate the container and keep settings?
Also when the container restarts the strat runners stop, is there a way to resume where you left off?
|
|
|
|
| candlestickTrader (new) |
|
Posted by: PGTART - 09-11-2019, 12:17 PM - Forum: Strategy Development
- Replies (28)
|
 |
So you've seen some youtube or red some books and thought Candle sticks are hot.
Oh well, I did for a while and stumbled upon some code on the internet, bug fixed it, and then extended it to trade basically.
This is not optimal code yet,. I wrote lots of comments in it,
So someone may find the time to expand upon this one, to improve the results.
I share candlestickTrader as a raw version of code with lots of comments.
I have less time to work out this one, but I hope someone else can continue on it.
Notice some functions I already added into in the code but currently are not used.
So bugs where resolved it does trade on candles,
But I think the whole idea behind candlestick patterns is flawed (oversimplified) and not all of the theory behind is used
See partly my comments about it in the code, also some parts made no sense to me as I didn't understood it, your welcome to enlight me
This is not yet a good trading bot, but yes it does do candle trading (mostly).
Notice also that this strategy creates csv log files, for research and debugging (in the main Gekko folder)
Since Gekko doesn't show candlesticks, I figured you may like to see the raw data in Excel or Calc to verify this kind of trading.
Read the comments in the code before asking about this strategy
The comments contain lots of info.
I know this is not a very good trader at the moment, but it might be a good starting point to create one
As essentially the candle patterns are derived from the market in this piece of code.
There is no TOML file included, so I enforce you to alter the code if you like to change values, (it doesn't readout a toml file currently).
Oh one warning
Trading on Doji is highly risky
While it does spot a Doji, I decided not to trade on it.. (told earlier the theory isn't fully used)
Doji trading requires more market info and is better avoided if you don't know what to look for.
I got many thoughts about that, but I let you free to code that yourself
You can share your code here if you got something working stable on it.
Just didn't want to put people into high risks.
code can be found here: https://github.com/PGTBoos/GekkoStrategies
|
|
|
|
Understanding the Gekko MACD strategy |
|
Posted by: Thluks - 09-11-2019, 11:11 AM - Forum: General Discussion
- No Replies
|
 |
How do I get the MACD strategy to create a buy or sell order at the exact time of the crossover?
I'm looking at a 12/26/9 MACD with 30min candles on TradingView.com. It seems pretty clear to me when to buy and when to sell and make good profits, but of course I don't want to do that 24/7.
Trying to replicate that in Gekko, I'm thinking if I set the thresholds to 0 or a very small number like 0.00025 it should then react immediately on the crossover (with persistence = 0). But the backtest result doesn't seem to match up with the cross overs I see on TradingView. Buy and sell signals are all over the place.
Is there a way to see the MACD lines that Gekko is using to generate the signals, in the web UI? That would help a lot to understand and tweak.
Thanks!
|
|
|
|
| Inverse Fisher RSI Strat- only returns false. |
|
Posted by: lucascostner - 09-11-2019, 01:27 AM - Forum: Strategy Development
- Replies (2)
|
 |
Hey everyone- hope you can help me out with this. I've been revisiting an old strategy post from a year or so ago. So this doesn't generate any errors when I run it, but something is off because the IFRSI indicator never returns anything. When I console.log to print the result as it runs it always comes back with "false"- it should be returning 0.5 or -0.5. Anyone have any advice for me on this? The two required indicators and the strategy file are below.....
Here is the first indicator:
/indicators/IFTRSI.js
Code: var RSI = require('./RSI.js');
var WMA = require('./WMA.js');
var Indicator = function(config) {
this.result = false;
this.rsiInterval = config.interval;
this.wmaLength = config.length;
this.rsi = new RSI({interval: this.rsiInterval});
this.wma = new WMA({length: this.wmaLength});
}
Indicator.prototype.update = function (candle) {
this.rsi.update(candle);
if (this.rsi.result) {
let v1 = 0.1 * (this.rsi.result - 50);
this.wma.update(v1);
if (this.wma.result) {
this.result = (Math.exp(2 * this.wma.result)-1) / (Math.exp(2 * this.wma.result)+1);
}
}
}
module.exports = Indicator;
Here is the second indicator-
/indicators/WMA.js
Code: var Indicator = function(settings) {
this.input = 'price';
this.windowLength = settings.length;
this.prices = [];
this.result = 0;
this.age = 0;
this.sum = 0;
}
Indicator.prototype.update = function(price) {
var tail = this.prices[this.age] || 0;
this.prices.push(price);
var psum =0;
var pdiv = 0;
for (var j=0;j<this.prices.length;j++)
{
psum += j * this.prices[j];
pdiv += j;
}
this.result = psum/pdiv;
if (this.prices.length > this.windowLength)
{
this.prices.shift()
}
this.age = (this.age + 1) % this.windowLength
}
module.exports = Indicator;
And here is the strategy file--
/strategies/IFRSI.js
Code: var method = {};
var traded = false;
var IFTRSI = require('./indicators/IFTRSI.js');
method.init = function() {
var iftrsiParameters = {rsiInterval: 14, wmaLength: 8};
this.addIndicator('iftrsi', 'IFTRSI', iftrsiParameters);
}
method.update = function(candle) {
this.indicators.iftrsi.update(candle);
}
method.check = function(candle) {
var iftResult = this.indicators.iftrsi.result;
console.log(iftResult);
if ( traded == false && iftResult == -0.5 ){
this.advice('long')
traded = true;
console.log(iftResult);
} else if(traded == true && iftResult == 0.5 ){
this.advice('short')
console.log(iftResult);
traded = false;
}
}
module.exports = method;
|
|
|
|
|