uniswap_v2_mock_client#

tradingstrategy.testing.uniswap_v2_mock_client Python module in Trading Strategy framework.

Module description#

Client implementation that only uses Uniswap v2 on-chain data to generate datasets.

Classes#

UniswapV2MockClient

A mock client that reads data from a single Uniswap v2 exchange directly from the chain.