Safe Haskell | None |
---|---|
Language | Haskell98 |
Type for order books returned from the API.
- data GOrderBook p q t = OrderBook {
- obMarketId :: Text
- obLabel :: Text
- obPrimaryName :: Text
- obPrimaryCode :: Text
- obSecondaryName :: Text
- obSecondaryCode :: Text
- obSellOrders :: Vector (GOrder p q t)
- obBuyOrders :: Vector (GOrder p q t)
- type OrderBook = GOrderBook CryptsyNum CryptsyNum CryptsyNum
- parseOrderBook :: (Value -> Parser (GOrder p q t)) -> Value -> Parser (GOrderBook p q t)
- module Cryptsy.API.Public.Types.Num
- module Cryptsy.API.Public.Types.Order
Documentation
data GOrderBook p q t Source
general order book
OrderBook | |
|
(Show p, Show q, Show t) => Show (GOrderBook p q t) | |
FromJSON (GOrder p q t) => FromJSON (GOrderBook p q t) |
type OrderBook = GOrderBook CryptsyNum CryptsyNum CryptsyNum Source
default order book
Build parser for orderbook from parser for a single order.
module Cryptsy.API.Public.Types.Num