Coder Social home page Coder Social logo

passabilities / crypto-exchange Goto Github PK

View Code? Open in Web Editor NEW
261.0 261.0 78.0 180 KB

Pulls together list of crypto exchanges to interact with their API's in a uniform fashion.

License: MIT License

JavaScript 100.00%
altcoin api balance bitcoin bitfinex bittrex btc-e crypto crypto-exchange depth exchange gdax gemini kraken liquid pair poloniex ticker yunbi

crypto-exchange's People

Contributors

cuylerquint avatar josiasmontag avatar luismelodev avatar michael-wang avatar niieani avatar passabilities avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

crypto-exchange's Issues

TypeError: Cannot read property 'plnx' of unde fined

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.

Why the promises?

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: Support multiple wallets for Balance

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?

No issue

It is hard to say how amazing this library is.

Maybe I can help.

Best,

yard add fail

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.

tutorial for dummies

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!

Crypto-exchange vs. ccxt

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?

Bittrex getCandles support

Hi, would you care about adding getCandles, buy and sell endpoints available for the Bittrex v2.0 API?

Best regards,
Tiago

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.