INNER CODE UNIT · Python
__init__
pe049395/IMC-Prosperity-2024 · submissions/round5.py:165
def __init__(self, product: str) -> None:
"""Initialize status object.
Args:
product (str): product
"""
self.product = product
@classmethod
def cls_update(cls, state: TradingState) -> None:
"""Update trading state.
Args:
state (TradingState): trading state
"""
# Update TradingState