coinbase-pro-0.8.0.0: Client for Coinbase Pro

Safe HaskellNone
LanguageHaskell2010

CoinbasePro.Types

Documentation

newtype OrderId Source #

Constructors

OrderId 

Fields

newtype ClientOrderId Source #

Constructors

ClientOrderId 
Instances
Eq ClientOrderId Source # 
Instance details

Defined in CoinbasePro.Types

Ord ClientOrderId Source # 
Instance details

Defined in CoinbasePro.Types

Show ClientOrderId Source # 
Instance details

Defined in CoinbasePro.Types

ToJSON ClientOrderId Source # 
Instance details

Defined in CoinbasePro.Types

FromJSON ClientOrderId Source # 
Instance details

Defined in CoinbasePro.Types

ToHttpApiData ClientOrderId Source # 
Instance details

Defined in CoinbasePro.Types

newtype Price Source #

Constructors

Price 

Fields

Instances
Eq Price Source # 
Instance details

Defined in CoinbasePro.Types

Methods

(==) :: Price -> Price -> Bool #

(/=) :: Price -> Price -> Bool #

Ord Price Source # 
Instance details

Defined in CoinbasePro.Types

Methods

compare :: Price -> Price -> Ordering #

(<) :: Price -> Price -> Bool #

(<=) :: Price -> Price -> Bool #

(>) :: Price -> Price -> Bool #

(>=) :: Price -> Price -> Bool #

max :: Price -> Price -> Price #

min :: Price -> Price -> Price #

Show Price Source # 
Instance details

Defined in CoinbasePro.Types

Methods

showsPrec :: Int -> Price -> ShowS #

show :: Price -> String #

showList :: [Price] -> ShowS #

ToJSON Price Source # 
Instance details

Defined in CoinbasePro.Types

FromJSON Price Source # 
Instance details

Defined in CoinbasePro.Types

ToHttpApiData Price Source # 
Instance details

Defined in CoinbasePro.Types

data Side Source #

Constructors

Buy 
Sell 
Instances
Eq Side Source # 
Instance details

Defined in CoinbasePro.Types

Methods

(==) :: Side -> Side -> Bool #

(/=) :: Side -> Side -> Bool #

Ord Side Source # 
Instance details

Defined in CoinbasePro.Types

Methods

compare :: Side -> Side -> Ordering #

(<) :: Side -> Side -> Bool #

(<=) :: Side -> Side -> Bool #

(>) :: Side -> Side -> Bool #

(>=) :: Side -> Side -> Bool #

max :: Side -> Side -> Side #

min :: Side -> Side -> Side #

Show Side Source # 
Instance details

Defined in CoinbasePro.Types

Methods

showsPrec :: Int -> Side -> ShowS #

show :: Side -> String #

showList :: [Side] -> ShowS #

ToJSON Side Source # 
Instance details

Defined in CoinbasePro.Types

FromJSON Side Source # 
Instance details

Defined in CoinbasePro.Types

ToHttpApiData Side Source # 
Instance details

Defined in CoinbasePro.Types

newtype Size Source #

Constructors

Size 

Fields

Instances
Eq Size Source # 
Instance details

Defined in CoinbasePro.Types

Methods

(==) :: Size -> Size -> Bool #

(/=) :: Size -> Size -> Bool #

Ord Size Source # 
Instance details

Defined in CoinbasePro.Types

Methods

compare :: Size -> Size -> Ordering #

(<) :: Size -> Size -> Bool #

(<=) :: Size -> Size -> Bool #

(>) :: Size -> Size -> Bool #

(>=) :: Size -> Size -> Bool #

max :: Size -> Size -> Size #

min :: Size -> Size -> Size #

Show Size Source # 
Instance details

Defined in CoinbasePro.Types

Methods

showsPrec :: Int -> Size -> ShowS #

show :: Size -> String #

showList :: [Size] -> ShowS #

ToJSON Size Source # 
Instance details

Defined in CoinbasePro.Types

FromJSON Size Source # 
Instance details

Defined in CoinbasePro.Types

ToHttpApiData Size Source # 
Instance details

Defined in CoinbasePro.Types

newtype Volume Source #

Constructors

Volume 

Fields

Instances
Eq Volume Source # 
Instance details

Defined in CoinbasePro.Types

Methods

(==) :: Volume -> Volume -> Bool #

(/=) :: Volume -> Volume -> Bool #

Ord Volume Source # 
Instance details

Defined in CoinbasePro.Types

Show Volume Source # 
Instance details

Defined in CoinbasePro.Types

ToJSON Volume Source # 
Instance details

Defined in CoinbasePro.Types

FromJSON Volume Source # 
Instance details

Defined in CoinbasePro.Types

newtype TradeId Source #

Constructors

TradeId Int 
Instances
Eq TradeId Source # 
Instance details

Defined in CoinbasePro.Types

Methods

(==) :: TradeId -> TradeId -> Bool #

(/=) :: TradeId -> TradeId -> Bool #

Show TradeId Source # 
Instance details

Defined in CoinbasePro.Types

ToJSON TradeId Source # 
Instance details

Defined in CoinbasePro.Types

FromJSON TradeId Source # 
Instance details

Defined in CoinbasePro.Types

data Funds Source #

Instances
Eq Funds Source # 
Instance details

Defined in CoinbasePro.Types

Methods

(==) :: Funds -> Funds -> Bool #

(/=) :: Funds -> Funds -> Bool #

Ord Funds Source # 
Instance details

Defined in CoinbasePro.Types

Methods

compare :: Funds -> Funds -> Ordering #

(<) :: Funds -> Funds -> Bool #

(<=) :: Funds -> Funds -> Bool #

(>) :: Funds -> Funds -> Bool #

(>=) :: Funds -> Funds -> Bool #

max :: Funds -> Funds -> Funds #

min :: Funds -> Funds -> Funds #

Show Funds Source # 
Instance details

Defined in CoinbasePro.Types

Methods

showsPrec :: Int -> Funds -> ShowS #

show :: Funds -> String #

showList :: [Funds] -> ShowS #

ToJSON Funds Source # 
Instance details

Defined in CoinbasePro.Types

FromJSON Funds Source # 
Instance details

Defined in CoinbasePro.Types

ToHttpApiData Funds Source # 
Instance details

Defined in CoinbasePro.Types

newtype CreatedAt Source #

Constructors

CreatedAt UTCTime 

data Candle Source #

Constructors

Candle 

Fields

Instances
Eq Candle Source # 
Instance details

Defined in CoinbasePro.Types

Methods

(==) :: Candle -> Candle -> Bool #

(/=) :: Candle -> Candle -> Bool #

Show Candle Source # 
Instance details

Defined in CoinbasePro.Types

FromJSON Candle Source # 
Instance details

Defined in CoinbasePro.Types

data Currency Source #

Constructors

Currency 

Fields

Instances
Eq Currency Source # 
Instance details

Defined in CoinbasePro.Types

Show Currency Source # 
Instance details

Defined in CoinbasePro.Types

FromJSON Currency Source # 
Instance details

Defined in CoinbasePro.Types