| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
Cryptsy.API.Public.OrderData
Description
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)
Constructors
| OrderData | |
Fields
| |
Instances
| (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
Arguments
| :: (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