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: 926
» Forum posts: 6,383

Full Statistics

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

Latest Threads
An official Gekko service...
Forum: Announcements
Last Post: tanvirai
11-20-2025, 12:18 PM
» Replies: 113
» Views: 291,523
Gekko development status ...
Forum: Announcements
Last Post: erectilenovus
11-17-2025, 11:36 AM
» Replies: 753
» Views: 1,767,618
Gekko 0.6 released
Forum: Announcements
Last Post: soniyathakur
11-02-2025, 12:21 PM
» Replies: 129
» Views: 380,244
Gekko with malware spotte...
Forum: Announcements
Last Post: cofffee124
10-30-2025, 09:56 AM
» Replies: 216
» Views: 345,923
New Gekko UI in the works
Forum: Announcements
Last Post: cofffee124
09-04-2025, 08:12 AM
» Replies: 186
» Views: 390,372
How to add Binance Future...
Forum: Technical Support
Last Post: Xavier32
10-07-2021, 02:20 PM
» Replies: 47
» Views: 159,102
Bittrex Configuration hel...
Forum: Bittrex
Last Post: yirzolusto
10-07-2021, 07:39 AM
» Replies: 6
» Views: 31,832
[Question] Why does gekko...
Forum: General Discussion
Last Post: cryptocurrency0
10-06-2021, 01:16 PM
» Replies: 16
» Views: 70,981
a couple of technical Que...
Forum: Technical Support
Last Post: mtom78632
10-06-2021, 11:08 AM
» Replies: 25
» Views: 87,711
Is there any way to make ...
Forum: Custom Systems
Last Post: seorun
10-05-2021, 08:20 AM
» Replies: 42
» Views: 134,720

 
  Gekko Email orders
Posted by: Neil - 11-16-2019, 01:59 PM - Forum: General Discussion - Replies (2)

Good morning all,

Do you think it would be possible to trigger the purchase or sale through an email alert, (tradingview alerts for example).

For example as did the developer below :

https://github.com/jsappme/tradingview-a...nce-trader

Thank you in advance for your answers !


  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 !


  Importing csv files to Gekko
Posted by: Humpty1988 - 11-10-2019, 04:31 PM - Forum: Feature Requests - No Replies

Hello Community,

I wanted to ask if it is possible to feed historical data in csv format?

Thank you guys.


  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


  Coinase Pro
Posted by: mambotech - 11-08-2019, 06:05 AM - Forum: General Discussion - No Replies

Hi,

Does Gekko support Coinbase Pro?

Thanks

Mark


  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


  Cannot find module '../core/log.js
Posted by: animehacker - 11-02-2019, 03:05 AM - Forum: Technical Support - Replies (3)

So I was lazy and just installed Gekko as root, so that might be a potential cause of all my issues, if not then there's a bigger problem.

I'm getting the error "Cannot find module '../core/log.js" from some strategies. even though that file definitely exists on the correct relative path as I have manually tested.

I'm also getting various errors like RSI indicator not found, even though it definitely is in the indicators folder.

Anyone have any idea what's going wrong? Of course first thing I will do is try a full re-install as non-root user but it would be nice to know what went wrong. Thanks.

I'm also trying to get tommiehansen's 'simple bull/bear' RSI strategy working, hence I was also getting the errors on that, as well as when trying to run RSI or StockRSI on the backtester.


  Gekko Deployment Tool
Posted by: brobrobraap - 10-30-2019, 07:44 AM - Forum: Third Party Software - Replies (16)

Hey guys, I am working on a one-click solution to deploy Gekko in the cloud seamlessly.

Some features:
- One-click deploy
- Run backtests
- Use your own strategies
- Monitor your instances
- Live trading and paper trading optimized machines

Please let me know what you think!
There will be a trial once it goes live.

https://gekkoserver.io