dojo.market_agents.aaveV3

Uniswap market agents.

class HistoricReplayAgent(dojo.agents.base_agent.BaseAgent[typing.Any]):

Agent that replays all historic actions exactly.

HistoricReplayAgent( chain: dojo.common.Chain, block_range: tuple[int, int], name: str = 'MarketAgent')

Initialize the agent.

Parameters
  • chain: Agent is for a specific chain.
  • block_range: Range of blocks that this agent should be active on.
  • name: Name of the agent.
def reward(self, obs: Any) -> float:

Reward is not relevant for this agent.