cryptsy-api-0.2.1: Bindings for Cryptsy cryptocurrency exchange API.

Safe HaskellNone
LanguageHaskell98

Cryptsy.API.Public.OrderData

Description

Type and request for order book for all markets.

Synopsis

Documentation

newtype GOrderData p q t Source

general order data parameterized by types for prices, quantities, and totals (price * quantity)

Constructors

OrderData 

Fields

orderBooks :: HashMap Text (GOrderBook p q t)
 

Instances

(Show p, Show q, Show t) => Show (GOrderData p q t) 
FromJSON (GOrderBook p q t) => FromJSON (GOrderData p q t) 

parseOrderData Source

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.