@trajectonomics/cli 0.8.0-alpha.0 → 0.8.0-alpha.1
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 +22 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -173,6 +173,28 @@ and where it came from, and one that starts on a period boundary needs nothing:
|
|
|
173
173
|
]
|
|
174
174
|
```
|
|
175
175
|
|
|
176
|
+
## Chance of success
|
|
177
|
+
|
|
178
|
+
> **Ships in 0.8.0.**
|
|
179
|
+
|
|
180
|
+
`traj projection chance` runs one Scenario over seeded Market paths and reports
|
|
181
|
+
the share that never run out before the Horizon, with the net-worth Bands at each
|
|
182
|
+
year. The paths draw from a Return model you state in a JSON file, with
|
|
183
|
+
`--return-model`, and `--paths` and `--seed` are required, so the same model,
|
|
184
|
+
seed and count always give the same answer. The CLI ships no Return model: which
|
|
185
|
+
market history a plan is tested against is your decision, and every figure is
|
|
186
|
+
only as good as that choice. `traj schema projection chance` describes the file.
|
|
187
|
+
|
|
188
|
+
## Money as decimals in a Scenario
|
|
189
|
+
|
|
190
|
+
> **Ships in 0.8.0.**
|
|
191
|
+
|
|
192
|
+
`traj scenario show base --decimal` prints a Scenario with each amount as a decimal string of the
|
|
193
|
+
Currency's major unit, such as `"1000.00"` for 100000 satang, and
|
|
194
|
+
`traj scenario apply base --file base.json --decimal` reads that form back. The stored plan is the
|
|
195
|
+
same either way: saving what `show --decimal` printed leaves it unchanged. A value with more places
|
|
196
|
+
than the Currency has is refused, never rounded.
|
|
197
|
+
|
|
176
198
|
## Seeing it in a browser
|
|
177
199
|
|
|
178
200
|
`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.
|