INNER CODE UNIT · Python
update_asks
pe049395/IMC-Prosperity-2024 · submissions/round5.py:335
def update_asks(self, prc: int, new_amt: int) -> None:
"""Update ask orders.
Args:
prc (int): price
new_amt (int): new amount
"""
self._cls_update_asks(self.product, prc, new_amt)
@property
def possible_buy_amt(self) -> int:
"""Return possible buy amount.
Returns:
int: possible buy amount
"""