bourse.step_sim.agents.random_agent.NumpyRandomAgents.update(rng: Generator, level_2_data: ndarray) → tuple[ndarray, ndarray, ndarray, ndarray, ndarray, ndarray] Update the agents, sampling new orders to place Parameters:¶ rng: Generator¶Numpy random generator. level_2_data: ndarray¶Level-2 market data Returns:¶ tuple – Tuple containing new order instructions