Giter VIP home page Giter VIP logo

node-red-contrib-ccxt-v2's People

Contributors

borfswitch avatar ltangaf avatar masalinas avatar nileio avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

node-red-contrib-ccxt-v2's Issues

Implement the done event

Hello!

I have noticed that the complete node does not get fired when cctx node have finished its task.

This is due the code does not use done() when the execution is finished.

It will be very usefull to have this feature added.

Thanks

Bitstamp API version being used?

Hi @nileio, just a question.

I received a mail from bitstamp informing me they are depreciating the v1.0 of their API in favour of v2.0.

Is your bitstamp implementation done on v1 or v2? Specifically the Unified API?

Thanks

Support Sandbox Mode

It would be great if there was an option to turn on sandbox mode.

const exchange = new ccxt.binance (config)
exchange.setSandboxMode (true) // enable sandbox mode

How to populate "order price" dynamically

Not an issue, but a question.

I'm trying to populate the price field of the "createorder" API dynamically. The tip mentions that this can be done via a msg prop or flow, but I can't find how to reference the price value.

What's the best way to do this? I am using the "limit" type and want to set the buy price dynamically based on some calcs in a proceeding function node.

Thanks

Installation failed

I am running node-red in a docker container and get the follwing error:

bash-5.0$ npm install node-red-contrib-ccxt-v2 --save
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/node-red-contrib-ccxt-v2 - Not found
npm ERR! 404
npm ERR! 404 'node-red-contrib-ccxt-v2@latest' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in:
npm ERR! /usr/src/node-red/.npm/_logs/2021-05-11T16_29_49_716Z-debug.log
bash-5.0$ cat /usr/src/node-red/.npm/_logs/2021-05-11T16_29_49_716Z-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node',
1 verbose cli '/usr/local/bin/npm',
1 verbose cli 'install',
1 verbose cli 'node-red-contrib-ccxt-v2',
1 verbose cli '--save' ]
2 info using [email protected]
3 info using [email protected]
4 verbose config Skipping project config: /usr/src/node-red/.npmrc. (matches userconfig)
5 verbose npm-session bf17e86e0429dc9e
6 silly install loadCurrentTree
7 silly install readLocalPackageData
8 http fetch GET 404 https://registry.npmjs.org/node-red-contrib-ccxt-v2 184ms
9 http fetch GET 404 https://registry.npmjs.org/node-red-contrib-ccxt-v2 50ms
10 silly fetchPackageMetaData error for node-red-contrib-ccxt-v2@latest 404 Not Found - GET https://registry.npmjs.org/node-red-contrib-ccxt-v2 - Not found
11 timing stage:rollbackFailedOptional Completed in 1ms
12 timing stage:runTopLevelLifecycles Completed in 1316ms
13 verbose stack Error: 404 Not Found - GET https://registry.npmjs.org/node-red-contrib-ccxt-v2 - Not found
13 verbose stack at res.buffer.catch.then.body (/usr/local/lib/node_modules/npm/node_modules/npm-registry-fetch/check-response.js:117:15)
13 verbose stack at process._tickCallback (internal/process/next_tick.js:68:7)
14 verbose statusCode 404
15 verbose pkgid node-red-contrib-ccxt-v2@latest
16 verbose cwd /usr/src/node-red
17 verbose Linux 4.4.59+
18 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "node-red-contrib-ccxt-v2" "--save"
19 verbose node v10.23.1
20 verbose npm v6.14.10
21 error code E404
22 error 404 Not Found - GET https://registry.npmjs.org/node-red-contrib-ccxt-v2 - Not found
23 error 404
24 error 404 'node-red-contrib-ccxt-v2@latest' is not in the npm registry.
25 error 404 You should bug the author to publish it (or use the name yourself!)
26 error 404 Note that you can also install from a
27 error 404 tarball, folder, http url, or git url.
28 verbose exit [ 1, true ]

My goal is to get the crypto balance from KuCoin, with masalinas verion I get a error with password and have no idea where to place that and hope this one does support KuCoin or has the option to add the extra security.

With kind regards,
Chris

"Fetch failed" after NodeRed upgrade?

Hi there

I recently had a HDD failure and decided to install the latest version of Node Red on reinstall. I am now getting an error as below when trying to access Bitstamp APIs. Node Red is now running ver 3.0.2.

The error pops up immediately, almost like the module is not even making the request. I did also test with a raw http GET on Node Red to a public API and that works.

"bitstamp GET https://www.bitstamp.net/api/v2/trading-pairs-info/ fetch failed"

Anyone else seeing this?

Thanks

publish to npm

Howdy,
Would you be able to publish to npm to make it easier to install?

I manually installed the module and it works well (for what I need at least), but I keep losing the module when I update my docker container that runs nodered.

Thanks

api endpoint conflict with node-red-contrib-ccxt

A couple of the various registered data endpoints, specifically /exchanges and /apis conflicted with the same endpoints defined in the other module.

I'm already working on a fix for this, as I think it's possible, at least while the two projects are split, that people will try both and get strange behavior (like I did).

Right now, I've just tacked on v2 on the end of their registered routes, but one of the other changes I made to get things working was to change the ccxt/ path in the module to ccxt-v2, so perhaps instead of tacking on v2, I'll change the routes to all start with /ccxt-v2/ to make a fully clean differentiation.

I would like to have a live discussion with you at some point, @nileio. I don't know what chat systems you participate in. I run a Matrix server. That's a federated system, so we could talk on that. Discord or Slack are also possibilities. What UTC times might you be around to have a conversation?

BTW, if it wasn't already clear, I'm already fixing the issues I've encountered and will create a PR here.

incompatibility with node-red 3.1.0

This version does not work with node version 18, is it possible to facilitate its use in the current version of node-red 3.1.0 ?

npm WARN config production Use --omit=dev instead.
npm ERR! code EBADENGINE
npm ERR! engine Unsupported engine
npm ERR! engine Not compatible with your version of node/npm: [email protected]
npm ERR! notsup Not compatible with your version of node/npm: [email protected]
npm ERR! notsup Required: {"node":">=14.0.0 <=16"}
npm ERR! notsup Actual: {"npm":"10.2.3","node":"v18.19.0"}

npm ERR! A complete log of this run can be found in: /home/carlos/.npm/_logs/2023-12-04T20_40_48_911Z-debug-0.log

regards!

Failed to request private queries for Binance.com

I successfully get all information from different crypto brokers but for Binance I get only the public part. For the private part I get the following error:

binance {"code":-2015,"msg":"Invalid API-key, IP, or permissions for action, request ip: xx.yy.zz.158"}

I have also the palette node-red-contrib-binance installed and that one is working with the same credentials, what is going wrong in my Node Red

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.