Amount Before Price

amount_before_price(threshold_price:decimal, amounts: list[decimal], prices: list[decimal], side: union["ask"|"bid") -> decimal|None

Example:

Last updated