module Cryptsy.API.Public.MarketData.Old
( oldMarketData
, module Cryptsy.API.Public.Types.MarketData
, module Cryptsy.API.Public.Types.Monad
)
where
import Data.Aeson (FromJSON(..))
import Cryptsy.API.Public.Internal
import Cryptsy.API.Public.Types.MarketData
import Cryptsy.API.Public.Types.Monad
marketdataURL :: String
marketdataURL = pubURL "marketdata"
oldMarketData :: FromJSON (GMarketData p q dt t)
=> PubCryptsy (GMarketData p q dt t)
oldMarketData = pubCryptsy marketdataURL $ onMarkets parseJSON