Expand description
Structs§
- Accounted
Booking Error - A
BookingErrorpaired with the account that produced it. - Booking
Result - Result of a booking operation.
- Inventory
- An inventory is a collection of positions.
Enums§
- Archived
Booking Method - An archived
BookingMethod - Booking
Error - Error that can occur during booking.
- Booking
Method - Booking method determines how lots are matched when reducing positions.
- Booking
Method Resolver - The resolver for an archived
BookingMethod - Reduction
Scope - Controls which positions are considered when checking whether incoming units reduce (i.e. have the opposite sign of) an existing inventory.
Functions§
- sum_
account_ and_ subaccounts - Sum the units of
currencyacrossaccountAND all of its sub-accounts, over a map of per-account inventories.