Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 5,327
» Latest member: jasondweller
» Forum threads: 887
» Forum posts: 4,275

Full Statistics

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

Latest Threads
VmaPredict2.js (new)
Forum: Strategy Development
Last Post: Stixx
Yesterday, 09:03 AM
» Replies: 82
» Views: 23,357
[SHARE] GAB - Gekko Autom...
Forum: Third Party Software
Last Post: sharon19
04-02-2020, 06:18 AM
» Replies: 138
» Views: 128,544
How to add Binance Future...
Forum: Technical Support
Last Post: dr3amer08
03-31-2020, 07:18 PM
» Replies: 0
» Views: 56
GreenGekko problem starti...
Forum: General Discussion
Last Post: Pierre3126
03-05-2020, 05:20 AM
» Replies: 2
» Views: 530
Candle data for 2 pairs i...
Forum: Strategy Development
Last Post: alexvps
03-02-2020, 05:17 PM
» Replies: 0
» Views: 168
☘ ReX sheet - request a...
Forum: Third Party Software
Last Post: moosylog
02-24-2020, 12:20 PM
» Replies: 0
» Views: 307
how to buy a quantity of ...
Forum: GDAX
Last Post: biandrea
02-18-2020, 09:01 PM
» Replies: 0
» Views: 125
reques new exchange:bitme...
Forum: Other exchanges
Last Post: Ytigiev
02-16-2020, 06:00 AM
» Replies: 6
» Views: 8,965
Problem configuring Excha...
Forum: General Discussion
Last Post: trading_gekko2020
02-14-2020, 07:21 PM
» Replies: 0
» Views: 217
Install helper.js
Forum: Technical Support
Last Post: cantthink19
02-09-2020, 07:27 PM
» Replies: 0
» Views: 426

 
  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 - No Replies

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 (1)

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


  Command line to only buy or sell at
Posted by: Mat - 10-29-2019, 10:13 PM - Forum: Technical Discussion - No Replies

Helllo World !
no it's not a web test Smile

i feel strange, because i think  that my goal is super basic and curiously it appears to me super difficult !
i've been google plenty and i can't find an easy way to tell gekko by command line :   buy that binance pair at that value or sell it

Surely i missed the correct post or thread, but would be so great to find some help Wink

Thank you neighbors


  Looking For The Best Armscor Ammo
Posted by: BulkCheapAmmo - 10-24-2019, 03:47 AM - Forum: General Discussion - No Replies

Bulk Cheap Ammo is the search engine to find in-stock ammunition, guns, magazines and reloading components at competitive prices. We do provide Ammunition listing for sale from various online ammo retailers. Bulk Cheap Ammo is your one-stop directory to find the best ammo deals.
Looking for top branded ammo. Bulk Cheap Ammo popular ammo directory to help gun owners to find in stock ammo in one place from top ammo retailers. We carry a list of a wide variety of affordable and high-quality ammunition from top retailers.
We have a listing of best collections for 9mm ammo, 223 ammo, 22lr ammo, 22 TCM ammo, 45-70 ammo, Armscor ammo, vepr 12, 300 savage ammo more on our website. 
We have top retailers such as: SG Ammo, powder valley , TSS Outfitters, East Coast Reloading, Angel Fire Ammo, ammo supply warehouse, Ammo Fast, Vizards Guns and Ammo , Viper Munitions, Bullet Barn, Bone Frog Gun Club, Outdoor Limited, Foundry Outdoors, Ammo Board, academy sports, and many more popular retailers. Visit us!