A small library to connect to the MtGox streaming API.
Haskell Shell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
nix
src
util
.gitignore
BtcExchanges.cabal
LICENSE
README.md
Setup.hs
default.nix

README.md

BtcExchanges

A small library to connect to the Btce/Bitstamp/Campbx streaming API's.

Build instructions


cabal sandbox init
cabal install --only-dependencies
cabal build
 

An Example

Here is how you get a simple live ticker of Btc-e orderbooks in your console:

import Pipes
import API.BtcExchanges
import Data.BtcExchanges

-- | Parse and construct order book from btc-e.com live feed.
main :: IO ()
main = runEffect $ for (orderbooks Btce BTCUSD) (liftIO . print)

Build Status

Analytics