FinancialReport¶
- class scml.scml2020.FinancialReport(agent_id, step, cash, assets, breach_prob, breach_level, is_bankrupt, agent_name)[source]¶
Bases:
object
A report published periodically by the system showing the financial standing of an agent
Attributes Summary
Agent ID
Agent name for printing purposes
Value of the products in the agent's inventory @ catalog prices.
Sum of the agent's breach levels so far divided by the number of contracts it signed.
Number of times the agent breached a contract over the total number of contracts it signed.
Cash in the agent's wallet.
Whether the agent is already bankrupt (i.e.
Simulation step at the beginning of which the report was published.
Attributes Documentation
- breach_level: float¶
Sum of the agent’s breach levels so far divided by the number of contracts it signed.
- breach_prob: float¶
Number of times the agent breached a contract over the total number of contracts it signed.