Skip to content
DP-ACCOUNTINGReviewed · 2026-11-19Desktop 1.8 · Companion 1.1.1Lire en français

Profitability and capital ​

Profit & capital separates three questions: what did I receive, which costs can I estimate, and what value remains tied up? Adding these numbers without respecting their meaning would misrepresent wealth or profit.

  1. 01Observed fact

    A TSM sale records 95s net

  2. 02Estimate

    An earlier observed cost of 60s

  3. 03Covered margin

    35s estimated on covered units

  4. 04Unknown

    Lost deposits and actual lot cost

Each stage describes data or human work, never an automatic transaction.

AH receipts are already net ​

Under D&P's import contract, TSM sale receipts already include the AH cut deduction. For a row with quantity q and unit price p, receipts are q × p. Subtracting 5% again would understate income.

Fictional example: two sold items each return 95s. The journal must show 1g 90s, not 1g 80s 50c. By contrast, an asking price for a future sale still needs conversion to potential net proceeds using the configured cut.

How costs are estimated ​

The current preference order is:

  1. A replacement cost observed before the sale and no more than 24 hours old at that moment.
  2. Otherwise, for a known recipe, weighted-average purchases of every reagent during the preceding 30 days, divided by recipe yield.
  3. Otherwise, unknown cost and no calculated margin for those units.

Replacement cost is observed again when it changes or at least an hour has elapsed, keeping at most 366 observations per item. It is never backdated to cover an earlier sale. Purchase averages remain proxies: they cannot prove which reagents actually went into that lot.

If 10 of 100 units have an estimated cost, the displayed margin covers only those 10 units. It is neither extrapolated to the other 90 nor presented as total profit. Lost deposits and recipe costs remain unknown. Coverage matters as much as the amount.

Windows and repeated imports ​

Profitability uses 30 days; restocking demand uses seven. The journal retains at most 20,000 recent events across 365 days per scope. Reducing the explorer lookback to one day must not remove evidence needed by these fixed-window calculations.

Imported events are deduplicated by their attributes, and grouped quantities advance only when the observed cumulative quantity grows. This prevents counting the same file again; it is not a bank-style reconciliation of all gameplay transactions.

Cash, quoted value and conservative value ​

Cash comes from the saved balance. Quoted inventory value multiplies quantity by an available exact asking price. Units without prices are counted separately. Conservative valuation uses the lower of the asking price after cut and a personal net-sale reference, or a regional reference when available. Those references can themselves be old: the total is not a guaranteed buyback offer.

Inventory age starts at its first continuous observation in D&P. An observed zero quantity resets it. This is neither acquisition date nor the age of each physical copy. Variants remain separate even when their artwork and base names look alike.

See data contracts for persistence and project status for measurement limits.

A local-first advisor. Estimates stay visible.