passabilities / crypto-exchange Goto Github PK
View Code? Open in Web Editor NEWPulls together list of crypto exchanges to interact with their API's in a uniform fashion.
License: MIT License
Pulls together list of crypto exchanges to interact with their API's in a uniform fashion.
License: MIT License
Having this issue, maybe because API's are changing?
`const crypto = require('crypto-exchange')
let pairFetch = ['BTC_USD', 'LTC_USD', 'ETH_BTC']
crypto.bitfinex.ticker(pairFetch)
.then(console.log)`
"UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 4): TypeError: Cannot read property 'bitfinex' of
undefined
"
At least Poloniex, Bittrex, Kraken, Bitfinex are throwing this error. Gdax is working fine.
Thanks for this, it's a great project.
My only concern is with the use of promises. It'd be easy to use this lib asynchronously if the API would be synchronous but the other way around is not possible unfortunately. In other words using promises forces a style that some might want to avoid while it would be trivial to introduce it by the user if needed.
Would it be possible for you to release a synchronous API?
Bitfinex has multiple wallets, i.e. for types = ['exchange', 'trading', 'funding']
Right now, only the exchange wallet is returned for the balance. In order to be compatible with all exchanges, I suggest adding the type (wallet) as a parameter for all exchanges. Of course, others might have just one wallet.
Does that make sense?
It is hard to say how amazing this library is.
Maybe I can help.
Best,
yarn add crypto-exchange
yarn add v0.27.5
[1/4] Resolving packages...
warning crypto-exchange > bitfinex > request > [email protected]: ReDoS vulnerability parsing Set-Cookie https://nodesecurity.io/advisories/130
warning crypto-exchange > bitfinex > request > [email protected]: Use uuid module instead
warning crypto-exchange > coinbase > request > [email protected]: Use uuid module instead
warning crypto-exchange > yunbi-api-module > [email protected]: This package is no longer supported. It's now a built-in Node module. If you've depended on crypto, you should switch to the one that's built-in.
error Couldn't find match for "cb-accounts" in "felix-cleanup,felix-es6ify,master,plorio-update_validation,update_readme,version-0.3.2,withdraw-crypto,v0.2.2,v0.3.0,v0.3.1,v0.3.2,v0.3.3-0,v0.4.2,v0.4.3" for "https://github.com/passabilities/gdax-node.git".
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
Hi,
I'm trying to use this to check my balance on bitfinex.
I have no idea how to start, is it possible for you (or anyone that knows how) to write a step by step tutorial?
Thanks!
Can you add support for binance ?
Thanks !!
Is this library still maintained? In the fast world of crypto, frequent updates are good. CCXT is updated almost live and the user base is 20x larger. How do the two libraries compare right now?
Hi, would you care about adding getCandles, buy and sell endpoints available for the Bittrex v2.0 API?
Best regards,
Tiago
Can you add fetching of historical transaction data (buy/sell/deposit/withdrawal) as an authenticated method ? That would make this super powerful
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.