Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A small library to connect to the MtGox streaming API.
Haskell Shell
Branch: master
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

Something went wrong with that request. Please try again.