parrainjak
Newbie
Offline
Activity: 33
Merit: 0
|
|
February 10, 2015, 02:58:17 PM |
|
great to see some exchanges added! I am testing the bot with different settings on btce and cryptsy (only papertrading). Would be great to see the backtester running. Is the (broken) sourcecode for backtesting on github somewhere? I did only find the /docs/backtesting.md Edit: I got this error on cryptsy for the second time: 2015-02-05 20:53:57 (DEBUG): Processed trades, sleeping for a minute... 2015-02-05 20:54:45 (DEBUG): Requested DRK/BTC trade data from Cryptsy ...
SyntaxError: Unexpected token < at Object.parse (native) at Request._callback (/home/user/gekko/node_modules/cryptsy-api/cryptsy.js:53:27) at Request.self.callback (/home/user/gekko/node_modules/cryptsy-api/node_modules/request/request.js:344:22) at Request.EventEmitter.emit (events.js:98:17) at Request.<anonymous> (/home/user/gekko/node_modules/cryptsy-api/node_modules/request/request.js:1239:14) at Request.EventEmitter.emit (events.js:117:20) at IncomingMessage.<anonymous> (/home/user/gekko/node_modules/cryptsy-api/node_modules/request/request.js:1187:12) at IncomingMessage.EventEmitter.emit (events.js:117:20) at _stream_readable.js:920:16 at process._tickCallback (node.js:415:13) hello. I ave a similare problem.
|
|
|
|
iheartubuntu
Newbie
Offline
Activity: 44
Merit: 0
|
|
February 15, 2015, 03:30:49 PM |
|
Hello! Can anyone help? Installed on Ubuntu via github instructions. All seemed OK. I have inputed my API/secret and other info into the config file as well. When launching in the terminal I use "nodejs gekko" and I get this message. Thanks for any help! iheartubuntu@gateway-SX2865:~/Desktop/gekko-master$ nodejs gekko
module.js:340 throw err; ^ Error: Cannot find module 'lodash' at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:280:25) at Module.require (module.js:364:17) at require (module.js:380:17) at Object.<anonymous> (/home/iheartubuntu/Desktop/gekko-master/gekko.js:22:9) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Function.Module.runMain (module.js:497:10)
|
|
|
|
LxiR
Newbie
Offline
Activity: 51
Merit: 0
|
|
February 19, 2015, 01:27:01 AM |
|
got an error while installing anyone can help? npm WARN `git config --get remote.origin.url` returned wrong result ( https://github.com/naddison36/bitfinex.git) undefined npm WARN `git config --get remote.origin.url` returned wrong result ( https://github.com/naddison36/bitfinex.git) undefined npm ERR! git clone https://github.com/naddison36/bitfinex.git undefined npm ERR! git clone https://github.com/naddison36/bitfinex.git undefined npm ERR! Windows_NT 6.1.7601 npm ERR! argv "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs \\node_modules\\npm\\bin\\npm-cli.js" "install" npm ERR! node v0.12.0 npm ERR! npm v2.5.1 npm ERR! code ENOGIT 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! Please include the following file with any support request: npm ERR! C:\Users\LxiR\Documents\GitHub\gekko\npm-debug.log
|
|
|
|
Bitarama
|
|
February 21, 2015, 08:15:05 PM |
|
Would any gekko users be interested in a data service for gekko? I built a candle aggregator that watches any market across several exchanges and have successfully integrated my candle api into gekko. This allows me to get gekko running on a market without gekko watching the market (Gekko gets all the data it needs on startup no more waiting x amount of hours before starts advising ), it also allows me to back test markets very easily. A other advantage to this is not relying on gekko to create its candles based on the trades it fetches since i have seen this to be very problematic instead it fetches candles from a central api server. I still have some work to do before i can publish the candle fetcher component for gekko. I plan on storing up to 6 months of trade data for now per market. New markets are auto discovered and marked as "NEW" and a new exchanges.js is generated and available for download every time we find a new market (this can be done programmatically so you don't have to replace the exchanges.js file every time). Pricing model :Request per Day | Limit | Costs | 10 | 300 | Free | 1,440 | 50,000 | 0.1 BTC | 5,000 | 150,000 | 0.2 BTC | 15,000 | 1,500,000 | 0.5 BTC | 30,000 | 5,000,000 | 1 BTC |
So here is the big question, How many of you would use or pay for this type of service ?
|
|
|
|
Bitarama
|
|
February 21, 2015, 08:18:15 PM |
|
got an error while installing anyone can help? npm WARN `git config --get remote.origin.url` returned wrong result ( https://github.com/naddison36/bitfinex.git) undefined npm WARN `git config --get remote.origin.url` returned wrong result ( https://github.com/naddison36/bitfinex.git) undefined npm ERR! git clone https://github.com/naddison36/bitfinex.git undefined npm ERR! git clone https://github.com/naddison36/bitfinex.git undefined npm ERR! Windows_NT 6.1.7601 npm ERR! argv "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs \\node_modules\\npm\\bin\\npm-cli.js" "install" npm ERR! node v0.12.0 npm ERR! npm v2.5.1 npm ERR! code ENOGIT 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! Please include the following file with any support request: npm ERR! C:\Users\LxiR\Documents\GitHub\gekko\npm-debug.log Install git http://git-scm.com/download/win
|
|
|
|
iheartubuntu
Newbie
Offline
Activity: 44
Merit: 0
|
|
February 27, 2015, 04:55:58 AM |
|
got an error while installing anyone can help? npm WARN `git config --get remote.origin.url` returned wrong result ( https://github.com/naddison36/bitfinex.git) undefined npm WARN `git config --get remote.origin.url` returned wrong result ( https://github.com/naddison36/bitfinex.git) undefined npm ERR! git clone https://github.com/naddison36/bitfinex.git undefined npm ERR! git clone https://github.com/naddison36/bitfinex.git undefined npm ERR! Windows_NT 6.1.7601 npm ERR! argv "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs \\node_modules\\npm\\bin\\npm-cli.js" "install" npm ERR! node v0.12.0 npm ERR! npm v2.5.1 npm ERR! code ENOGIT 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! Please include the following file with any support request: npm ERR! C:\Users\LxiR\Documents\GitHub\gekko\npm-debug.log Install git http://git-scm.com/download/winI'll check into it thanks. I sould have mentioned Im running ubuntu.
|
|
|
|
bitspill
Legendary
Offline
Activity: 2086
Merit: 1015
|
|
February 27, 2015, 05:10:36 AM |
|
got an error while installing anyone can help? npm WARN `git config --get remote.origin.url` returned wrong result ( https://github.com/naddison36/bitfinex.git) undefined npm WARN `git config --get remote.origin.url` returned wrong result ( https://github.com/naddison36/bitfinex.git) undefined npm ERR! git clone https://github.com/naddison36/bitfinex.git undefined npm ERR! git clone https://github.com/naddison36/bitfinex.git undefined npm ERR! Windows_NT 6.1.7601 npm ERR! argv "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs \\node_modules\\npm\\bin\\npm-cli.js" "install" npm ERR! node v0.12.0 npm ERR! npm v2.5.1 npm ERR! code ENOGIT 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! Please include the following file with any support request: npm ERR! C:\Users\LxiR\Documents\GitHub\gekko\npm-debug.log Install git http://git-scm.com/download/winI'll check into it thanks. I sould have mentioned Im running ubuntu. The error you quoted and the provided solution is not for the error you reported. In your case did you run npm so all the dependencies are installed? It looks like one of the node_modules was not installed properly. Should you find you also need to install git on ubuntu it's extremely simple: I sould have mentioned Im running ubuntu. Never would have guessed you were running that since your user name is 'i heart ubuntu'
|
|
|
|
mynameisricky
Newbie
Offline
Activity: 7
Merit: 0
|
|
March 07, 2015, 05:38:07 PM |
|
Hey, good people. I have gotten Gekko running on my local machine as well as on a free OpenShift server. But now I want to get Gekko running without the need for a terminal instance open, and so am trying to get it running with nohup. Here's the problem: You configured Gekko to mail you advice, Gekko needs your email password to send emails (to you). Gekko is an opensource project [ http://github.com/askmike/gekko ], you can take my word but always check the code yourself.
WARNING: If you have not downloaded Gekko from the github page above we CANNOT guarantuee that your email address & password are safe!
prompt: password:
events.js:72 throw er; // Unhandled 'error' event ^ Error: EBADF, read
My log shows: prompt: [90mpassword[39m[90m: [39m
events.js:72 throw er; // Unhandled 'error' event ^ Error: EBADF, read
My password is stored in config.js. Why is it still prompting for a password? Is it in fact prompting for a password, or is it just saying that it is? Because with the password stored when I run Gekko normally I have to press enter at the prompt: password: line. Or is the problem something else entirely? Thanks, guys!
|
|
|
|
itod
Legendary
Offline
Activity: 1974
Merit: 1076
^ Will code for Bitcoins
|
|
March 08, 2015, 09:44:17 AM |
|
Hey, good people. I have gotten Gekko running on my local machine as well as on a free OpenShift server. But now I want to get Gekko running without the need for a terminal instance open, and so am trying to get it running with nohup. Here's the problem: You configured Gekko to mail you advice, Gekko needs your email password to send emails (to you). Gekko is an opensource project [ http://github.com/askmike/gekko ], you can take my word but always check the code yourself.
WARNING: If you have not downloaded Gekko from the github page above we CANNOT guarantuee that your email address & password are safe!
prompt: password:
events.js:72 throw er; // Unhandled 'error' event ^ Error: EBADF, read
My log shows: prompt: [90mpassword[39m[90m: [39m
events.js:72 throw er; // Unhandled 'error' event ^ Error: EBADF, read
My password is stored in config.js. Why is it still prompting for a password? Is it in fact prompting for a password, or is it just saying that it is? Because with the password stored when I run Gekko normally I have to press enter at the prompt: password: line. Or is the problem something else entirely? Thanks, guys! I think you should try Screen instead of nohup for that purpose, it should do better job of preserving the environment which may be important when process needs input. There are no disadvantages in using it instead of nohup.
|
|
|
|
mynameisricky
Newbie
Offline
Activity: 7
Merit: 0
|
|
March 08, 2015, 05:35:32 PM |
|
I think you should try Screen instead of nohup for that purpose, it should do better job of preserving the environment which may be important when process needs input. There are no disadvantages in using it instead of nohup.
For some reason OpenShift hates screen and I spent a good hour yelling at my server. In searching for the problem I found tmux which has similar capability and isn't hated by OpenShift. Thanks, dude! Fist bump. And if anyone wants to get Gekko running on a server I can personally attest to feasibility of running it on a free OpenShift server without the need for an open terminal instance with tmux.
|
|
|
|
itod
Legendary
Offline
Activity: 1974
Merit: 1076
^ Will code for Bitcoins
|
|
March 08, 2015, 07:18:23 PM |
|
I think you should try Screen instead of nohup for that purpose, it should do better job of preserving the environment which may be important when process needs input. There are no disadvantages in using it instead of nohup.
For some reason OpenShift hates screen and I spent a good hour yelling at my server. In searching for the problem I found tmux which has similar capability and isn't hated by OpenShift. Thanks, dude! Fist bump. And if anyone wants to get Gekko running on a server I can personally attest to feasibility of running it on a free OpenShift server without the need for an open terminal instance with tmux. Glad it worked, was pretty sure nohup was the problem. Nice confirming one can run Gekko in the cloud absolutely free of charge!
|
|
|
|
mynameisricky
Newbie
Offline
Activity: 7
Merit: 0
|
|
March 10, 2015, 11:09:50 PM Last edit: March 11, 2015, 02:23:31 AM by mynameisricky |
|
Okay, good people, I would appreciate being rescued again. I have Gekko running on OpenShift but they have a 24 hour timer after which they idle you. I knew this but thought it wouldn't be that hard to make a simple Hello World app that I could ping and prevent time out. Turns out I'm rather spectacularly node.js inept so I bought a Lithuanian virtual private server for ridiculously cheap and I got Ubuntu server 14.04 running Node 0.12 (many thanks for the guide on how to do that in this thread!). But alas, my Lithuanian Gekko had other plans: 2015-03-11 00:36:26 (INFO): Starting to watch the market: Bitfinex BTC/USD 2015-03-11 00:36:26 (DEBUG): ~market start 2015-03-11 00:36:26 (DEBUG): checking history 2015-03-11 00:36:26 (DEBUG): ~watch market 2015-03-11 00:36:26 (DEBUG): Requested BTC/USD trade data from Bitfinex ... /root/gekko/node_modules/bitfinex/bitfinex.js:104 return cb(null, result); ^ TypeError: undefined is not a function at Request._callback (/root/gekko/node_modules/bitfinex/bitfinex.js:104:16) at Request.self.callback (/root/gekko/node_modules/bitfinex/node_modules/request/request.js:344:22) at Request.emit (events.js:110:17) at Request.<anonymous> (/root/gekko/node_modules/bitfinex/node_modules/request/request.js:1239:14) at Request.emit (events.js:129:20) at IncomingMessage.<anonymous> (/root/gekko/node_modules/bitfinex/node_modules/request/request.js:1187:12) at IncomingMessage.emit (events.js:129:20) at _stream_readable.js:908:16 at process._tickCallback (node.js:355:11)
This is very strange to me. I have successfully gotten Gekko running on Windows, Ubuntu, and OpenShift's cloud server. What the hell is going on? I can't for the life of me figure out what's different from this Ubuntu server install to my Ubuntu laptop install. Edit: I am now getting errors on all four installations of Gekko. Life is conspiring against me. Edit edit: Got it working on my Windows machine, the one option that I can't leave running all the time. Life still conspiring against me. Edit edit edit: Pushbullet is legit, son.
|
|
|
|
MichaelSicili
Newbie
Offline
Activity: 28
Merit: 0
|
|
March 11, 2015, 07:03:39 AM |
|
oh shit man, this is great work. is it still work?
|
|
|
|
mynameisricky
Newbie
Offline
Activity: 7
Merit: 0
|
|
March 11, 2015, 10:20:56 PM |
|
Your question isn't very clear. Could you clarify?
|
|
|
|
mynameisricky
Newbie
Offline
Activity: 7
Merit: 0
|
|
March 13, 2015, 11:05:52 PM |
|
Okay, not having Gekko running is driving me nuts. .2BTC to whoever gets my Lithuanian Linux Gekko running.
|
|
|
|
itod
Legendary
Offline
Activity: 1974
Merit: 1076
^ Will code for Bitcoins
|
|
March 14, 2015, 09:52:25 AM |
|
Okay, not having Gekko running is driving me nuts. .2BTC to whoever gets my Lithuanian Linux Gekko running.
How do you suppose one can do that without having login credentials on the machine?
|
|
|
|
mynameisricky
Newbie
Offline
Activity: 7
Merit: 0
|
|
March 14, 2015, 06:18:46 PM |
|
Sorry, I didn't write clearly. .2 BTC to whoever gets the information to me that gets Gekko running. If someone wants to fiddle around with my server I may be open to that, but I'd very much prefer someone simply help me figure out what the error is. I have put a lot of time into trying to figure out what is going on, and I cannot begin to understand why I was able to successfully get Gekko running on multiple linux instances and now I cannot get it running on any of them. It may be something completely idiotic, I don't know, but I've put quite a lot of time in this, am continuing to put quite a lot of time in this, and I'd really prefer to not put any more time in this.
|
|
|
|
blubberli
|
|
March 15, 2015, 04:40:46 AM Last edit: March 15, 2015, 05:14:49 AM by blubberli |
|
I had the same problem while moving to a new server. 2015-03-11 00:36:26 (INFO): Starting to watch the market: Bitfinex BTC/USD 2015-03-11 00:36:26 (DEBUG): ~market start 2015-03-11 00:36:26 (DEBUG): checking history 2015-03-11 00:36:26 (DEBUG): ~watch market 2015-03-11 00:36:26 (DEBUG): Requested BTC/USD trade data from Bitfinex ... /root/gekko/node_modules/bitfinex/bitfinex.js:104 return cb(null, result); ^ TypeError: undefined is not a function
The cause seems to be an newer bitfinex module: working server: ├─┬ bitfinex@0.2.9 (git+https://github.com/naddison36/bitfinex.git#8dab381f81687008b3e88c4f06a0a76c29eb5c69) failed server: ├─┬ bitfinex@0.3.0 (git+https://github.com/naddison36/bitfinex.git#b5699b45904a9cdb682e9e824937847becb9b37c) So try: npm install bitfinex@'0.2.9' Edit: Next error: /opt/gekko/methods/RSI.js:43 log.debug('\t', 'price:', this.lastPrice.toFixed(digits)); ^ TypeError: Cannot call method 'toFixed' of undefined
As this is just a debug message, I've set config.debug = false; I am tired now, but with this 2 changes gekko@bitfinex works for me on my new server. @mynameisricky Hope this helps you, too... May I have my .2 BTC now? <eg>
|
|
|
|
mynameisricky
Newbie
Offline
Activity: 7
Merit: 0
|
|
March 15, 2015, 04:15:06 PM |
|
Aaaaaaaaaand we have a winner. Thanks, dude! *fist bump* Get me your address and I'll get you your BTC.
Do the modules update themselves? Could that be why it was working and then it didn't?
|
|
|
|
blubberli
|
|
March 15, 2015, 04:51:03 PM |
|
Aaaaaaaaaand we have a winner. Thanks, dude! *fist bump* Get me your address and I'll get you your BTC.
You got PM. Do the modules update themselves? Could that be why it was working and then it didn't?
Usually not, maybe you issued "npm update" or something like that. Anyways, gekko seems to be somewhat "fragile".
|
|
|
|
|