Safe Haskell | None |
---|---|
Language | Haskell2010 |
Module to query for "DeFi Markets" category of endpoints defined at docs.gomaestro.org.
Synopsis
- pricesFromDex ∷ MaestroEnv 'V1 → Dex → TaggedText PairOfDexTokens → Maybe Resolution → Maybe Day → Maybe Day → Maybe Word64 → Maybe Order → IO [OHLCCandleInfo]
- pairsFromDex ∷ MaestroEnv 'V1 → Dex → IO DexPairResponse
Documentation
∷ MaestroEnv 'V1 | |
→ Dex | Dex. |
→ TaggedText PairOfDexTokens | Pair. |
→ Maybe Resolution | Resolution. |
→ Maybe Day | From day. |
→ Maybe Day | To day. |
→ Maybe Word64 | Limit. Default value is |
→ Maybe Order | Order. |
→ IO [OHLCCandleInfo] |
Returns a list of OHLC formatted candles from the desired dex
pairsFromDex ∷ MaestroEnv 'V1 → Dex → IO DexPairResponse #
Returns a the list of pairs supported by the dex