Safe Haskell | None |
---|---|
Language | Haskell98 |
Type for individual orders (order book entries) from the API.
- data GOrder p q t = Order {
- orderPrice :: p
- orderQuantity :: q
- orderTotal :: t
- type Order = GOrder CryptsyNum CryptsyNum CryptsyNum
- parseOrder :: (Value -> Parser p) -> (Value -> Parser q) -> (Value -> Parser t) -> Value -> Parser (GOrder p q t)
- module Cryptsy.API.Public.Types.Num
Documentation
generalized order
Order | |
|
type Order = GOrder CryptsyNum CryptsyNum CryptsyNum Source
default order
:: (Value -> Parser p) | price parser |
-> (Value -> Parser q) | quantity parser |
-> (Value -> Parser t) | total parser |
-> Value | |
-> Parser (GOrder p q t) |
Combine component parsers into JSON Object parser.
module Cryptsy.API.Public.Types.Num