User Guide
API Reference
Item
Project
Bases: object
object
Item class. Generated by the environment.
See also
econsimulacra.envs.base.Environment._generate_items
item_id (int)
item_name (str)
config (dict[str, Any] | None)
Get the price of the item.
The price of the item.
float
Set the price of the item.
price (float) – The new price of the item.
set_by (int, optional) – The agent id who set the price. Defaults to None.
None