@trajectonomics/cli 0.8.0-alpha.84 → 0.8.0-alpha.86
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +28 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -390,6 +390,34 @@ car 2026-12-01 2026-12-31 9.66 0.0
|
|
|
390
390
|
The figures are the engine's: `interest` is the residual of the month, so `opening + drawn − paid + interest`
|
|
391
391
|
equals `closing` exactly. Without `--liabilities` the output is unchanged.
|
|
392
392
|
|
|
393
|
+
### What a fee and a payout came to over the plan
|
|
394
|
+
|
|
395
|
+
> **Ships in 0.8.0.**
|
|
396
|
+
|
|
397
|
+
An asset Account can pay out a share of its value as income (`payout`) and be charged a yearly `fee`.
|
|
398
|
+
`traj projection run` states each one's total over the whole horizon, so nothing needs adding up: the
|
|
399
|
+
engine sums them in the same run as the roll-ups (it is the sum of the `payouts` and `fees` of every
|
|
400
|
+
roll-up). Two fields appear, and only when the Scenario declares the item above 0 bps (0 bps is none):
|
|
401
|
+
|
|
402
|
+
- `accountLifetimes`: one `{ account, lifetimeFees?, lifetimePayouts? }` per Account that declares a fee or a payout,
|
|
403
|
+
in Scenario order. `lifetimeFees` is there when the Account carries a fee, `lifetimePayouts` when it carries a
|
|
404
|
+
payout; each is `0.00` if the Account never charged or paid.
|
|
405
|
+
- `lifetimeFees`: the fees of all Accounts together, present only when an Account carries a fee.
|
|
406
|
+
|
|
407
|
+
Both are money as every figure is, a decimal string at the currency's scale (`--decimal` changes what you
|
|
408
|
+
write, not what is read). The human format prints the plan-wide fees on a line of their own, then each
|
|
409
|
+
Account's totals as a table, and `projection path` states the same fields for a Market path:
|
|
410
|
+
|
|
411
|
+
```
|
|
412
|
+
Fees over the plan, all accounts: 1514.01
|
|
413
|
+
|
|
414
|
+
accountLifetimes (1 row)
|
|
415
|
+
account lifetimeFees lifetimePayouts
|
|
416
|
+
fund 1514.01 4051.89
|
|
417
|
+
```
|
|
418
|
+
|
|
419
|
+
Without a fee or a payout the output is unchanged.
|
|
420
|
+
|
|
393
421
|
## Seeing it in a browser
|
|
394
422
|
|
|
395
423
|
`traj dashboard --as-of 2026-11-30 --horizon 2056-11-30` reads your ledger once and serves the Dashboard (net worth, the ledger, projections, the FI date, a Scenario compare, tax and health) on `http://127.0.0.1:4321/` until you press Ctrl-C. It only reads, it listens on this machine only, and it takes the same Scenario flags as the projection reads (`--scenario`, `--compare` twice, `--monthly`, `--carry-in`); `--port 0` picks a free port. Run it again to see new figures.
|