-
Notifications
You must be signed in to change notification settings - Fork 4k
Cannot read property 'amount' of undefined #337
Comments
Hi John! I was working on the bitfinex module and I had a similar issue. There should be atleast .015 btc available in your bfx exchange wallet. 0.01 btc is a minimum trade and there are fees per trade. Also, you may need to wait at least 10mins for the api keys to get validated. I suggest you run in simulation mode or send some btc to your exchange wallet. Ill look into a test to prevent that errror dump. |
Hey xhad! So my account assumption was correct. Thanks! Should I close this or this will be the basis of your fix? |
Also, several node modules may not be referenced properly. As a fix, you could try installing the node modules listed unavailable in the dump: npm install async, lodash... Ill test this out and get back to you. |
@xhad good to see you are on it already. So this error is caused when there are no funds available? Maybe we should catch this instead of crashing? |
This is a strange issue. It's not related to having funds available. The callback is giving an error code 'ETIMEDOUT' sometimes, but most of the it works fine. I'm not sure what's causing this error. It comes from calling #L65 Mike, please advise if you have time. Thanks. >< |
@jhnferraris I reverted back to old but working bitfinex code until this is fixed. Please run:
And try again! |
I just tried your app for the first time just to have a feel on how it works.
When I tried to run using
$ node gekko
, this error showed:The config is this:
Is portfolioManager.js requires sqlite in the machine to access the data
amount
? Or maybe this is because my bitfinex account has no money?The text was updated successfully, but these errors were encountered: