bourse.step_sim.agents.base_agent.BaseAgent.update(rng: Generator, env: StepEnv)

Update the state of the agent and submit market instructions

Update function called at each step of the simulation, should update the state of the agents(s) and submit and instructions to the environment.

Parameters:
rng: Generator

Numpy random generator.

env: StepEnv

Discrete event simulation environment.