Safe Haskell | None |
---|---|
Language | Haskell2010 |
Module to define types for "DeFi Markets" category of endpoints defined at docs.gomaestro.org.
Synopsis
- data Dex
- type PairOfDexTokens = "Token pair to look for. Format: XXX-YYY"
- data Resolution
- data DexPairResponse = DexPairResponse {}
- data DexPairInfo = DexPairInfo {}
- data OHLCCandleInfo = OHLCCandleInfo {
- ohlcCandleInfoCoinAClose ∷ !Double
- ohlcCandleInfoCoinAHigh ∷ !Double
- ohlcCandleInfoCoinALow ∷ !Double
- ohlcCandleInfoCoinAOpen ∷ !Double
- ohlcCandleInfoCoinAVolume ∷ !Double
- ohlcCandleInfoCoinBClose ∷ !Double
- ohlcCandleInfoCoinBHigh ∷ !Double
- ohlcCandleInfoCoinBLow ∷ !Double
- ohlcCandleInfoCoinBOpen ∷ !Double
- ohlcCandleInfoCoinBVolume ∷ !Double
- ohlcCandleInfoCount ∷ !Natural
- ohlcCandleInfoTimestamp ∷ !UTCTime
Documentation
Denotes which dex to use
Instances
Bounded Dex # | |
Enum Dex # | |
Eq Dex # | |
Ord Dex # | |
Show Dex # | |
Generic Dex # | |
FromHttpApiData Dex # | |
Defined in Maestro.Types.V1.DefiMarkets parseUrlPiece ∷ Text → Either Text Dex parseHeader ∷ ByteString → Either Text Dex parseQueryParam ∷ Text → Either Text Dex | |
ToHttpApiData Dex # | |
Defined in Maestro.Types.V1.DefiMarkets toUrlPiece ∷ Dex → Text toEncodedUrlPiece ∷ Dex → Builder toHeader ∷ Dex → ByteString toQueryParam ∷ Dex → Text | |
ToJSON Dex # | |
Defined in Maestro.Types.V1.DefiMarkets | |
FromJSON Dex # | |
Defined in Maestro.Types.V1.DefiMarkets | |
type Rep Dex # | |
type PairOfDexTokens = "Token pair to look for. Format: XXX-YYY" #
Token Pair that is queried
data Resolution #
Time resolution for OHLC Candles
Instances
data DexPairResponse #
Instances
data DexPairInfo #
Instances
data OHLCCandleInfo #
Candle data according to the OHLC format