0.1.0 • Published 10 years ago

btcreader v0.1.0

Weekly downloads
4
License
-
Repository
-
Last release
10 years ago

bitcoin-reader (WIP)

bitcoin-reader is an attempt to aggregate bitcoin prices from various markets and share them via socket.io.

Install

$ npm install bitcoin-reader

Supported Markets

Data

Markets return data in different formats. Bitcoin Reader is trying to normalize it to a common structure:

{ market: [{ currency: { buy: value, sell: value }} ]}

For example:

{
  mtgox: [
    { btc_usd: { buy: 834, sell: 833.9 } }
  ]
},
{ 
  btce: [ 
    { ltc_usd: { buy: 24.33994, sell: 24.26698 } },
    { btc_usd: { buy: 834, sell: 833.9 } }
  ]
}