Skip to content

Commit

Permalink
Fixing invest_all
Browse files Browse the repository at this point in the history
  • Loading branch information
poliwop committed Jul 18, 2023
1 parent 3e548e5 commit 0820a66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hydradx/model/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def run(initial_state: GlobalState, time_steps: int, silent: bool = False) -> li
new_global_state.evolve()

# agent actions
agent_ids = deepcopy(new_global_state.agents.keys())
agent_ids = deepcopy(list(new_global_state.agents.keys()))
for agent_id in agent_ids:
agent = new_global_state.agents[agent_id]
if agent.trade_strategy:
Expand Down

0 comments on commit 0820a66

Please sign in to comment.