Bitcoin Forum
May 28, 2024, 05:51:25 AM *
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
September 29, 2013, 06:06:27 PM
 #241

EDIT: Fixed by installing git.

Since the latest version you need git to pull in one of the dependencies, I'll ask the dependency maintainer to update it so this won't be an issue anymore.

Edit: here is the issue I created Smiley

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

Activity: 2955
Merit: 1049


View Profile
September 30, 2013, 02:08:27 PM
 #242

Code:
module.js:340
    throw err;
          ^
Error: Cannot find module '/home/xx/yy/gekko/gecko'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.runMain (module.js:492:10)
    at process.startup.processNextTick.process._tickCallback (node.js:244:9)
whydifficult (OP)
Sr. Member
****
Offline Offline

Activity: 287
Merit: 250



View Profile WWW
September 30, 2013, 04:03:46 PM
 #243

Could you post the full command you tried to run?

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

Activity: 2955
Merit: 1049


View Profile
September 30, 2013, 04:32:00 PM
 #244

Could you post the full command you tried to run?
only
Code:
node gecko
Mogumodz
Sr. Member
****
Offline Offline

Activity: 290
Merit: 250



View Profile
September 30, 2013, 06:18:47 PM
 #245

Could you post the full command you tried to run?
only
Code:
node gecko

The command you should use is 'node gekko'

not 'node gecko'

Hope that helps.

Bitcoin OTC rating GPG ID: 3E7974A1 P2Pool statistics: p2pool.info
ewibit
Legendary
*
Offline Offline

Activity: 2955
Merit: 1049


View Profile
September 30, 2013, 08:12:08 PM
 #246

The command you should use is 'node gekko'

not 'node gecko'

Hope that helps.
thx, sorry was a typo
but on bitstamp I still get
Code:
Bitstamp/methods/realtime-candle-fetcher.js:98
    throw 'Failed to load historical trades from ' + this.watcher.name;
                                                   ^
Failed to load historical trades from Bitstamp
MCT
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
September 30, 2013, 08:24:58 PM
 #247


but on bitstamp I still get
Code:
Bitstamp/methods/realtime-candle-fetcher.js:98
    throw 'Failed to load historical trades from ' + this.watcher.name;
                                                   ^
Failed to load historical trades from Bitstamp

yeah as i said, Bitstamp and Bitcoincharts had their api changed. not only the api links changed, also the trades are returned from oldest to newest now. this is why the fillbuckets function doesnt get the expected data and cancels. try to fix it fr bitstamp as well as i did for bitcoincharts or just wait for the author to fix it. i think hes on it and it wont take much time for him.

San1ty
Sr. Member
****
Offline Offline

Activity: 462
Merit: 250


View Profile
October 14, 2013, 03:14:09 PM
 #248

Hi Whydifficult,

Have you given up on this project? Bitstamp has implemented yet another API change.

Regards,
San1ty

Found my posts helpful? Consider buying me a beer :-)!:
BTC - 1San1tyUGhfWRNPYBF4b6Vaurq5SjFYWk NXT - 17063113680221230777
alpha492
Full Member
***
Offline Offline

Activity: 195
Merit: 100


View Profile
October 16, 2013, 10:40:02 AM
 #249

Its really strange but I can get this to work on Ubuntu 12.04 but no Windows 7.

Windows 7 returns bitcoincharts returned an error retrying.

When I was first trying on windows and got this error I thought it was a problem with either bitcoin charts or the program, but the fact that the exact same install returns this error on windows and not ubuntu is mind blowing.  I've tried with the firewall down and everything.

Maybe there's some problem with windows blocking permissions to dependencies?  Or maybe just inbound requests from the program?

cellone
Member
**
Offline Offline

Activity: 80
Merit: 10


View Profile
October 16, 2013, 11:39:56 PM
 #250

Hi,

I am new to this bitcoin trading.

I followed https://github.com/askmike/gekko#install and installed the setup in windows 7.

I tried the command node gekko

Below is the result I got on executing it.

2013-10-16 20:54:16 (INFO):     I'm gonna make you rich, Bud Fox.
2013-10-16 20:54:16 (INFO):     Let me show you some Exponential Moving Averages
.


2013-10-16 20:54:16 (INFO):     Using normal settings to monitor the live market

2013-10-16 20:54:17 (INFO):     NOT trading with real money
2013-10-16 20:54:17 (INFO):     Profit reporter active on simulated balance
2013-10-16 20:54:17 (INFO):     Calculating EMA on historical data...

Failed to load historical trades from bitcoincharts


Kindly can you please help me in solving this problem.

Currently I have $100 in my account. Will that be sufficient to start automated live trading with this bot in BTCe?
alpha492
Full Member
***
Offline Offline

Activity: 195
Merit: 100


View Profile
October 17, 2013, 05:02:35 AM
 #251

Hi,

I am new to this bitcoin trading.

I followed https://github.com/askmike/gekko#install and installed the setup in windows 7.

I tried the command node gekko

Below is the result I got on executing it.

2013-10-16 20:54:16 (INFO):     I'm gonna make you rich, Bud Fox.
2013-10-16 20:54:16 (INFO):     Let me show you some Exponential Moving Averages
.


2013-10-16 20:54:16 (INFO):     Using normal settings to monitor the live market

2013-10-16 20:54:17 (INFO):     NOT trading with real money
2013-10-16 20:54:17 (INFO):     Profit reporter active on simulated balance
2013-10-16 20:54:17 (INFO):     Calculating EMA on historical data...

Failed to load historical trades from bitcoincharts


Kindly can you please help me in solving this problem.

Currently I have $100 in my account. Will that be sufficient to start automated live trading with this bot in BTCe?

Only if your willing to lose $100.  This isn't an "out of the box" bot the setting are up to you to work out, I backtested the default setting and got mixed results, over some periods this bot will result in critical failure without a stoploss method implemented so be careful if your putting in everything you've got.

And as far as your problem did you "git pull && npm install" bcuz the bot won't work w/o updated dependencies.

Edit:This error is so unavoidable and common if your install is right you might want to edit the +moment.duration, I set it to one so I can just blitz bitcoincharts till they send me something.

6raygp
Newbie
*
Offline Offline

Activity: 27
Merit: 0


View Profile
October 18, 2013, 10:47:05 PM
 #252

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.

I have tried installing on windows and ubuntu tried installing git, still getting these errors...
limit
Member
**
Offline Offline

Activity: 87
Merit: 10



View Profile
October 22, 2013, 11:58:38 AM
 #253


I've installed on a mac, it has been running smoothly for 3 days.

Great Software! hope to see new updates soon Wink   
ninjapug
Newbie
*
Offline Offline

Activity: 40
Merit: 0


View Profile
October 24, 2013, 06:55:24 AM
 #254

Did i do anything wrong. How come the program wouldn't move after gekko shows me advice to buy.
Settings are default.





C:\gekko-master>node gekko
2013-10-24 14:54:03 (INFO):     I'm gonna make you rich, Bud Fox.
2013-10-24 14:54:03 (INFO):     Let me show you some Exponential Moving Averages
.


2013-10-24 14:54:03 (INFO):     Using normal settings to monitor the live market

2013-10-24 14:54:04 (INFO):     NOT trading with real money
2013-10-24 14:54:04 (INFO):     Profit reporter active on simulated balance
2013-10-24 14:54:04 (INFO):     Calculating EMA on historical data...
2013-10-24 14:56:03 (INFO):     ADVICE is to BUY @ 207.000 (1.496)
c4shm3n
Hero Member
*****
Offline Offline

Activity: 719
Merit: 500


CLOAK Private,Secure & Untraceable Digitalcurrency


View Profile WWW
October 24, 2013, 10:50:28 AM
 #255

can i use stop/loss with gekko ? and if yes how ?


                ,╓▄▄▄▄▄▄▄▄▄╓                
            ╓▄█████████████████▄╖           
         ╓▄█████▀▀'▒,,,,,╠'▀▀█████▄,        
       ,▓███▀╜,▄▄███████████▄▄,╙▀████╖      
      ▄███▀ ▄█████▀▀"``╙"▀▀█████▄ ▀███▄     
     ▓███╜╓████▀ ,▄▄█████▄▄, ▀████,╙███▌    
    ▓███`╔███▀ ╓▓███▀▀▀▀▀████╖ ▀███@"███▌   
   ]███▌┌███▌ ▐███         ███▄ ▐███ ▐███,  
   ▐███ ▐███ .███           ███  ███▌ ███▌  
   ▐███ ▐███ '███           ███  ███▌ ███▌  
   ]███@╙███@ ▀██▌        ,▄██▌ ▐███ ▐███`  
    ▓███ ▐███▄ ╙██▀╩     9███╜ ╔███▀,███▌   
     ████,╙███▌               ▓███╜,████    
      ▀███▄ ▀╜                 ▀▀ ▄███▌     
       ╙████▄,                 ╓▄████╜      
         ╙█████▄▄╓,       ,╓▄▄█████▀        
            ▀▀█████████████████▀▀           
                '▀▀▀▀▀▀▀▀▀▀▀'

CloakCoin | CloakCoin Private, Secure, Untraceable & Decentralized Digitalcurrency |  Enigma
Chat | Bitcointalk | Twitter | Forum |  Facebook |  VK |  Reddit |  CloakTV |  Instagram | Faucet
San1ty
Sr. Member
****
Offline Offline

Activity: 462
Merit: 250


View Profile
October 24, 2013, 11:24:35 AM
 #256

Please read the thread before asking and at least have a look at the github repository.
This project is currently a little bit on hold and isn't being updated anymore.

If you don't understand Node.JS then don't bother!

Found my posts helpful? Consider buying me a beer :-)!:
BTC - 1San1tyUGhfWRNPYBF4b6Vaurq5SjFYWk NXT - 17063113680221230777
razorfishsl
Sr. Member
****
Offline Offline

Activity: 399
Merit: 250


View Profile WWW
October 28, 2013, 03:10:23 AM
 #257

Did i do anything wrong. How come the program wouldn't move after gekko shows me advice to buy.
Settings are default.





C:\gekko-master>node gekko
2013-10-24 14:54:03 (INFO):     I'm gonna make you rich, Bud Fox.
2013-10-24 14:54:03 (INFO):     Let me show you some Exponential Moving Averages
.


2013-10-24 14:54:03 (INFO):     Using normal settings to monitor the live market

2013-10-24 14:54:04 (INFO):     NOT trading with real money
2013-10-24 14:54:04 (INFO):     Profit reporter active on simulated balance
2013-10-24 14:54:04 (INFO):     Calculating EMA on historical data...
2013-10-24 14:56:03 (INFO):     ADVICE is to BUY @ 207.000 (1.496)


Simple………. The bot only trades/gives advice WHEN the requirements are met….

So it may be a minute,hour,day,week,year……… before it gives a new message, it's not broken, just the market does not match the requirements YOU set….

High Quality USB Hubs for Bitcoin miners
https://bitcointalk.org/index.php?topic=560003
alpha492
Full Member
***
Offline Offline

Activity: 195
Merit: 100


View Profile
October 28, 2013, 10:03:12 AM
 #258

It would be awesome to see this bot converted over to talib and coffeescript so methods could be easily imported from cryptotrader.  Not sure how much work that would be, any thoughts?

andrepcg
Full Member
***
Offline Offline

Activity: 230
Merit: 100



View Profile
November 10, 2013, 03:10:27 PM
 #259

what interval do you recommend to run the script? i'm new at trading and different times between candles gives different results.
pulsecat
Full Member
***
Offline Offline

Activity: 220
Merit: 100



View Profile WWW
November 10, 2013, 04:27:39 PM
 #260

It would be awesome to see this bot converted over to talib and coffeescript so methods could be easily imported from cryptotrader.  Not sure how much work that would be, any thoughts?

By the way there is standalone tool similar to Gekko that supports all Cryptotrader.org features https://github.com/pulsecat/cryptrade 

CryptoTrader.org - Cloud-based Automated Trading on Bitstamp/BTC-E/CEX.IO/Bitfinex/Kraken | Discussion topic at Bitcointalk.org | Automated Trading Contest (Prize 2 BTC)
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!