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

Balance

The Balance structure in Origami Tech defines account assets, quantities, and valuation, essential for portfolio and strategy calculations.

Balance

Balance.available [decimal] amount for tokens available at the time of calculating grid

Balance.reserved [decimal] amount for tokens reserver (ex: orders already placed) at the time of calculating grid

Balance.total [decimal] amount of tokens on the account (Balance.available + Balance.reserved) at the time of calculating grid

Last updated