Cancel#

class pams.Cancel(order, placed_at=None)[source]#

Cancel order class.

property agent_id: int#

getter for agent ID.

Returns:

agent ID.

Return type:

int

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

property market_id: int#

getter for market ID.

Returns:

market ID.

Return type:

int