Closed d34vbd5 closed 6 years ago
You may need to update your version of Node. Object values is supported in version 7 and up.
On Tue, Jul 25, 2017 at 9:19 AM, d34vbd5 notifications@github.com wrote:
What is wrong with my installation? I can successfully get my funds from kraken but i can't buy anything or check specific prices:
coinx price btc /usr/local/lib/node_modules/coinx/commands/coinx-price.js:12 const exchanges = Object.values(coinx.exchanges()); ^
TypeError: Object.values is not a function at Object. (/usr/local/lib/node_modules/coinx/commands/coinx-price.js: 12:26) at Module._compile (module.js:570:32) at Object.Module._extensions..js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) at Function.Module._load (module.js:438:3) at Module.runMain (module.js:604:10) at run (bootstrap_node.js:389:7) at startup (bootstrap_node.js:149:9) at bootstrap_node.js:504:3
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/johntitus/coinx/issues/21, or mute the thread https://github.com/notifications/unsubscribe-auth/AAkB_hRToY7kCjkcvHPxcod_sK2VxKrMks5sRetygaJpZM4Oiiy6 .
Thank you, i installed v6.11.1 LTS.. after updating the Node.js version i'm able to get prices but i'm still unable to do purchases. I tried to use kraken and get "Error: Kraken API returned error: Order:Trading agreement required". Any idea about that error? The Kraken API is set to allow everything.
That sounds like a Kraken issue, not related to this library. Have you manually traded coins on there? Do you have funds in the right wallet?
On Wed, Jul 26, 2017 at 7:01 AM, d34vbd5 notifications@github.com wrote:
Thank you, i installed v6.11.1 LTS.. after updating the Node.js version i'm able to get prices but i'm still unable to do purchases. I tried to use kraken and get "Error: Kraken API returned error: Order:Trading agreement required". Any idea about that error? The Kraken API is set to allow everything.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/johntitus/coinx/issues/21#issuecomment-318021347, or mute the thread https://github.com/notifications/unsubscribe-auth/AAkB_h-tWJyngTWla_Jx7D3MWEDXeNcqks5sRxyagaJpZM4Oiiy6 .
What is wrong with my installation? I can successfully get my funds from kraken but i can't buy anything or check specific prices:
coinx price btc /usr/local/lib/node_modules/coinx/commands/coinx-price.js:12 const exchanges = Object.values(coinx.exchanges()); ^
TypeError: Object.values is not a function at Object. (/usr/local/lib/node_modules/coinx/commands/coinx-price.js:12:26)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.runMain (module.js:604:10)
at run (bootstrap_node.js:389:7)
at startup (bootstrap_node.js:149:9)
at bootstrap_node.js:504:3