Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: jxm262 on January 06, 2015, 02:05:48 PM



Title: Created my first NPM module - xchange.js
Post by: jxm262 on January 06, 2015, 02:05:48 PM
Hi All,

I've been wanting to get more experience with Node.js and learn some more about Bitcoin (new to the community).  So I made a simple ticker library to help get the current spot price for a few exchanges.  I realize this is something super simple and easy to develop, but was hoping to get some feedback since it's my first time putting any code out in public.

https://www.npmjs.com/package/xchange.js (https://www.npmjs.com/package/xchange.js)

github source
https://github.com/jxm262/xchange.js (https://github.com/jxm262/xchange.js)

I currently only made it to pull the spot price for BTC-USD and works on these exchanges -
bitfinex
bitstamp
okcoin
btce
btc38
bter
hitbtc
ccex


I was thinking of recreating the Xchange java library (https://github.com/timmolter/XChange (https://github.com/timmolter/XChange)) , ported over to Node, but didn't know if anyone would find it useful.  This library is essentially a wrapper for _all_ the api's of a bunch of exchanges.  Kind of like a huge aggregator for java.

Can anyone give some feedback?  What features would you find useful, what other applications could people use?

Or are there any projects in need of Node or Scala devs?




Title: Re: Created my first NPM module - xchange.js
Post by: conizer14 on January 06, 2015, 03:19:46 PM
Good work!

Keep on learning and the complexity of your aspirations will explode.

Node is a very versatile framework so keep at it and the world will be your oyster.

How about creating an alarm system when the ticker records high loss/gains?

PUSH notification to desktop/phone etc.


Title: Re: Created my first NPM module - xchange.js
Post by: jxm262 on January 06, 2015, 03:22:07 PM
That's actually on my todo list on my Trello board :)  But I'll probably make this as a separate project.  Maybe make a website with all of this stuff in 1 place.

But please, keep the suggestions coming!