Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 775 online users. » 0 Member(s) | 775 Guest(s)
|
Latest Threads |
Gekko 0.6 released
Forum: Announcements
Last Post: pihubangalore11
11 hours ago
» Replies: 126
» Views: 343,178
|
Gekko development status ...
Forum: Announcements
Last Post: 78wincombiz
Yesterday, 11:14 AM
» Replies: 747
» Views: 1,539,308
|
New Gekko UI in the works
Forum: Announcements
Last Post: cofffee124
09-04-2025, 08:12 AM
» Replies: 186
» Views: 338,194
|
An official Gekko service...
Forum: Announcements
Last Post: Ruslanjoshua
07-24-2025, 06:27 AM
» Replies: 111
» Views: 257,010
|
Gekko with malware spotte...
Forum: Announcements
Last Post: pugoing
07-01-2025, 02:29 AM
» Replies: 212
» Views: 290,429
|
How to add Binance Future...
Forum: Technical Support
Last Post: Xavier32
10-07-2021, 02:20 PM
» Replies: 47
» Views: 139,556
|
Bittrex Configuration hel...
Forum: Bittrex
Last Post: yirzolusto
10-07-2021, 07:39 AM
» Replies: 6
» Views: 24,604
|
[Question] Why does gekko...
Forum: General Discussion
Last Post: cryptocurrency0
10-06-2021, 01:16 PM
» Replies: 16
» Views: 60,007
|
a couple of technical Que...
Forum: Technical Support
Last Post: mtom78632
10-06-2021, 11:08 AM
» Replies: 25
» Views: 74,886
|
crex24
Forum: Other exchanges
Last Post: marketingseo
10-05-2021, 09:47 AM
» Replies: 216
» Views: 527,519
|
|
|
How to trade BTC/USDT (so use BTC as currency and USDT as asset?) |
Posted by: opoloko - 11-18-2019, 04:49 PM - Forum: General Discussion
- No Replies
|
 |
Hi all
possibly a newbie question but I can't see how to do it (or if it's simply not needed)..I updated the currencies in Gekko (latest) with the script for my exchange, they got updated (Binance by the way) but I can't find a way to select BTC as currency and USDT as asset.
I basically want to accumulate USDT using BTC.
How to do that? I have BTC already on the exchange, so I'd like first trade to be a sell and for Gekko to maximise and calculate my profit/loss considering the USDT amount...
|
|
|
Extract difficult market situation timeframes |
Posted by: mczero - 11-18-2019, 10:34 AM - Forum: Strategy Development
- Replies (2)
|
 |
Hey crypto trading guys,
I am experimenting a bit with japonicus (brute force strategy parameters with a genetic evolution approach).
There often seem to be problems with overfitting while using gekko in live trading (I am still only backtesting).
Now I had the idea (link to japonicus issue on github) to improve japonicus to do the following:
not only backtest for a specific timeframe, but also mixing in 5% or 10% into the tests with
timeframes that are particular difficult to handle for strategies.
For this, we have to get our hands on market times that match this criteria. How do we get there?
Say, we have a strategy relying on the RSI indicator, and parameters for a specific timeframe, three month, one year, whatever.
It is doing extremely good (overfitted?) in that specific timeframe, and when we look at the trading history,
there are some days (or a week) in the timeframe where it does particularly bad, no matter how good this strategy/parameter pair was
at the end.
Then we have a second strategy, based on Bollinger Bands, and parameters that are very good for a specific timeframe, too.
But even there are times when the strategy isn't working very good with the market situation.
Perhaps the code of those strategies could be modified to write time periods to CSV when it is not doing a good job.
Then, when some CSVs are collected, they could be run through a script which overlays the data of all CSVs and looks for equality.
The result of this could then be fed to japonicus as particular difficult market times.
Therefore, I am interested in thoughts on this approach and how a strategy could be modified to write out such a CSV.
And perhaps some strategy/parameter pairs that did very well in the past, with the specific timeframe they were used and measured at.
Can be from 2018/2017, so no one has to reveal his strategy portfolio that he uses today.
Of course it could be that my thinking is too complicated and there is an easier solution for this. I am just beginning with gekko and getting to a
viable live trading solution, so bear with me.
Have a nice week!
|
|
|
tulip |
Posted by: heffzz - 11-14-2019, 11:48 PM - Forum: Technical Support
- Replies (2)
|
 |
Error: non-error thrown:
ERROR: Tulip indicators is not enabled
at Object.onerror (/home/pi/gekko/node_modules/koa/lib/context.js:105:40)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:189:7)
uncaughtException TypeError: Cannot read property 'tsf' of null
at AsyncIndicatorRunner.addTulipIndicator (/home/pi/gekko/plugins/tradingAdvisor/asyncIndicatorRunner.js:145:16)
at Base.addTulipIndicator (/home/pi/gekko/plugins/tradingAdvisor/baseTradingMethod.js:226:29)
at Base.bound [as addTulipIndicator] (/home/pi/gekko/node_modules/lodash/dist/lodash.js:729:21)
at Base.init (/home/pi/gekko/strategies/VmaPredict2.js:75:14)
at Base.bound [as init] (/home/pi/gekko/node_modules/lodash/dist/lodash.js:729:21)
at new Base (/home/pi/gekko/plugins/tradingAdvisor/baseTradingMethod.js:69:8)
at Actor.setupStrategy (/home/pi/gekko/plugins/tradingAdvisor/tradingAdvisor.js:61:19)
at Actor.bound [as setupStrategy] (/home/pi/gekko/node_modules/lodash/dist/lodash.js:729:21)
at new Actor (/home/pi/gekko/plugins/tradingAdvisor/tradingAdvisor.js:23:8)
at load (/home/pi/gekko/core/pluginUtil.js:98:22)
|
|
|
Issue : sometimes, Gekko only sells part of portfolio |
Posted by: npuchois - 11-11-2019, 06:56 PM - Forum: Technical Discussion
- No Replies
|
 |
Greetings,
This is my first post/thread on this forum, I'm glad such a community exists !
I've been running a tradebot since a couple of weeks now, and i'm facing an issue when Gekko tries to sell my portofolio.
Sometimes, only a part of my assets is sold, and then... nothing...
The tradabot is still running, but no errors shown in log, no roundtrip information, not even a red dot on the chart.
And the worst : no more trades
Then, I waste hours and days.
Even if a buy or sell condition seems to be triggered, nah, just my market watcher updating and nothing more...
My bot becomes zombified, and I have to restart a new one.
I'm using, I guess, the latest version of Gekko v0.6.8, on Linux Mint, my exchange is Kraken, on EUR/BTC
Is this issue known ? And is there anything to do to get fix it ?
Thanks for your answers and support !
|
|
|
Cannot read property 'time' |
Posted by: mambotech - 11-08-2019, 06:02 PM - Forum: Technical Support
- No Replies
|
 |
Hi,
I am using this fork https://github.com/crypto49er/moddedgekko/tree/DCA
I have tested the import on Binance and it has not failed. I am wondering if anyone can help with the issue below.
This failed when trying to import a month.
uncaughtException TypeError: Cannot read property 'time' of undefined
at handle (/root/moddedgekko/importers/exchanges/gdax.js:49:37)
at checkFn (/root/moddedgekko/exchange/exchangeUtils.js:24:16)
at /root/moddedgekko/exchange/wrappers/gdax.js:108:12
at Request._callback (/root/moddedgekko/exchange/node_modules/gdax/lib/clients/public.js:83:11)
at Request.self.callback (/root/moddedgekko/exchange/node_modules/request/request.js:185:22)
at emitTwo (events.js:126:13)
at Request.emit (events.js:214:7)
at Request.<anonymous> (/root/moddedgekko/exchange/node_modules/request/request.js:1157:10)
at emitOne (events.js:116:13)
at Request.emit (events.js:211:7)
RECEIVED ERROR IN IMPORT 900291731656734
|
|
|
Adding Events to your strategy |
Posted by: Hallonstedt - 11-05-2019, 09:13 AM - Forum: Guides
- Replies (23)
|
 |
There are a large number of Events with interesting data that are emitted by the Gekko plugins. Some would be quite useful in strategies but they are not available for the simple reason that strategies are not plugins and therefore cannot directly pick up the triggered events.
My quest was initially to be able to read live portfolio data as I have two strategies running in parallell and I need to know if I am exposed or not. I also want the strategy to react correctly to manual changes in the portfolio. I have since added more events that have proven quite useful.
Before using this guide, please be aware that it requires changes to two core Gekko plugins, meaning that if you update Gekko your changes are lost and the strategy will not work. It may also mean you break something else if you are not careful.
That being said, it is quite easy to do. Let's add the PortfolioChange event (~ is your Gekko root folder);
Edit ~/plugins/tradingAdvisor/tradingAdvisor.js and add:
Actor.prototype.processPortfolioChange = function(portfolio) { // This must be the handler name. The parameter name can be made up (portfolio). Just be consistent.
this.strategy.processPortfolioChange(portfolio); // This will be executed in baseTradingMethod.js
}
Edit ~/plugins/tradingAdvisor/baseTradingMethod.js and add:
Base.prototype.processPortfolioChange = function(portfolio) {
this.onPortfolioChange(portfolio); // onPortfolioChange will be accessible in the strategy
}
In your strategy, onPortfolioChange will trigger when the portfolio has changed so you can read the asset and currency variables. This is independent of your candle size so this can trigger at any moment. Add, for example;
strat.onPortfolioChange = function (portfolio) {
log.info('Portfolio has changed; Asset=', portfolio.asset.toFixed(3), 'and Currency=', portfolio.currency.toFixed(0) );
}
That's it!
Follow the same logic for any other Events. This adds Balance updates;
Edit ~/plugins/tradingAdvisor/tradingAdvisor.js and add:
Actor.prototype.portfolioValueChange = function(balance) {
this.strategy.portfolioValueChange(balance);
}
Edit ~/plugins/tradingAdvisor/baseTradingMethod.js and add:
Base.prototype.portfolioValueChange = function(balance) {
this.onBalanceChange(balance);
}
In your strategy, add:
strat.onBalanceChange = function (balance) {
log.info('Balance has changed; it is now', balance.balance.toFixed(1) );
}
|
|
|
raspberry pi 4 |
Posted by: sil - 11-03-2019, 01:58 PM - Forum: Technical Support
- No Replies
|
 |
Hallo @all
Does anybody has a gekko trader bot running on a raspery pi 4?
I tried since a few days, but still not successfull..
there are problems with the sqllite modul and after with the node npm install of exchanges..
Does anybody has a short overview or manual how to set it up (which version of node, npm, commands to use)?
or even betther, is there a docker container running with gekko for raspberry pi 4
thanks and regards, sil
|
|
|
|