stock-bot/design/data-pipeline/m1-source-field-shapes.md

14 KiB

Source Field Shapes Report

  • Scope: bounded sample, not a full scan (head sample via find().limit(), no aggregation or $sample)
  • Sample limit per collection: 1000
  • Collections probed: 8
  • Total documents sampled: 7435

ceoShorts (1000 docs sampled)

Field Presence Types String Patterns Examples
_id 100.0% (1000/1000) objectId: 1000 — —
created_at 100.0% (1000/1000) date: 1000 — 2025-06-23T03:58:26.303Z, 2025-06-23T03:58:27.035Z, 2025-06-23T03:58:27.655Z
id 100.0% (1000/1000) int: 1000 — 101986246, 101986286, 101986333
issue_name 100.0% (1000/1000) string: 1000 other: 1000 (len 18..37) AAJ CAPITAL 3 CORP., ABERDEEN INTERNATIONAL INC. J, ADDED CAPITAL INC.
market 100.0% (1000/1000) string: 1000 other: 1000 (len 1..2) TO, V
net_change 100.0% (1000/1000) int: 1000 — -10, -100, -1000
number_of_shares 100.0% (1000/1000) int: 1000 — 0, 1, 10
symbol 100.0% (1000/1000) string: 1000 other: 1000 (len 3..12) A.V, AA.V, AAA-P.V
timestamp 100.0% (1000/1000) double: 1000 — 1492239600000, 1493535600000, 1494831600000
updated_at 100.0% (1000/1000) date: 1000 — 2025-06-26T19:28:57.102Z, 2025-06-26T19:28:57.127Z, 2025-06-26T19:28:57.129Z

eodPrices (1000 docs sampled)

Field Presence Types String Patterns Examples
_id 100.0% (1000/1000) objectId: 1000 — —
adjustedClose 100.0% (1000/1000) double: 1000 — 0.000001999999995, 0.0000030000001061, 0.0000039999999899
close 100.0% (1000/1000) double: 1000 — 0.000001999999995, 0.0000030000001061, 0.0000039999999899
created_at 100.0% (1000/1000) date: 1000 — 2025-07-11T02:13:56.412Z, 2025-07-11T02:13:56.492Z, 2025-07-11T02:13:56.694Z
date 100.0% (1000/1000) string: 1000 ymd: 1000 (len 10..10) 2020-12-19, 2020-12-20, 2020-12-21
eodSearchCode 100.0% (1000/1000) string: 1000 other: 1000 (len 11..14) $ADS-USD.CC, $AFLOKI-USD.CC, $ANRX-USD.CC
exchange 100.0% (1000/1000) string: 1000 other: 1000 (len 2..2) CC
high 100.0% (1000/1000) double: 1000 — 0.000001999999995, 0.0000030000001061, 0.0000039999999899
low 100.0% (1000/1000) double: 1000 — 0.000001999999995, 0.0000030000001061, 0.0000039999999899
open 100.0% (1000/1000) double: 1000 — 0.000001999999995, 0.0000030000001061, 0.0000039999999899
symbol 100.0% (1000/1000) string: 1000 other: 1000 (len 8..11) $ADS-USD, $AFLOKI-USD, $ANRX-USD
updated_at 100.0% (1000/1000) date: 1000 — 2025-08-13T14:09:20.036Z, 2025-08-13T14:09:20.106Z, 2025-08-13T14:09:20.135Z
volume 100.0% (1000/1000) int: 1000 — 0, 1000242, 1006139

qmDividends (1000 docs sampled)

Field Presence Types String Patterns Examples
_id 100.0% (1000/1000) objectId: 1000 — —
amount 100.0% (1000/1000) int: 10, double: 990 — 0, 0.01, 0.01167
created_at 100.0% (1000/1000) date: 1000 — 2025-06-29T22:22:20.799Z, 2025-06-29T22:25:29.068Z, 2025-06-29T22:25:29.069Z
currency 92.8% (928/1000) string: 928 other: 928 (len 3..3) CAD, USD
date 100.0% (1000/1000) string: 1000 ymd: 1000 (len 10..10) 1987-03-31, 1987-06-01, 1987-06-25
declared 96.5% (965/1000) string: 965 ymd: 965 (len 10..10) 1987-03-25, 1987-05-21, 1987-05-27
divflag 6.2% (62/1000) string: 62 other: 62 (len 2..2) EX, FI, SP
divtype 100.0% (1000/1000) string: 1000 other: 1000 (len 1..1) D, S
exchange 100.0% (1000/1000) string: 1000 other: 1000 (len 3..3) NGS, NSC, NSD
frequency 100.0% (1000/1000) string: 1000 other: 1000 (len 1..1) A, I, M
indicatedrate 66.0% (660/1000) double: 660 — 0.01, 0.01167, 0.0125
payable 99.7% (997/1000) string: 997 ymd: 997 (len 10..10) 1987-04-20, 1987-07-01, 1987-07-20
qmSearchCode 100.0% (1000/1000) string: 1000 other: 1000 (len 2..9) DBM:CA, DCM:CA, DHT.U:CA
qualified 22.6% (226/1000) string: 226 other: 226 (len 1..1) N, Q
record 99.6% (996/1000) string: 996 ymd: 996 (len 10..10) 1987-04-06, 1987-06-05, 1987-07-01
reportDate 100.0% (1000/1000) date: 1000 — 1987-03-31T00:00:00.000Z, 1987-06-01T00:00:00.000Z, 1987-06-25T00:00:00.000Z
symbol 100.0% (1000/1000) string: 1000 other: 1000 (len 1..8) DBM, DCM, DHT.U
updated_at 100.0% (1000/1000) date: 1000 — 2025-06-29T22:25:29.080Z, 2025-06-29T22:25:29.146Z, 2025-06-29T22:25:29.148Z
usdFxRate 25.6% (256/1000) int: 253, double: 3 — 0.05, 1, 1.39556

qmEarnings (1000 docs sampled)

Field Presence Types String Patterns Examples
_id 100.0% (1000/1000) objectId: 1000 — —
actualEps 100.0% (1000/1000) string: 73, int: 34, double: 893 other: 73 (len 3..3) -0.01, -0.02, -0.03
announceTime 100.0% (1000/1000) string: 1000 other: 1000 (len 3..3) AMC, BTO, N/A
consensusEps 100.0% (1000/1000) string: 347, int: 12, double: 641 other: 347 (len 3..3) -0.02, -0.03, -0.04
created_at 100.0% (1000/1000) date: 1000 — 2025-06-29T22:22:20.864Z, 2025-06-29T22:25:29.073Z, 2025-06-29T22:25:29.087Z
epsSurpriseDollar 100.0% (1000/1000) string: 359, int: 66, double: 575 other: 359 (len 3..3) -0.0033, -0.005, -0.01
epsSurprisePercent 100.0% (1000/1000) string: 366, int: 147, double: 487 other: 366 (len 3..3) -0.6944, -0.7123, -0.8065
estimatedEps 100.0% (1000/1000) string: 347, int: 12, double: 641 other: 347 (len 3..3) -0.02, -0.03, -0.04
exchange 100.0% (1000/1000) string: 1000 other: 1000 (len 3..3) CDX, NGS, NSC
numOfEstimates 100.0% (1000/1000) string: 42, int: 958 other: 42 (len 3..3) 0, 1, 10
period 100.0% (1000/1000) string: 1000 other: 1000 (len 3..7) N/A, Q1 1995, Q1 1996
qmSearchCode 100.0% (1000/1000) string: 1000 other: 1000 (len 3..8) DLCG:CA, DPM:CA, DSV:CA
quarterEnd 100.0% (1000/1000) string: 1000 ymd: 1000 (len 10..10) 1994-09-30, 1994-12-31, 1995-03-31
reportDate 100.0% (1000/1000) date: 1000 — 1994-10-26T00:00:00.000Z, 1994-10-27T00:00:00.000Z, 1994-11-02T00:00:00.000Z
symbol 100.0% (1000/1000) string: 1000 other: 1000 (len 1..5) DLCG, DPM, DSV
updated_at 100.0% (1000/1000) date: 1000 — 2025-06-29T22:25:29.073Z, 2025-06-29T22:25:29.087Z, 2025-06-29T22:25:29.167Z

qmFilings (1000 docs sampled)

Field Presence Types String Patterns Examples
_id 100.0% (1000/1000) objectId: 1000 — —
acc 100.0% (1000/1000) string: 1000 other: 1000 (len 36..151) 01521843-00000001-00002586-s@#91#91761#SEDAR#..., 01521972-00000001-00002586-s@#91#91761#SEDAR#..., 01523099-00000001-00002586-s@#93#93810#SEDAR#...
datefiled 100.0% (1000/1000) string: 1000 ymd: 1000 (len 10..10) 2010-01-06, 2010-01-07, 2010-01-12
exchange 100.0% (1000/1000) string: 1000 other: 1000 (len 3..3) CDX
filingDate 100.0% (1000/1000) string: 1000 ymd: 1000 (len 10..10) 2010-01-06, 2010-01-07, 2010-01-12
filingId 100.0% (1000/1000) string: 1000 other: 1000 (len 24..24) 5e6b93561f348f7b9159eb20, 5e6b94221f348f7b9159fa0b, 5e6b94221f348f7b9159fa0c
formdescription 100.0% (1000/1000) string: 1000 other: 1000 (len 4..72) 52-109F2R - Certification of refiled interim ..., 52-109FV1 - Certification of annual filings -..., 52-109FV2 - Certification of interim filings ...
formgroup 100.0% (1000/1000) string: 1000 other: 1000 (len 19..38) Continuous Disclosure, Continuous disclosure, Exempt Market Offerings and Disclosure
formtype 100.0% (1000/1000) string: 1000 other: 1000 (len 21..21) 002-001-001012-000052, 002-001-001012-000054, 002-001-001012-001002
htmllink 100.0% (1000/1000) string: 1000 other: 1000 (len 225..312) https://app.quotemedia.com/datatool/downloadF...
pages 100.0% (1000/1000) int: 1000 — 1, 10, 11
pdflink 100.0% (1000/1000) string: 1000 other: 1000 (len 224..311) https://app.quotemedia.com/datatool/downloadF...
size 100.0% (1000/1000) null: 1000 — —
source 100.0% (1000/1000) string: 1000 other: 1000 (len 2..2) QM
symbol 100.0% (1000/1000) string: 1000 other: 1000 (len 2..6) AAC.P, ACAP.P, ACOP
timefiled 100.0% (1000/1000) string: 1000 other: 1000 (len 23..23) 2010-01-06T03:00:00 EST, 2010-01-07T03:00:00 EST, 2010-01-12T03:00:00 EST

qmPrices (1000 docs sampled)

Field Presence Types String Patterns Examples
_id 100.0% (1000/1000) objectId: 1000 — —
change 100.0% (1000/1000) int: 8, double: 992 — -0.001851, -0.001877, -0.003661
changepercent 100.0% (1000/1000) int: 8, double: 992 — -0.007, -0.008, -0.014
created_at 100.0% (1000/1000) date: 1000 — 2025-06-29T18:05:12.787Z
date 100.0% (1000/1000) string: 1000 ymd: 1000 (len 10..10) 2021-07-06, 2021-07-07, 2021-07-08
dateTime 100.0% (1000/1000) date: 1000 — 2021-07-06T00:00:00.000Z, 2021-07-07T00:00:00.000Z, 2021-07-08T00:00:00.000Z
exchange 100.0% (1000/1000) string: 1000 other: 1000 (len 3..3) TSX
qmSearchCode 100.0% (1000/1000) string: 1000 other: 1000 (len 4..4) X:CA
sharevolume 100.0% (1000/1000) int: 1000 — 100159, 100168, 100494
symbol 100.0% (1000/1000) string: 1000 other: 1000 (len 1..1) X
unadjustedclose 100.0% (1000/1000) int: 29, double: 971 — 122.8, 123.04, 123.11
unadjustedhigh 100.0% (1000/1000) int: 30, double: 970 — 123.85, 124.4, 124.76
unadjustedlow 100.0% (1000/1000) int: 29, double: 971 — 121.42, 121.9, 122.24
unadjustedopen 100.0% (1000/1000) int: 38, double: 962 — 122.02, 122.24, 122.7
unadjustedvwap 100.0% (1000/1000) double: 1000 — 122.6259, 123.1946, 123.6024
updated_at 100.0% (1000/1000) date: 1000 — 2025-06-29T18:59:43.948Z

qmSplits (1000 docs sampled)

Field Presence Types String Patterns Examples
_id 100.0% (1000/1000) objectId: 1000 — —
created_at 100.0% (1000/1000) date: 1000 — 2025-06-29T22:22:20.834Z, 2025-06-29T22:25:29.068Z, 2025-06-29T22:25:29.085Z
date 100.0% (1000/1000) string: 1000 ymd: 1000 (len 10..10) 1972-06-21, 1973-04-23, 1976-07-26
declared 40.8% (408/1000) string: 408 ymd: 408 (len 10..10) 1978-11-29, 1979-03-02, 1979-04-16
exchange 100.0% (1000/1000) string: 1000 other: 1000 (len 3..5) CDX, CNQ, EXPM
forfactor 100.0% (1000/1000) string: 114, int: 867, double: 19 emptyOrWhitespace: 114 (len 0..0) , 1, 1.024549
payment 38.2% (382/1000) string: 382 ymd: 382 (len 10..10) 1969-12-31, 1979-01-05, 1979-04-06
qmSearchCode 100.0% (1000/1000) string: 1000 other: 1000 (len 1..12) A, AAUC:CA, ABRA:CA
record 38.1% (381/1000) string: 381 ymd: 381 (len 10..10) 1969-12-31, 1978-12-12, 1979-03-15
reportDate 100.0% (1000/1000) date: 1000 — 1972-06-21T00:00:00.000Z, 1973-04-23T00:00:00.000Z, 1976-07-26T00:00:00.000Z
splitratio 100.0% (1000/1000) int: 305, double: 695 — 0.005, 0.01, 0.029129
symbol 100.0% (1000/1000) string: 1000 other: 1000 (len 1..9) A, AAUC, ABRA
tofactor 100.0% (1000/1000) string: 114, int: 745, double: 141 emptyOrWhitespace: 114 (len 0..0) , 0.067967, 0.3333
updated_at 100.0% (1000/1000) date: 1000 — 2025-06-29T22:25:29.068Z, 2025-06-29T22:25:29.085Z, 2025-06-29T22:25:29.147Z

teMarketData (435 docs sampled)

Field Presence Types String Patterns Examples
_id 100.0% (435/435) objectId: 435 — —
category 100.0% (435/435) string: 435 other: 435 (len 4..9) bond, commodity, currency
createdAt 100.0% (435/435) date: 435 — 2026-04-02T03:56:52.369Z, 2026-04-02T03:56:52.418Z, 2026-04-02T03:56:52.526Z
daily 100.0% (435/435) array: 435 — —
frequency 100.0% (435/435) string: 435 other: 435 (len 5..8) daily, intraday
fullName 100.0% (435/435) string: 435 other: 435 (len 3..48) Abu Dhabi General, Aluminum, Amman Stock Exchange General Index
industry 100.0% (435/435) null: 435 — —
lastUpdated 100.0% (435/435) date: 435 — 2026-04-02T03:56:52.369Z, 2026-04-02T03:56:52.418Z, 2026-04-02T03:56:52.526Z
monthly 100.0% (435/435) array: 435 — —
name 100.0% (435/435) string: 435 other: 435 (len 2..28) ADX General, ASE, ASPI
sector 100.0% (435/435) null: 435 — —
symbolType 100.0% (435/435) string: 435 other: 435 (len 3..3) com, cur, gov
teSymbol 100.0% (435/435) string: 435 other: 435 (len 2..11) ADSMI, AEX, AS51
ticker 100.0% (435/435) null: 435 — —
type 100.0% (435/435) string: 435 other: 435 (len 4..9) bond, commodity, currency
unit 100.0% (435/435) string: 293, null: 142 other: 293 (len 3..19) AUD/100Kg, BRL/Kgs, CNY/KG
updated_at 100.0% (435/435) date: 435 — 2026-04-02T03:56:52.369Z, 2026-04-02T03:56:52.418Z, 2026-04-02T03:56:52.526Z