create_pair_universe#

create_pair_universe(web3, exchange, pairs)[source]#

Creates a PairUniverse from on-chain test data.

A test trading universe.

Parameters:
  • web3 (Web3) – Web3 connection to the test backend

  • exchange (Optional[Exchange]) – Exchange under which pairs are assigned

  • pairs (List[TradingPairIdentifier]) – Trading pairs that will form this pair universe

Return type:

PandasPairUniverse