fractal.loaders.thegraph.uniswap_v2 package
Submodules
fractal.loaders.thegraph.uniswap_v2.uniswap_v2_ethereum module
- class fractal.loaders.thegraph.uniswap_v2.uniswap_v2_ethereum.EthereumUniswapV2Loader(api_key: str, loader_type: LoaderType)[source]
Bases:
ArbitrumGraphLoader
Loader for Uniswap V2 Ethereum. The Graph: https://thegraph.com/explorer/subgraphs/EYCKATKGBKLWvSfwvBjzfCBmGwYNdVkduYXVivCsLRFu?view=Query&chain=arbitrum-one SUBGRAPH_ID = “EYCKATKGBKLWvSfwvBjzfCBmGwYNdVkduYXVivCsLRFu”
- SUBGRAPH_ID = 'EYCKATKGBKLWvSfwvBjzfCBmGwYNdVkduYXVivCsLRFu'
- loader_type: LoaderType
fractal.loaders.thegraph.uniswap_v2.uniswap_v2_pool module
- class fractal.loaders.thegraph.uniswap_v2.uniswap_v2_pool.EthereumUniswapV2PoolDataLoader(api_key: str, pool: str, fee_tier: float, loader_type: LoaderType)[source]
Bases:
EthereumUniswapV2Loader
Loader for Uniswap V2 PoolData
- read(with_run: bool = False) PoolHistory [source]
Module contents
- class fractal.loaders.thegraph.uniswap_v2.EthereumUniswapV2Loader(api_key: str, loader_type: LoaderType)[source]
Bases:
ArbitrumGraphLoader
Loader for Uniswap V2 Ethereum. The Graph: https://thegraph.com/explorer/subgraphs/EYCKATKGBKLWvSfwvBjzfCBmGwYNdVkduYXVivCsLRFu?view=Query&chain=arbitrum-one SUBGRAPH_ID = “EYCKATKGBKLWvSfwvBjzfCBmGwYNdVkduYXVivCsLRFu”
- SUBGRAPH_ID = 'EYCKATKGBKLWvSfwvBjzfCBmGwYNdVkduYXVivCsLRFu'
- loader_type: LoaderType
- class fractal.loaders.thegraph.uniswap_v2.EthereumUniswapV2PoolDataLoader(api_key: str, pool: str, fee_tier: float, loader_type: LoaderType)[source]
Bases:
EthereumUniswapV2Loader
Loader for Uniswap V2 PoolData
- read(with_run: bool = False) PoolHistory [source]