Search content
Sort by

Showing 7 of 7 results by mynameisricky
Post
Topic
Re: Gekko - a javascript trading bot and backtesting platform
by
mynameisricky
on 15/03/2015, 16:15:06 UTC
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?

Post
Topic
Re: Gekko - a javascript trading bot and backtesting platform
by
mynameisricky
on 14/03/2015, 18:18:46 UTC
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.
Post
Topic
Re: Gekko - a javascript trading bot and backtesting platform
by
mynameisricky
on 13/03/2015, 23:05:52 UTC
Okay, not having Gekko running is driving me nuts. .2BTC to whoever gets my Lithuanian Linux Gekko running.
Post
Topic
Re: Gekko - a javascript trading bot and backtesting platform
by
mynameisricky
on 11/03/2015, 22:20:56 UTC
Your question isn't very clear. Could you clarify?
Post
Topic
Re: Gekko - a javascript trading bot and backtesting platform
by
mynameisricky
on 10/03/2015, 23:09:50 UTC
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:
Code:

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. (/root/gekko/node_modules/bitfinex/node_modules/request/request.js:1239:14)
    at Request.emit (events.js:129:20)
    at IncomingMessage. (/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.
Post
Topic
Re: Gekko - a javascript trading bot and backtesting platform
by
mynameisricky
on 08/03/2015, 17:35:32 UTC
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.
Post
Topic
Re: Gekko - a javascript trading bot and backtesting platform
by
mynameisricky
on 07/03/2015, 17:38:07 UTC
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:

Code:
       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:

Code:
prompt: password: 

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!