Order# class pams.Order(agent_id, market_id, is_buy, kind, volume, placed_at=None, price=None, order_id=None, ttl=None)[source]# Order class. check_system_acceptable(agent_id)[source]# check system acceptable. (Usually, markets automatically check it.) Parameters: agent_id (int) – agent ID. Return type: None Returns: None is_expired(time)[source]# get whether the order is expired or not. Parameters: time (int) – time to order expiration. Returns: whether the order is expired or not. Return type: bool