Safe Haskell | None |
---|---|
Language | Haskell98 |
Type and request for order book for all markets.
- newtype GOrderData p q t = OrderData {
- orderBooks :: HashMap Text (GOrderBook p q t)
- type OrderData = GOrderData CryptsyNum CryptsyNum CryptsyNum
- parseOrderData :: (Value -> Parser (GOrderBook p q t)) -> Value -> Parser (GOrderData p q t)
- orderData :: FromJSON (GOrderData p q t) => PubCryptsy (GOrderData p q t)
- module Cryptsy.API.Public.Types.OrderBook
- module Cryptsy.API.Public.Types.Monad
- module Cryptsy.API.Public.Types.Num
Documentation
newtype GOrderData p q t Source
general order data parameterized by types for prices, quantities, and totals (price * quantity)
OrderData | |
|
(Show p, Show q, Show t) => Show (GOrderData p q t) | |
FromJSON (GOrderBook p q t) => FromJSON (GOrderData p q t) |
type OrderData = GOrderData CryptsyNum CryptsyNum CryptsyNum Source
default order data
:: (Value -> Parser (GOrderBook p q t)) | orderbook parser |
-> Value | |
-> Parser (GOrderData p q t) |
Build parser for multiple orderbooks from parser for single orderbook.
orderData :: FromJSON (GOrderData p q t) => PubCryptsy (GOrderData p q t) Source
Request full order book for all markets.
module Cryptsy.API.Public.Types.Num