@gloom-sh/terminal 0.20.8 → 0.20.10

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.
Files changed (165) hide show
  1. package/package.json +1 -1
  2. package/src/api-client/auth.ts +6 -0
  3. package/src/api-client/data.ts +1 -0
  4. package/src/api-client/earnings.ts +15 -0
  5. package/src/api-client/futures-curve.ts +5 -1
  6. package/src/api-client/index.ts +14 -3
  7. package/src/api-client/types/account.ts +10 -0
  8. package/src/api-client/types/billing.ts +10 -0
  9. package/src/api-client/types/econ.ts +19 -7
  10. package/src/api-client/types/market.ts +7 -0
  11. package/src/api-client/types/screener.ts +2 -0
  12. package/src/cli/commands/market.ts +18 -8
  13. package/src/cli/commands/overview.ts +28 -7
  14. package/src/cli/commands/ticker.ts +40 -15
  15. package/src/cli/desktop-pane-shot.ts +39 -0
  16. package/src/cli/errors.ts +20 -3
  17. package/src/cli/fx-pair.ts +11 -2
  18. package/src/cli/history-rows.ts +34 -3
  19. package/src/cli/index.ts +1 -1
  20. package/src/cli/listing-arg.ts +51 -13
  21. package/src/cli/pane-functions/data.ts +3 -2
  22. package/src/cli/pane-functions/headless.ts +5 -2
  23. package/src/cli/pane-functions/index.ts +1 -0
  24. package/src/cli/pane-functions/resolver.ts +2 -1
  25. package/src/cli/pane-functions/screenshot-assessment.ts +73 -5
  26. package/src/cli/pane-functions/screenshot-types.ts +4 -0
  27. package/src/cli/symbol-cells.ts +6 -0
  28. package/src/cli/symbol-list.ts +14 -6
  29. package/src/cli/symbol-rows.ts +12 -5
  30. package/src/components/chart/composite/chart-layout.ts +7 -4
  31. package/src/components/chart/composite/composite-chart.tsx +6 -16
  32. package/src/components/chart/composite/toolbar.tsx +258 -82
  33. package/src/components/chart/composite/use-composite-chart-keyboard.ts +5 -6
  34. package/src/components/command-bar/list/model.ts +13 -0
  35. package/src/components/command-bar/routes/ticker-search/actions.ts +2 -0
  36. package/src/components/command-bar/routes/ticker-search/results.ts +15 -8
  37. package/src/components/command-bar/surface/index.tsx +10 -5
  38. package/src/components/command-bar/workflow/alert.ts +21 -7
  39. package/src/components/data-table/table-pane.ts +3 -1
  40. package/src/components/layout/pane/footer/model.ts +26 -1
  41. package/src/components/metric-treemap/heat-surface.tsx +2 -1
  42. package/src/components/metric-treemap/index.tsx +3 -2
  43. package/src/components/ui/confirm-dialog.tsx +253 -7
  44. package/src/components/ui/data-table/index.tsx +1 -1
  45. package/src/components/ui/data-table/types.ts +7 -0
  46. package/src/components/ui/list-view.tsx +4 -3
  47. package/src/components/ui/page-stack-view.tsx +24 -6
  48. package/src/components/ui/status.tsx +9 -6
  49. package/src/docs/snapshot.json +36 -0
  50. package/src/i18n/es.ts +12 -0
  51. package/src/i18n/ja.ts +12 -0
  52. package/src/i18n/ko.ts +12 -0
  53. package/src/i18n/zh-cn.ts +12 -0
  54. package/src/i18n/zh-tw.ts +12 -0
  55. package/src/market-data/futures-roll-returns.ts +226 -0
  56. package/src/market-data/fx-closes.ts +14 -2
  57. package/src/market-data/market/change-basis.ts +35 -1
  58. package/src/market-data/market/session-close-note.ts +41 -4
  59. package/src/market-data/market/status.ts +37 -0
  60. package/src/market-data/performance.ts +4 -1
  61. package/src/market-data/quotes/listing-enterprise-value.ts +8 -4
  62. package/src/market-data/quotes/live-valuation.ts +25 -2
  63. package/src/market-data/realized-volatility.ts +3 -0
  64. package/src/market-data/us-bond-market.ts +115 -0
  65. package/src/plugins/builtin/account-management/invite-row.tsx +54 -0
  66. package/src/plugins/builtin/account-management/keyboard.ts +3 -0
  67. package/src/plugins/builtin/account-management/model.ts +1 -0
  68. package/src/plugins/builtin/account-management/pane.tsx +51 -5
  69. package/src/plugins/builtin/account-management/trial-cancel.ts +32 -7
  70. package/src/plugins/builtin/backtest/client.ts +9 -2
  71. package/src/plugins/builtin/backtest/pane.tsx +1 -1
  72. package/src/plugins/builtin/backtest/report.ts +22 -6
  73. package/src/plugins/builtin/backtest/window.ts +17 -9
  74. package/src/plugins/builtin/cloud/askg/pane-session.ts +94 -0
  75. package/src/plugins/builtin/cloud/askg/pane.tsx +40 -83
  76. package/src/plugins/builtin/congress-trades/pane.tsx +8 -2
  77. package/src/plugins/builtin/correlation/compute.ts +4 -3
  78. package/src/plugins/builtin/correlation/headless.ts +6 -2
  79. package/src/plugins/builtin/correlation/index.tsx +7 -3
  80. package/src/plugins/builtin/correlation/matrix/model.ts +15 -1
  81. package/src/plugins/builtin/correlation/relationship/model.ts +15 -1
  82. package/src/plugins/builtin/correlation/relationship/pane.tsx +4 -2
  83. package/src/plugins/builtin/earnings/board-model.ts +33 -0
  84. package/src/plugins/builtin/earnings/board-table.ts +50 -11
  85. package/src/plugins/builtin/earnings/board.tsx +29 -13
  86. package/src/plugins/builtin/earnings/calendar.tsx +15 -3
  87. package/src/plugins/builtin/earnings/client.ts +4 -1
  88. package/src/plugins/builtin/earnings/headless.ts +27 -14
  89. package/src/plugins/builtin/econ/calendar-source.ts +3 -0
  90. package/src/plugins/builtin/futures-curve/headless.ts +4 -1
  91. package/src/plugins/builtin/futures-curve/model.ts +24 -0
  92. package/src/plugins/builtin/help/index.tsx +1 -1
  93. package/src/plugins/builtin/ipo-calendar/model.ts +3 -3
  94. package/src/plugins/builtin/iv-history/headless.ts +12 -10
  95. package/src/plugins/builtin/kelly-sizer/headless.ts +2 -2
  96. package/src/plugins/builtin/kelly-sizer/history.ts +10 -3
  97. package/src/plugins/builtin/kelly-sizer/pane.tsx +2 -2
  98. package/src/plugins/builtin/kelly-sizer/sections.tsx +1 -1
  99. package/src/plugins/builtin/macro-day/headless.ts +15 -5
  100. package/src/plugins/builtin/macro-day/model.ts +17 -4
  101. package/src/plugins/builtin/macro-day/releases.ts +36 -15
  102. package/src/plugins/builtin/market-halts/model.ts +3 -2
  103. package/src/plugins/builtin/market-movers/headless.ts +2 -1
  104. package/src/plugins/builtin/market-movers/index.tsx +3 -2
  105. package/src/plugins/builtin/market-movers/model.ts +75 -22
  106. package/src/plugins/builtin/market-movers/screener.ts +2 -1
  107. package/src/plugins/builtin/market-movers/table.ts +7 -5
  108. package/src/plugins/builtin/pe-band/model.ts +4 -0
  109. package/src/plugins/builtin/portfolio-list/cell-version.ts +4 -4
  110. package/src/plugins/builtin/portfolio-list/cli/render.ts +9 -4
  111. package/src/plugins/builtin/portfolio-list/pane/index.tsx +2 -1
  112. package/src/plugins/builtin/portfolio-list/summary/index.tsx +24 -7
  113. package/src/plugins/builtin/portfolio-list/summary/totals.ts +40 -11
  114. package/src/plugins/builtin/portfolio-list/table.tsx +13 -1
  115. package/src/plugins/builtin/realized-vol/headless.ts +11 -6
  116. package/src/plugins/builtin/realized-vol/model.ts +14 -6
  117. package/src/plugins/builtin/realized-vol/pane.tsx +2 -1
  118. package/src/plugins/builtin/realized-vol/settings.ts +2 -1
  119. package/src/plugins/builtin/research/analyst-headless.ts +9 -1
  120. package/src/plugins/builtin/research/analyst-pane.tsx +10 -4
  121. package/src/plugins/builtin/research/client.ts +25 -1
  122. package/src/plugins/builtin/research/corporate-actions-pane.tsx +2 -1
  123. package/src/plugins/builtin/research/event-model.ts +3 -13
  124. package/src/plugins/builtin/research/event-sources.ts +3 -1
  125. package/src/plugins/builtin/seasonality/client.ts +66 -17
  126. package/src/plugins/builtin/seasonality/headless.ts +7 -2
  127. package/src/plugins/builtin/seasonality/model.ts +12 -3
  128. package/src/plugins/builtin/seasonality/pane.tsx +4 -2
  129. package/src/plugins/builtin/shared/use-quote-board.ts +28 -6
  130. package/src/plugins/builtin/short-interest/headless.ts +2 -0
  131. package/src/plugins/builtin/short-interest/publications-headless.ts +2 -0
  132. package/src/plugins/builtin/short-interest/watch-headless.ts +1 -0
  133. package/src/plugins/builtin/yield-curve/headless.ts +5 -1
  134. package/src/plugins/builtin/yield-curve/index.tsx +5 -0
  135. package/src/portfolio/column-values.ts +47 -14
  136. package/src/portfolio/return-metrics.ts +4 -2
  137. package/src/renderers/dom/desktop/controls.tsx +1 -1
  138. package/src/renderers/dom/host/image-surface.tsx +19 -9
  139. package/src/renderers/dom/host/input.tsx +4 -0
  140. package/src/renderers/dom/styles.css +7 -4
  141. package/src/renderers/electrobun/view/cli-pane-shot-entry.tsx +23 -1
  142. package/src/renderers/opentui/box-width.ts +30 -0
  143. package/src/sources/gloomberb-cloud/normalizers.ts +2 -0
  144. package/src/sources/provider-errors.ts +12 -0
  145. package/src/sources/provider-router/index.ts +12 -4
  146. package/src/state/pane-session.ts +145 -0
  147. package/src/tickers/search/home-listing.ts +44 -1
  148. package/src/tickers/search/index.ts +5 -2
  149. package/src/tickers/search/ranking.ts +7 -7
  150. package/src/tickers/us-listing.ts +11 -5
  151. package/src/time-series/base-series.ts +7 -1
  152. package/src/time-series/fundamentals/current-valuation.ts +8 -0
  153. package/src/time-series/fundamentals/series.ts +6 -0
  154. package/src/time-series/resolve.ts +1 -0
  155. package/src/types/financials.ts +36 -3
  156. package/src/types/headless.ts +15 -0
  157. package/src/ui/host.tsx +2 -0
  158. package/src/utils/exchanges.ts +13 -8
  159. package/src/utils/fundamentals.ts +49 -8
  160. package/src/utils/price-earnings.ts +17 -10
  161. package/src/utils/price-history-integrity.ts +15 -0
  162. package/src/utils/reason-codes.ts +79 -0
  163. package/src/utils/share-multiples.cases.json +889 -0
  164. package/src/utils/share-multiples.ts +254 -0
  165. package/src/utils/untrusted-text.ts +11 -0
@@ -0,0 +1,889 @@
1
+ {
2
+ "about": "Listings priced as valuation prices them and as the screener's server projects them, from the same payloads: each gets the same trailing P/E, or none for the same reason. The server reads these cases too; the two copies are kept identical. `served` is what the service adds to a stored payload when it serves it; `universe` is the company universe's large companies with their home lines.",
3
+ "now": "2026-11-12T07:00:00Z",
4
+ "universe": [
5
+ {
6
+ "symbol": "AMD",
7
+ "exchange": "NASDAQ",
8
+ "name": "ADVANCED MICRO DEVICES INC",
9
+ "issuer": "cik:2488",
10
+ "primary": true,
11
+ "marketCapUsd": 300000000000.0
12
+ },
13
+ {
14
+ "symbol": "MC",
15
+ "exchange": "EPA",
16
+ "name": "LVMH",
17
+ "issuer": "isin:FR0000121014",
18
+ "primary": true,
19
+ "marketCapUsd": 300000000000.0
20
+ },
21
+ {
22
+ "symbol": "BAM",
23
+ "exchange": "NYSE",
24
+ "name": "Brookfield Asset Management Ltd.",
25
+ "issuer": "cik:1937926",
26
+ "primary": true,
27
+ "marketCapUsd": 90000000000.0
28
+ },
29
+ {
30
+ "symbol": "BAM",
31
+ "exchange": "TSX",
32
+ "name": "Brookfield Asset Management Ltd.",
33
+ "issuer": "cik:1937926",
34
+ "primary": false,
35
+ "marketCapUsd": 90000000000.0
36
+ },
37
+ {
38
+ "symbol": "TD",
39
+ "exchange": "TSX",
40
+ "name": "The Toronto-Dominion Bank",
41
+ "issuer": "cik:947263",
42
+ "primary": true,
43
+ "marketCapUsd": 150000000000.0
44
+ },
45
+ {
46
+ "symbol": "TD",
47
+ "exchange": "NYSE",
48
+ "name": "TORONTO DOMINION BANK",
49
+ "issuer": "cik:947263",
50
+ "primary": false,
51
+ "marketCapUsd": 150000000000.0
52
+ },
53
+ {
54
+ "symbol": "XAU",
55
+ "exchange": "TSX",
56
+ "name": "GoldMoney Inc.",
57
+ "issuer": "listing:XAU:TSX",
58
+ "primary": true,
59
+ "marketCapUsd": 110000000.0
60
+ }
61
+ ],
62
+ "cases": [
63
+ {
64
+ "name": "TDK withheld its quarter to 2025-12-31: no four quarters, so the source's EPS stands",
65
+ "symbol": "6762",
66
+ "exchange": "JPX",
67
+ "quote": {
68
+ "price": 2337,
69
+ "currency": "JPY",
70
+ "name": "TDK Corporation"
71
+ },
72
+ "fundamentals": {
73
+ "eps": 195.79,
74
+ "trailingPE": 11.936258235864958,
75
+ "marketCapCurrency": "JPY",
76
+ "financialCurrency": "JPY",
77
+ "netIncome": 260677992448,
78
+ "sharesOutstanding": 1898154125
79
+ },
80
+ "quarterlyStatements": [
81
+ {
82
+ "date": "2025-06-30",
83
+ "currency": "JPY",
84
+ "eps": 21.82
85
+ },
86
+ {
87
+ "date": "2025-09-30",
88
+ "currency": "JPY",
89
+ "eps": 36.85
90
+ },
91
+ {
92
+ "date": "2025-12-31",
93
+ "currency": "JPY",
94
+ "unavailableEarnings": [
95
+ "basicEps",
96
+ "eps"
97
+ ]
98
+ },
99
+ {
100
+ "date": "2026-03-31",
101
+ "currency": "JPY",
102
+ "eps": 7.62
103
+ },
104
+ {
105
+ "date": "2026-06-30",
106
+ "currency": "JPY",
107
+ "eps": 42.4
108
+ },
109
+ {
110
+ "date": "2026-09-30",
111
+ "currency": "JPY",
112
+ "eps": 50.49
113
+ }
114
+ ],
115
+ "annualStatements": [
116
+ {
117
+ "date": "2025-03-31",
118
+ "currency": "JPY",
119
+ "eps": 87.98
120
+ },
121
+ {
122
+ "date": "2026-03-31",
123
+ "currency": "JPY",
124
+ "eps": 102.97
125
+ }
126
+ ],
127
+ "expect": {
128
+ "trailingPE": 11.936258235864958
129
+ }
130
+ },
131
+ {
132
+ "name": "TDK with that quarter filed: the last four quarters",
133
+ "symbol": "6762",
134
+ "exchange": "JPX",
135
+ "quote": {
136
+ "price": 2337,
137
+ "currency": "JPY",
138
+ "name": "TDK Corporation"
139
+ },
140
+ "fundamentals": {
141
+ "eps": 195.79,
142
+ "trailingPE": 11.936258235864958,
143
+ "marketCapCurrency": "JPY",
144
+ "financialCurrency": "JPY",
145
+ "netIncome": 260677992448,
146
+ "sharesOutstanding": 1898154125
147
+ },
148
+ "quarterlyStatements": [
149
+ {
150
+ "date": "2025-06-30",
151
+ "currency": "JPY",
152
+ "eps": 21.82
153
+ },
154
+ {
155
+ "date": "2025-09-30",
156
+ "currency": "JPY",
157
+ "eps": 36.85
158
+ },
159
+ {
160
+ "date": "2025-12-31",
161
+ "currency": "JPY",
162
+ "eps": 38.0
163
+ },
164
+ {
165
+ "date": "2026-03-31",
166
+ "currency": "JPY",
167
+ "eps": 7.62
168
+ },
169
+ {
170
+ "date": "2026-06-30",
171
+ "currency": "JPY",
172
+ "eps": 42.4
173
+ },
174
+ {
175
+ "date": "2026-09-30",
176
+ "currency": "JPY",
177
+ "eps": 50.49
178
+ }
179
+ ],
180
+ "annualStatements": [
181
+ {
182
+ "date": "2025-03-31",
183
+ "currency": "JPY",
184
+ "eps": 87.98
185
+ },
186
+ {
187
+ "date": "2026-03-31",
188
+ "currency": "JPY",
189
+ "eps": 102.97
190
+ }
191
+ ],
192
+ "expect": {
193
+ "trailingPE": 16.872427983539097
194
+ }
195
+ },
196
+ {
197
+ "name": "PAN reports in dollars and is quoted in rand: its EPS is not judged against dollar net income",
198
+ "symbol": "PAN",
199
+ "exchange": "JSE",
200
+ "quote": {
201
+ "price": 23.59,
202
+ "currency": "ZAR",
203
+ "name": "Pan African Resources PLC"
204
+ },
205
+ "fundamentals": {
206
+ "eps": 2.98,
207
+ "trailingPE": 7.916107382550336,
208
+ "netIncome": 141597000,
209
+ "sharesOutstanding": 2027313471,
210
+ "marketCapCurrency": "ZAR"
211
+ },
212
+ "financialCurrency": "USD",
213
+ "annualStatements": [
214
+ {
215
+ "date": "2025-06-30",
216
+ "currency": "USD",
217
+ "eps": 0.0716,
218
+ "netIncome": 141597000
219
+ },
220
+ {
221
+ "date": "2026-06-30",
222
+ "currency": "USD",
223
+ "eps": 0.176,
224
+ "netIncome": 357215000
225
+ }
226
+ ],
227
+ "expect": {
228
+ "trailingPE": 7.916107382550336
229
+ }
230
+ },
231
+ {
232
+ "name": "U.UN divides a CAD price by a USD EPS, and no rate is on record",
233
+ "symbol": "U.UN",
234
+ "exchange": "TSX",
235
+ "quote": {
236
+ "price": 26.47,
237
+ "currency": "CAD",
238
+ "name": "Sprott Physical Uranium Trust Fund"
239
+ },
240
+ "fundamentals": {
241
+ "eps": 1.64,
242
+ "trailingPE": 16.140243902439025,
243
+ "netIncome": 538400000,
244
+ "sharesOutstanding": 344156215,
245
+ "marketCapCurrency": "CAD"
246
+ },
247
+ "financialCurrency": "USD",
248
+ "annualStatements": [
249
+ {
250
+ "date": "2024-12-31",
251
+ "currency": "USD",
252
+ "eps": -4.61,
253
+ "netIncome": -1220326000
254
+ },
255
+ {
256
+ "date": "2025-12-31",
257
+ "currency": "USD",
258
+ "eps": 1.9,
259
+ "netIncome": 538400000
260
+ }
261
+ ],
262
+ "expect": {
263
+ "trailingPE": null,
264
+ "because": "in USD beside a price in CAD, with no rate on record"
265
+ }
266
+ },
267
+ {
268
+ "name": "AMD on the TSX is a receipt on a company whose home line is on Nasdaq",
269
+ "symbol": "AMD",
270
+ "exchange": "TSX",
271
+ "quote": {
272
+ "price": 14.23,
273
+ "currency": "CAD",
274
+ "name": "Advanced Micro Devices, Inc."
275
+ },
276
+ "fundamentals": {
277
+ "eps": 0.83,
278
+ "trailingPE": 17.144578313253014,
279
+ "forwardEps": 1.2,
280
+ "forwardPE": 11.858333333333334,
281
+ "marketCapCurrency": "CAD"
282
+ },
283
+ "profile": {
284
+ "country": "US"
285
+ },
286
+ "served": {
287
+ "isDepositaryReceipt": true
288
+ },
289
+ "expect": {
290
+ "trailingPE": null,
291
+ "forwardPE": null,
292
+ "because": "depositary receipt with no ratio on record"
293
+ }
294
+ },
295
+ {
296
+ "name": "LV on Cboe Canada is LVMH's receipt, its home line in Paris",
297
+ "symbol": "LV",
298
+ "exchange": "NEO",
299
+ "quote": {
300
+ "price": 8.99,
301
+ "currency": "CAD",
302
+ "name": "LVMH Moët Hennessy - Louis Vuitton, Société Européenne"
303
+ },
304
+ "fundamentals": {
305
+ "eps": 35.38,
306
+ "trailingPE": 0.2540983606557377,
307
+ "marketCapCurrency": "CAD"
308
+ },
309
+ "profile": {
310
+ "country": "FR"
311
+ },
312
+ "served": {
313
+ "isDepositaryReceipt": true
314
+ },
315
+ "expect": {
316
+ "trailingPE": null,
317
+ "because": "depositary receipt with no ratio on record"
318
+ }
319
+ },
320
+ {
321
+ "name": "XAU on the TSX is Goldmoney's own main line, wherever the company is from",
322
+ "symbol": "XAU",
323
+ "exchange": "TSX",
324
+ "quote": {
325
+ "price": 11.85,
326
+ "currency": "CAD",
327
+ "name": "Goldmoney Inc."
328
+ },
329
+ "fundamentals": {
330
+ "eps": 4.31,
331
+ "trailingPE": 2.7494199535962878,
332
+ "marketCapCurrency": "CAD"
333
+ },
334
+ "profile": {
335
+ "country": "VG"
336
+ },
337
+ "expect": {
338
+ "trailingPE": 2.7494199535962878
339
+ }
340
+ },
341
+ {
342
+ "name": "BAM on the TSX is the same shares as its NYSE home line",
343
+ "symbol": "BAM",
344
+ "exchange": "TSX",
345
+ "quote": {
346
+ "price": 74.87,
347
+ "currency": "CAD",
348
+ "name": "Brookfield Asset Management Ltd."
349
+ },
350
+ "fundamentals": {
351
+ "eps": 4.09,
352
+ "trailingPE": 18.305623471882644,
353
+ "marketCapCurrency": "CAD"
354
+ },
355
+ "profile": {
356
+ "country": "US"
357
+ },
358
+ "expect": {
359
+ "trailingPE": 18.305623471882644
360
+ }
361
+ },
362
+ {
363
+ "name": "TD on Cboe Canada is a Canadian company's line",
364
+ "symbol": "TD",
365
+ "exchange": "NEO",
366
+ "quote": {
367
+ "price": 177.06,
368
+ "currency": "CAD",
369
+ "name": "The Toronto-Dominion Bank"
370
+ },
371
+ "fundamentals": {
372
+ "eps": 9.34,
373
+ "trailingPE": 18.957173447537475,
374
+ "marketCapCurrency": "CAD"
375
+ },
376
+ "profile": {
377
+ "country": "CA"
378
+ },
379
+ "expect": {
380
+ "trailingPE": 18.957173447537475
381
+ }
382
+ },
383
+ {
384
+ "name": "Glass House's main line is on Cboe Canada, though the company is American",
385
+ "symbol": "GLAS.A.U",
386
+ "exchange": "NEO",
387
+ "quote": {
388
+ "price": 9.5,
389
+ "currency": "USD",
390
+ "name": "Glass House Brands Inc."
391
+ },
392
+ "fundamentals": {
393
+ "eps": 0.5,
394
+ "trailingPE": 19,
395
+ "marketCapCurrency": "USD"
396
+ },
397
+ "profile": {
398
+ "country": "US"
399
+ },
400
+ "expect": {
401
+ "trailingPE": 19
402
+ }
403
+ },
404
+ {
405
+ "name": "BZFDW is a warrant, so neither P/E is one",
406
+ "symbol": "BZFDW",
407
+ "exchange": "NASDAQ",
408
+ "quote": {
409
+ "price": 0.0054,
410
+ "currency": "USD",
411
+ "name": "BuzzFeed, Inc. - Warrant"
412
+ },
413
+ "fundamentals": {
414
+ "eps": 0.165,
415
+ "trailingPE": 0.03272727272727273,
416
+ "forwardEps": 0.2,
417
+ "forwardPE": 0.027,
418
+ "marketCapCurrency": "USD"
419
+ },
420
+ "expect": {
421
+ "trailingPE": null,
422
+ "forwardPE": null,
423
+ "because": "warrant is not the share"
424
+ }
425
+ },
426
+ {
427
+ "name": "A subscription right, by its name",
428
+ "symbol": "LGVNR",
429
+ "exchange": "NASDAQ",
430
+ "quote": {
431
+ "price": 0.12,
432
+ "currency": "USD",
433
+ "name": "Longeveron Inc. Subscription Right"
434
+ },
435
+ "fundamentals": {
436
+ "eps": 0.4,
437
+ "trailingPE": 0.3,
438
+ "marketCapCurrency": "USD"
439
+ },
440
+ "expect": {
441
+ "trailingPE": null,
442
+ "because": "right is not the share"
443
+ }
444
+ },
445
+ {
446
+ "name": "NYSE's .WS is a warrant",
447
+ "symbol": "NWAX.WS",
448
+ "exchange": "NYSE",
449
+ "quote": {
450
+ "price": 0.5,
451
+ "currency": "USD",
452
+ "name": "Nwax Corp"
453
+ },
454
+ "fundamentals": {
455
+ "eps": 1,
456
+ "trailingPE": 0.5,
457
+ "marketCapCurrency": "USD"
458
+ },
459
+ "expect": {
460
+ "trailingPE": null,
461
+ "because": "warrant is not the share"
462
+ }
463
+ },
464
+ {
465
+ "name": "NYSE's .RT is a right",
466
+ "symbol": "ABCD.RT",
467
+ "exchange": "NYSE",
468
+ "quote": {
469
+ "price": 0.2,
470
+ "currency": "USD",
471
+ "name": "Abcd Corp"
472
+ },
473
+ "fundamentals": {
474
+ "eps": 1,
475
+ "trailingPE": 0.2,
476
+ "marketCapCurrency": "USD"
477
+ },
478
+ "expect": {
479
+ "trailingPE": null,
480
+ "because": "right is not the share"
481
+ }
482
+ },
483
+ {
484
+ "name": "SET's -W is a warrant",
485
+ "symbol": "JMART-W4",
486
+ "exchange": "SET",
487
+ "quote": {
488
+ "price": 0.3,
489
+ "currency": "THB",
490
+ "name": "Jay Mart Public Company Limited"
491
+ },
492
+ "fundamentals": {
493
+ "eps": 0.6,
494
+ "trailingPE": 0.5,
495
+ "marketCapCurrency": "THB"
496
+ },
497
+ "profile": {
498
+ "country": "TH"
499
+ },
500
+ "expect": {
501
+ "trailingPE": null,
502
+ "because": "warrant is not the share"
503
+ }
504
+ },
505
+ {
506
+ "name": "A blank-check company's units, by its name, on any venue",
507
+ "symbol": "ACQ.UN",
508
+ "exchange": "TSX",
509
+ "quote": {
510
+ "price": 10.1,
511
+ "currency": "CAD",
512
+ "name": "Maple Leaf Acquisition Corp. - Class A Restricted Voting Units"
513
+ },
514
+ "fundamentals": {
515
+ "eps": 0.4,
516
+ "trailingPE": 25.25,
517
+ "marketCapCurrency": "CAD"
518
+ },
519
+ "expect": {
520
+ "trailingPE": null,
521
+ "because": "unit is not the share"
522
+ }
523
+ },
524
+ {
525
+ "name": "A REIT's units on the TSX are its share",
526
+ "symbol": "CHP.UN",
527
+ "exchange": "TSX",
528
+ "quote": {
529
+ "price": 14.5,
530
+ "currency": "CAD",
531
+ "name": "Choice Properties Real Estate Investment Trust - REIT Units"
532
+ },
533
+ "fundamentals": {
534
+ "eps": 1.45,
535
+ "trailingPE": 10,
536
+ "marketCapCurrency": "CAD"
537
+ },
538
+ "expect": {
539
+ "trailingPE": 10
540
+ }
541
+ },
542
+ {
543
+ "name": "An income fund's units are its share",
544
+ "symbol": "BLX.UN",
545
+ "exchange": "TSX",
546
+ "quote": {
547
+ "price": 30,
548
+ "currency": "CAD",
549
+ "name": "Boralex Income Fund - Units"
550
+ },
551
+ "fundamentals": {
552
+ "eps": 2,
553
+ "trailingPE": 15,
554
+ "marketCapCurrency": "CAD"
555
+ },
556
+ "expect": {
557
+ "trailingPE": 15
558
+ }
559
+ },
560
+ {
561
+ "name": "Depositary units are the partnership's share",
562
+ "symbol": "IEP",
563
+ "exchange": "NASDAQ",
564
+ "quote": {
565
+ "price": 9,
566
+ "currency": "USD",
567
+ "name": "Icahn Enterprises L.P. - Depositary Units"
568
+ },
569
+ "fundamentals": {
570
+ "eps": 0.9,
571
+ "trailingPE": 10,
572
+ "marketCapCurrency": "USD"
573
+ },
574
+ "expect": {
575
+ "trailingPE": 10
576
+ }
577
+ },
578
+ {
579
+ "name": "A unit by its name alone is not one outside the US",
580
+ "symbol": "MRES.U",
581
+ "exchange": "TSX",
582
+ "quote": {
583
+ "price": 5,
584
+ "currency": "USD",
585
+ "name": "Maple Residential - Units"
586
+ },
587
+ "fundamentals": {
588
+ "eps": 0.5,
589
+ "trailingPE": 10,
590
+ "marketCapCurrency": "USD"
591
+ },
592
+ "expect": {
593
+ "trailingPE": 10
594
+ }
595
+ },
596
+ {
597
+ "name": "PSA.PR.U is a preferred, not a unit",
598
+ "symbol": "PSA.PR.U",
599
+ "exchange": "NYSE",
600
+ "quote": {
601
+ "price": 20,
602
+ "currency": "USD",
603
+ "name": "Public Storage Preferred Series U"
604
+ },
605
+ "fundamentals": {
606
+ "eps": 2,
607
+ "trailingPE": 10,
608
+ "marketCapCurrency": "USD"
609
+ },
610
+ "expect": {
611
+ "trailingPE": 10
612
+ }
613
+ },
614
+ {
615
+ "name": "STKH's EPS has the other sign than its net income over its shares",
616
+ "symbol": "STKH",
617
+ "exchange": "NASDAQ",
618
+ "quote": {
619
+ "price": 2.36,
620
+ "currency": "USD",
621
+ "name": "Steakholder Foods Ltd."
622
+ },
623
+ "fundamentals": {
624
+ "eps": 96,
625
+ "trailingPE": 0.024583333333333332,
626
+ "netIncome": -7010000,
627
+ "sharesOutstanding": 605876,
628
+ "marketCapCurrency": "USD"
629
+ },
630
+ "expect": {
631
+ "trailingPE": null,
632
+ "because": "has the other sign than trailing net income over shares outstanding (-11.57)"
633
+ }
634
+ },
635
+ {
636
+ "name": "An EPS ten times its net income over its shares is another count",
637
+ "symbol": "APRT",
638
+ "exchange": "NYSE",
639
+ "quote": {
640
+ "price": 30,
641
+ "currency": "USD",
642
+ "name": "Apart Corp"
643
+ },
644
+ "fundamentals": {
645
+ "eps": 25,
646
+ "trailingPE": 1.2,
647
+ "netIncome": 2000000,
648
+ "sharesOutstanding": 1000000,
649
+ "marketCapCurrency": "USD"
650
+ },
651
+ "expect": {
652
+ "trailingPE": null,
653
+ "because": "is more than 10 times off trailing net income over shares outstanding (2.00)"
654
+ }
655
+ },
656
+ {
657
+ "name": "Figures below a cent read in two significant digits",
658
+ "symbol": "BZT",
659
+ "exchange": "LSE",
660
+ "quote": {
661
+ "price": 0.12,
662
+ "currency": "GBp",
663
+ "name": "Bezant Resources Plc"
664
+ },
665
+ "fundamentals": {
666
+ "eps": 8.9e-05,
667
+ "trailingPE": 13.48314606741573,
668
+ "netIncome": -4257000,
669
+ "sharesOutstanding": 22932525573,
670
+ "marketCapCurrency": "GBP"
671
+ },
672
+ "expect": {
673
+ "trailingPE": null,
674
+ "because": "0.000089 has the other sign than trailing net income over shares outstanding (-0.00019)"
675
+ }
676
+ },
677
+ {
678
+ "name": "A receipt's EPS is not judged against its count, which can be ordinary shares",
679
+ "symbol": "RCPT",
680
+ "exchange": "NYSE",
681
+ "quote": {
682
+ "price": 30,
683
+ "currency": "USD",
684
+ "name": "Receipt Holdings",
685
+ "isDepositaryReceipt": true,
686
+ "adrRatio": 10
687
+ },
688
+ "fundamentals": {
689
+ "eps": 25,
690
+ "trailingPE": 1.2,
691
+ "netIncome": 2000000,
692
+ "sharesOutstanding": 1000000,
693
+ "marketCapCurrency": "USD",
694
+ "isDepositaryReceipt": true,
695
+ "adrRatio": 10
696
+ },
697
+ "expect": {
698
+ "trailingPE": 1.2
699
+ }
700
+ },
701
+ {
702
+ "name": "SNBN's 577,618 CHF a share is its own, and 0.01x its P/E",
703
+ "symbol": "SNBN",
704
+ "exchange": "SWX",
705
+ "quote": {
706
+ "price": 3090,
707
+ "currency": "CHF",
708
+ "name": "Schweizerische Nationalbank"
709
+ },
710
+ "fundamentals": {
711
+ "eps": 577618,
712
+ "trailingPE": 0.005349556281140823,
713
+ "netIncome": 57761800192,
714
+ "sharesOutstanding": 100000,
715
+ "marketCapCurrency": "CHF"
716
+ },
717
+ "expect": {
718
+ "trailingPE": 0.005349556281140823
719
+ }
720
+ },
721
+ {
722
+ "name": "Quarters to a period over 487 days old leave the source's EPS",
723
+ "symbol": "OLDQ",
724
+ "exchange": "NYSE",
725
+ "quote": {
726
+ "price": 50,
727
+ "currency": "USD",
728
+ "name": "Old Quarters Inc."
729
+ },
730
+ "fundamentals": {
731
+ "eps": 2.5,
732
+ "trailingPE": 20,
733
+ "marketCapCurrency": "USD"
734
+ },
735
+ "quarterlyStatements": [
736
+ {
737
+ "date": "2024-06-30",
738
+ "currency": "USD",
739
+ "eps": 0.55
740
+ },
741
+ {
742
+ "date": "2024-09-30",
743
+ "currency": "USD",
744
+ "eps": 0.55
745
+ },
746
+ {
747
+ "date": "2024-12-31",
748
+ "currency": "USD",
749
+ "eps": 0.55
750
+ },
751
+ {
752
+ "date": "2025-03-31",
753
+ "currency": "USD",
754
+ "eps": 0.55
755
+ }
756
+ ],
757
+ "expect": {
758
+ "trailingPE": 20
759
+ }
760
+ },
761
+ {
762
+ "name": "Recent quarters give the EPS",
763
+ "symbol": "NEWQ",
764
+ "exchange": "NYSE",
765
+ "quote": {
766
+ "price": 50,
767
+ "currency": "USD",
768
+ "name": "New Quarters Inc."
769
+ },
770
+ "fundamentals": {
771
+ "eps": 2.5,
772
+ "trailingPE": 20,
773
+ "marketCapCurrency": "USD"
774
+ },
775
+ "quarterlyStatements": [
776
+ {
777
+ "date": "2025-12-31",
778
+ "currency": "USD",
779
+ "eps": 0.55
780
+ },
781
+ {
782
+ "date": "2026-03-31",
783
+ "currency": "USD",
784
+ "eps": 0.55
785
+ },
786
+ {
787
+ "date": "2026-06-30",
788
+ "currency": "USD",
789
+ "eps": 0.55
790
+ },
791
+ {
792
+ "date": "2026-09-30",
793
+ "currency": "USD",
794
+ "eps": 0.55
795
+ }
796
+ ],
797
+ "expect": {
798
+ "trailingPE": 22.727272727272727
799
+ }
800
+ },
801
+ {
802
+ "name": "A split gone ex after the quarters were filed leaves the source's EPS",
803
+ "symbol": "SPLT",
804
+ "exchange": "NYSE",
805
+ "quote": {
806
+ "price": 50,
807
+ "currency": "USD",
808
+ "name": "Split Inc."
809
+ },
810
+ "fundamentals": {
811
+ "eps": 2.5,
812
+ "trailingPE": 20,
813
+ "marketCapCurrency": "USD",
814
+ "splitShareBasis": {
815
+ "exDate": "2026-11-02"
816
+ }
817
+ },
818
+ "quarterlyStatements": [
819
+ {
820
+ "date": "2025-12-31",
821
+ "currency": "USD",
822
+ "eps": 0.55,
823
+ "availableAt": "2026-10-28"
824
+ },
825
+ {
826
+ "date": "2026-03-31",
827
+ "currency": "USD",
828
+ "eps": 0.55,
829
+ "availableAt": "2026-10-28"
830
+ },
831
+ {
832
+ "date": "2026-06-30",
833
+ "currency": "USD",
834
+ "eps": 0.55,
835
+ "availableAt": "2026-10-28"
836
+ },
837
+ {
838
+ "date": "2026-09-30",
839
+ "currency": "USD",
840
+ "eps": 0.55,
841
+ "availableAt": "2026-10-28"
842
+ }
843
+ ],
844
+ "expect": {
845
+ "trailingPE": 20
846
+ }
847
+ },
848
+ {
849
+ "name": "A price in pence leaves the source's EPS, as valuation does",
850
+ "symbol": "MINQ",
851
+ "exchange": "LSE",
852
+ "quote": {
853
+ "price": 250,
854
+ "currency": "GBp",
855
+ "name": "Minor Unit plc"
856
+ },
857
+ "fundamentals": {
858
+ "eps": 0.2,
859
+ "trailingPE": 12.5,
860
+ "marketCapCurrency": "GBP"
861
+ },
862
+ "quarterlyStatements": [
863
+ {
864
+ "date": "2025-12-31",
865
+ "currency": "GBP",
866
+ "eps": 0.06
867
+ },
868
+ {
869
+ "date": "2026-03-31",
870
+ "currency": "GBP",
871
+ "eps": 0.06
872
+ },
873
+ {
874
+ "date": "2026-06-30",
875
+ "currency": "GBP",
876
+ "eps": 0.06
877
+ },
878
+ {
879
+ "date": "2026-09-30",
880
+ "currency": "GBP",
881
+ "eps": 0.06
882
+ }
883
+ ],
884
+ "expect": {
885
+ "trailingPE": 12.5
886
+ }
887
+ }
888
+ ]
889
+ }