get_vault_for_pair#
API documentation for tradeexecutor.ethereum.vault.vault_routing.get_vault_for_pair Python function.
- get_vault_for_pair(web3, target_pair)[source]#
Get a cached Vault instance based on a trading pair.
Instance has a web3 connection object
- Parameters:
web3 (Web3) –
target_pair (TradingPairIdentifier) –
- Return type: