Pages:
Author

Topic: Gekko - a javascript trading bot and backtesting platform - page 20. (Read 147876 times)

newbie
Activity: 8
Merit: 0
hi,

i would like to test it on cex, i got alwaysexchange credentials do not look valid.

i setup my key and secret and my username too. i added this to the advanced section too in config.js

any idee?

thx,

Lazac
legendary
Activity: 1255
Merit: 1004
pool.sexy
I would like to configure Gekko to test the current EMA strategy on historical data of cex.io.

I can download somewhere the candle data in CSV format of cex.io?

Thank you  Wink
sr. member
Activity: 327
Merit: 250
This really is a great bot. I have no idea what I'm doing, but it works. Just wanted to say thanks a bunch for this, it is much appreciated!
Once I start making some nice BTC, a nice tip will come your way for sure.
legendary
Activity: 1255
Merit: 1004
pool.sexy
Code:
/home/gekko/methods/realtime-candle-fetcher.js:98
    throw 'Failed to load historical trades from ' + this.watcher.name;
                                                   ^
Failed to load historical trades from Bitstamp

I have the same problem with cex.io

how you can solve?

Also decreasing "candle" does not solve..

thanks in advance!


now it works  Wink
full member
Activity: 140
Merit: 100
Issues fixed
sr. member
Activity: 287
Merit: 250
Thanks for that, another question, how dose the diff ema will be calculate?

Because I have
short ema: 758.354
long ema: 735.975
diff ema: 1.668

Here is the ema diff calculation:

Code:
var diff = 100 * (shortEMA - longEMA) / ((shortEMA + longEMA) / 2);
hero member
Activity: 838
Merit: 534

BTC-e is working again, please update!

I am looking at bitstamp right now.

Thanks for that, another question, how dose the diff ema will be calculate?

Because I have
short ema: 758.354
long ema: 735.975
diff ema: 1.668
sr. member
Activity: 287
Merit: 250
You can now also trade hashing power on the commodity exchange cexio!

Also a lot of small fixes (though still a couple of issues).

Stay tuned for more, I got a lot more planned.
sr. member
Activity: 287
Merit: 250
How do you install git on Windows? I'm getting the same error -- the instructions for Installing Gekko on Windows are clearly incomplete.

Try the latest version of Gekko, should be fixed now.

And there is a little bit of history behind this bug: after a broken update to the mail dependency I had to hotfix it, this change caused machines without git to fail (all my machines have git, so it took me a while to notice).
hero member
Activity: 482
Merit: 500
sr. member
Activity: 287
Merit: 250
Hey, first of all, this project is a nice idear.

I installed it and want to trade at BTC-e


But I get the Error-Message:

Code:
Failed to load historical trades from bitcoincharts

the "Interval" is set to 30 mins at the moment, I also tryed 15 and 5 mins.


Has someone a solution?

Greetings


Edit: MtGox is working, but im looking for BTC-e

P.S. Also if I dont want to trade at Bitstamp, I get the Error
Code:
/home/gekko/methods/realtime-candle-fetcher.js:98
    throw 'Failed to load historical trades from ' + this.watcher.name;
                                                   ^
Failed to load historical trades from Bitstamp

BTC-e is working again, please update!

I am looking at bitstamp right now.
member
Activity: 96
Merit: 10
What is the best bot to use?

Best to use a bot that makes money in the long run Wink
newbie
Activity: 44
Merit: 0
What is the best bot to use?
hero member
Activity: 838
Merit: 534
Hey, first of all, this project is a nice idear.

I installed it and want to trade at BTC-e


But I get the Error-Message:

Code:
Failed to load historical trades from bitcoincharts

the "Interval" is set to 30 mins at the moment, I also tryed 15 and 5 mins.


Has someone a solution?

Greetings


Edit: MtGox is working, but im looking for BTC-e

P.S. Also if I dont want to trade at Bitstamp, I get the Error
Code:
/home/gekko/methods/realtime-candle-fetcher.js:98
    throw 'Failed to load historical trades from ' + this.watcher.name;
                                                   ^
Failed to load historical trades from Bitstamp
full member
Activity: 230
Merit: 100
Good!

I was thinking something like this: I set the max trade value at 10 USD, so it tries to buy X BTC with the available 10USD. Later, when the sell order is activated (presumably at a higher price) it stores the profits and keep "betting" the same USD. Maybe some people will like to use the profits for the next trade so a configuration for this would be good.

One more way to improve the bot. Implement a stop loss config so if the EMA crosses down and the price is falling, don't sell the BTC unless they're less than the stop loss, and maybe in the long run it could be beneficial. As the price rises, the stop loss could rise to so it could be a percentage of drop after the top or something like that.

A couple of suggestions to improve the bot, I'm not asking for anything, I could code them myself.

Keep up the good work!
sr. member
Activity: 287
Merit: 250
I have not tried to run the bot with real trading and I was looking in the code for more details how it works and I found the buy/sell part of it:

Code:
if(this.infinityOrderExchange)
   amount = 10000;
else
   amount = this.getBalance(this.currency) / this.ticker.ask;

MtGox has infinityOrder so it will try to buy/sell 10000 Bitcoins everytime or usdBalance/currentBTCprice otherwise.

My suggestion is to enable in the config some parameter that sets the amount (in USD) you ware willing to spend every trade. I don't want to run the bot on the full amount of my MtGox account, I want to setup some max value I'm willing to spend.

I think it's a pretty good sugestion

Good point, I am looking into changing the whole config structure to make everything more clear.
full member
Activity: 230
Merit: 100
I have not tried to run the bot with real trading and I was looking in the code for more details how it works and I found the buy/sell part of it:

Code:
if(this.infinityOrderExchange)
   amount = 10000;
else
   amount = this.getBalance(this.currency) / this.ticker.ask;

MtGox has infinityOrder so it will try to buy/sell 10000 Bitcoins everytime or usdBalance/currentBTCprice otherwise.

My suggestion is to enable in the config some parameter that sets the amount (in USD) you ware willing to spend every trade. I don't want to run the bot on the full amount of my MtGox account, I want to setup some max value I'm willing to spend.

I think it's a pretty good sugestion
sr. member
Activity: 462
Merit: 250
Sure, when I get back to my testing machine, I'll have a look through the logs. Which reminds me, I definitely still need a profit reporting module.
legendary
Activity: 1372
Merit: 1000
Can you publish logs or smt to estimate real efficiency of bot/algo?
sr. member
Activity: 462
Merit: 250
Why are we discussing cryptotrader in the Gekko topic?

BTW: Because none of the current bots out there were working for me, I coded my own one in Node.JS in 2 days, working perfectly. All of you could do this if you put a little effort in it...

Want to make it open source?

I'm thinking of making a GitHub repository yes. The code still needs a lot of cleaning and testing (currently running for over 48 hours and I'm double-checking it's decision making). I'll make my own topic when the time comes.

Currently I'm not using a vanilla (basic) indicator. And I might want to keep that to myself or have the bot call a server of mine for it's decision making and open-source the rest. Or I could add a simpler indicator for the open-source version.

So still a lot of things to consider.
Pages:
Jump to: