Bitcoin Forum
May 08, 2024, 09:24:55 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 [15] 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 »
  Print  
Author Topic: Gekko - a javascript trading bot and backtesting platform  (Read 147807 times)
whydifficult (OP)
Sr. Member
****
Offline Offline

Activity: 287
Merit: 250



View Profile WWW
November 27, 2013, 10:59:52 PM
 #281

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.

Gekko a nodejs bitcoin trading bot!
Realtime Bitcoin Globe - visualizing all transactions and blocks
Tip jar (BTC): 1KyQdQ9ctjCrGjGRCWSBhPKcj5omy4gv5S
1715203495
Hero Member
*
Offline Offline

Posts: 1715203495

View Profile Personal Message (Offline)

Ignore
1715203495
Reply with quote  #2

1715203495
Report to moderator
1715203495
Hero Member
*
Offline Offline

Posts: 1715203495

View Profile Personal Message (Offline)

Ignore
1715203495
Reply with quote  #2

1715203495
Report to moderator
1715203495
Hero Member
*
Offline Offline

Posts: 1715203495

View Profile Personal Message (Offline)

Ignore
1715203495
Reply with quote  #2

1715203495
Report to moderator
"Governments are good at cutting off the heads of a centrally controlled networks like Napster, but pure P2P networks like Gnutella and Tor seem to be holding their own." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715203495
Hero Member
*
Offline Offline

Posts: 1715203495

View Profile Personal Message (Offline)

Ignore
1715203495
Reply with quote  #2

1715203495
Report to moderator
trogdorjw73
Hero Member
*****
Offline Offline

Activity: 482
Merit: 500


View Profile WWW
November 30, 2013, 07:31:12 PM
 #282

I am back guys.

I fixed the email & underscore errors: pull the latest version and `npm install` to get it working.

(Thanks avert for the email fix suggestion: implemented it the same way. For underscore: they removed a function I was relying on so I am now shifting towards lodash)

I'll check the code fixes posted asap and merge it in. Remember guys: Pull requests are always welcome!


'npm install' errors out on me.

Quote
C:\Users\Mark\Desktop\gekko-master>npm install
npm http GET https://registry.npmjs.org/moment
npm http GET https://registry.npmjs.org/bitcoincharts
npm http GET https://registry.npmjs.org/btc-e
npm http GET https://registry.npmjs.org/mtgox-apiv2
npm http GET https://registry.npmjs.org/prompt-lite
npm http GET https://registry.npmjs.org/lodash
npm http GET https://registry.npmjs.org/line-reader
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/bitstamp/0.0.4
npm ERR! not found: git
npm ERR!
npm ERR! Failed using git.
npm ERR! This is most likely not a problem with npm itself.
npm ERR! Please check if you have git installed and in your PATH.

npm ERR! System Windows_NT 6.2.9200
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nod
ejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! cwd C:\Users\Mark\Desktop\gekko-master
npm ERR! node -v v0.10.18
npm ERR! npm -v 1.3.8
npm ERR! code ENOGIT
npm http 304 https://registry.npmjs.org/mtgox-apiv2
npm http 304 https://registry.npmjs.org/bitcoincharts
npm http 304 https://registry.npmjs.org/prompt-lite
npm http 304 https://registry.npmjs.org/lodash
npm http 304 https://registry.npmjs.org/line-reader
npm http 304 https://registry.npmjs.org/btc-e
npm http 304 https://registry.npmjs.org/async
npm http 304 https://registry.npmjs.org/moment
npm http 304 https://registry.npmjs.org/bitstamp/0.0.4
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     C:\Users\Mark\Desktop\gekko-master\npm-debug.log
npm ERR! not ok code 0

EDIT: Fixed by installing git.

How do you install git on Windows? I'm getting the same error -- the instructions for Installing Gekko on Windows are clearly incomplete.

whydifficult (OP)
Sr. Member
****
Offline Offline

Activity: 287
Merit: 250



View Profile WWW
November 30, 2013, 08:50:16 PM
 #283

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).

Gekko a nodejs bitcoin trading bot!
Realtime Bitcoin Globe - visualizing all transactions and blocks
Tip jar (BTC): 1KyQdQ9ctjCrGjGRCWSBhPKcj5omy4gv5S
whydifficult (OP)
Sr. Member
****
Offline Offline

Activity: 287
Merit: 250



View Profile WWW
December 01, 2013, 12:03:12 AM
 #284

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.

Gekko a nodejs bitcoin trading bot!
Realtime Bitcoin Globe - visualizing all transactions and blocks
Tip jar (BTC): 1KyQdQ9ctjCrGjGRCWSBhPKcj5omy4gv5S
Queenvio
Hero Member
*****
Offline Offline

Activity: 838
Merit: 533



View Profile
December 07, 2013, 03:39:58 PM
 #285


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
whydifficult (OP)
Sr. Member
****
Offline Offline

Activity: 287
Merit: 250



View Profile WWW
December 08, 2013, 09:49:28 AM
 #286

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);

Gekko a nodejs bitcoin trading bot!
Realtime Bitcoin Globe - visualizing all transactions and blocks
Tip jar (BTC): 1KyQdQ9ctjCrGjGRCWSBhPKcj5omy4gv5S
Leehoya
Full Member
***
Offline Offline

Activity: 140
Merit: 100


View Profile
December 10, 2013, 07:13:04 AM
Last edit: December 10, 2013, 08:30:04 AM by Leehoya
 #287

Issues fixed

wariner
Legendary
*
Offline Offline

Activity: 1250
Merit: 1004


pool.sexy


View Profile
December 10, 2013, 06:52:35 PM
Last edit: December 11, 2013, 07:13:49 AM by wariner
 #288

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

Pool.sexy - Pool ETH-ETC-EXP-UBQ-ZEC-DBIX..and more low fee Discussion

my BTC: 1KiMpRAWscBvhRgLs8jDnqrZEKJzt3Ypfi
brampower
Sr. Member
****
Offline Offline

Activity: 327
Merit: 250


View Profile
December 11, 2013, 12:39:26 AM
 #289

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.
wariner
Legendary
*
Offline Offline

Activity: 1250
Merit: 1004


pool.sexy


View Profile
December 11, 2013, 03:04:37 PM
 #290

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

Pool.sexy - Pool ETH-ETC-EXP-UBQ-ZEC-DBIX..and more low fee Discussion

my BTC: 1KiMpRAWscBvhRgLs8jDnqrZEKJzt3Ypfi
lazac
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
December 12, 2013, 03:33:50 PM
 #291

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
lazac
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
December 12, 2013, 09:19:11 PM
 #292

works...missspelled a currency asset pairs...
lazac
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
December 13, 2013, 08:07:44 AM
 #293

an indicator, like Heiken Ashi, or ichimoku cloud would be nice...Smiley
patriotek
Newbie
*
Offline Offline

Activity: 19
Merit: 0


View Profile
December 13, 2013, 09:19:16 PM
 #294

Hmmm...

Mine's been running in Simulated Mode for 3-4 days, with a CEX.io API key-set.

Currency is BTC, asset is GHS, and thresholds were each changed to -0.025 and 0.025 respectively, as I read that this is what most folks are using.

The result:  Each and every Profit Report (simulated) shows a NEGATIVE number.  The first was -9 and change, and it's progressively decreased to currently -15.xxx.

I've gotta' wonder, if I actually enabled trading with the defaults (and just the changes noted above), would I actually be losing money?  If so, how might I edit things to prevent this?

I can understand that there will be losses / chances of loss in the trading arena, but to lose at EVERY SINGLE TRANSACTION?  That'd be silly...
Voodah
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250



View Profile
December 14, 2013, 01:16:36 PM
 #295

Time to give this a try !
Quora
Newbie
*
Offline Offline

Activity: 41
Merit: 0


View Profile
December 16, 2013, 09:02:41 PM
 #296

Thank you for creating Gekko. Getting ready to try it out very soon.
cczarek123
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
December 16, 2013, 09:35:49 PM
 #297

Keep up the good work!
war10ck
Newbie
*
Offline Offline

Activity: 56
Merit: 0


View Profile
December 16, 2013, 10:36:30 PM
 #298

hi,

i will test it on btc-e the next few days.
which EMA setting is the best

interval = 60  (i think its to long)
short = 10?
long = 21?
candles: 100
sellTreshold: -0.25
buyTreshold: 0.25

thx a lot
delovan
Newbie
*
Offline Offline

Activity: 31
Merit: 0


View Profile
December 21, 2013, 02:10:40 PM
 #299

Hi, I play with gekko since a bunch of days, any plans to add more currencies like LTC, NMC or adding others platforms such as cryptsy ? I found a module for its api in nodejs : https://github.com/nothingisdead/npm-cryptsy-api
whydifficult (OP)
Sr. Member
****
Offline Offline

Activity: 287
Merit: 250



View Profile WWW
December 21, 2013, 09:56:09 PM
 #300

hi,

i will test it on btc-e the next few days.
which EMA setting is the best

interval = 60  (i think its to long)
short = 10?
long = 21?
candles: 100
sellTreshold: -0.25
buyTreshold: 0.25

thx a lot


You need to find that out for yourself! You can use the the backtester for that, more info in the docs.

Hi, I play with gekko since a bunch of days, any plans to add more currencies like LTC, NMC or adding others platforms such as cryptsy ? I found a module for its api in nodejs : https://github.com/nothingisdead/npm-cryptsy-api

I am currently in the phase of adding a bunch of exchanges, if anyone feels generous pull requests welcome! (Here is an explanation of how to add a new exchange to Gekko)


---

Lots of updates and bugfixes!

Note that cex.io is currently broken due there changed API.

Quote
Hi Mike,

We have limited our trade_history call to 1000 trades now, We will be implementing a daily trade static file in a future update I apologize for the inconvenence and we will try to get this out ASAP.

I hope we'll be able to implement a fix soon.

Gekko a nodejs bitcoin trading bot!
Realtime Bitcoin Globe - visualizing all transactions and blocks
Tip jar (BTC): 1KyQdQ9ctjCrGjGRCWSBhPKcj5omy4gv5S
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 [15] 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!