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

Safe HaskellNone
LanguageHaskell98

Cryptsy.API.Public.Types.MarketData

Description

Type for all data returned by a market data request.

Synopsis

Documentation

newtype GMarketData p q dt t Source

general market data parameterized by types for prices, quantities, date/time values, and totals (price * quantity)

Constructors

MarketData 

Fields

markets :: HashMap Text (GMarket p q dt t)
 

Instances

(Show p, Show q, Show dt, Show t) => Show (GMarketData p q dt t) 
FromJSON (GMarket p q dt t) => FromJSON (GMarketData p q dt t) 

parseMarketData Source

Arguments

:: (Value -> Parser (GMarket p q dt t))

market parser

-> Value 
-> Parser (GMarketData p q dt t) 

Build parser for multiple markets from parser for single market.