gdax-0.6.0.0: API Wrapping for Coinbase's GDAX exchange.

Safe HaskellNone
LanguageHaskell2010

Network.GDAX.Types.MarketData

Documentation

data Product #

Instances

Show Product # 
Generic Product # 

Associated Types

type Rep Product :: * -> * #

Methods

from :: Product -> Rep Product x #

to :: Rep Product x -> Product #

FromJSON Product # 
type Rep Product # 

data Bid #

Constructors

Bid 

Instances

Show Bid # 

Methods

showsPrec :: Int -> Bid -> ShowS #

show :: Bid -> String #

showList :: [Bid] -> ShowS #

Generic Bid # 

Associated Types

type Rep Bid :: * -> * #

Methods

from :: Bid -> Rep Bid x #

to :: Rep Bid x -> Bid #

FromJSON Bid # 
type Rep Bid # 
type Rep Bid = D1 * (MetaData "Bid" "Network.GDAX.Types.MarketData" "gdax-0.6.0.0-ChZNUseR4NS91FoXMnoY6q" False) (C1 * (MetaCons "Bid" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_bidPrice") SourceUnpack NoSourceStrictness DecidedStrict) (Rec0 * Double)) ((:*:) * (S1 * (MetaSel (Just Symbol "_bidSize") SourceUnpack NoSourceStrictness DecidedStrict) (Rec0 * Double)) (S1 * (MetaSel (Just Symbol "_bidId") SourceUnpack NoSourceStrictness DecidedStrict) (Rec0 * UUID)))))

data Ask #

Constructors

Ask 

Instances

Show Ask # 

Methods

showsPrec :: Int -> Ask -> ShowS #

show :: Ask -> String #

showList :: [Ask] -> ShowS #

Generic Ask # 

Associated Types

type Rep Ask :: * -> * #

Methods

from :: Ask -> Rep Ask x #

to :: Rep Ask x -> Ask #

FromJSON Ask # 
type Rep Ask # 
type Rep Ask = D1 * (MetaData "Ask" "Network.GDAX.Types.MarketData" "gdax-0.6.0.0-ChZNUseR4NS91FoXMnoY6q" False) (C1 * (MetaCons "Ask" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_askPrice") SourceUnpack NoSourceStrictness DecidedStrict) (Rec0 * Double)) ((:*:) * (S1 * (MetaSel (Just Symbol "_askSize") SourceUnpack NoSourceStrictness DecidedStrict) (Rec0 * Double)) (S1 * (MetaSel (Just Symbol "_askId") SourceUnpack NoSourceStrictness DecidedStrict) (Rec0 * UUID)))))

data Book #

Instances

Show Book # 

Methods

showsPrec :: Int -> Book -> ShowS #

show :: Book -> String #

showList :: [Book] -> ShowS #

Generic Book # 

Associated Types

type Rep Book :: * -> * #

Methods

from :: Book -> Rep Book x #

to :: Rep Book x -> Book #

FromJSON Book # 
type Rep Book # 
type Rep Book = D1 * (MetaData "Book" "Network.GDAX.Types.MarketData" "gdax-0.6.0.0-ChZNUseR4NS91FoXMnoY6q" False) (C1 * (MetaCons "Book" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_bookBids") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 * (Vector Bid))) ((:*:) * (S1 * (MetaSel (Just Symbol "_bookAsks") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 * (Vector Ask))) (S1 * (MetaSel (Just Symbol "_bookSequence") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 * Sequence)))))

data Tick #

type Low = Double #

type High = Double #

type Open = Double #

type Close = Double #

type Volume = Double #

data Stats #

Instances

data Currency #

Constructors

Currency 

Instances

Show Currency # 
Generic Currency # 

Associated Types

type Rep Currency :: * -> * #

Methods

from :: Currency -> Rep Currency x #

to :: Rep Currency x -> Currency #

FromJSON Currency # 
type Rep Currency # 
type Rep Currency = D1 * (MetaData "Currency" "Network.GDAX.Types.MarketData" "gdax-0.6.0.0-ChZNUseR4NS91FoXMnoY6q" False) (C1 * (MetaCons "Currency" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_currId") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 * CurrencyId)) ((:*:) * (S1 * (MetaSel (Just Symbol "_currName") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_currMinSize") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 * Double)))))