uniswap_v2_mock_client#

API documentation for tradingstrategy.testing.uniswap_v2_mock_client Python module in Trading Strategy.

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.