For the complete documentation index, see llms.txt. This page is also available as Markdown.

Amount Before Price

The Amount Before Price function in Origami Tech measures cumulative liquidity before a price level, useful for order book and slippage analysis.

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

Example:

Last updated