YYYYUN commited on
Commit
61b1ab0
·
verified ·
1 Parent(s): 7ff726f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +309 -3
README.md CHANGED
@@ -1,3 +1,309 @@
1
- ---
2
- license: cc-by-4.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ license: cc-by-4.0
5
+ tags:
6
+ - finance
7
+ - earnings-calls
8
+ - nlp
9
+ - market-microstructure
10
+ - sentiment-analysis
11
+ - benchmark
12
+ - finbert
13
+ - nbbo
14
+ pretty_name: "MERIT: Microstructure and Earnings call Real-time Information Trajectories"
15
+ size_categories:
16
+ - 100K<n<1M
17
+ task_categories:
18
+ - text-classification
19
+ ---
20
+
21
+ # MERIT: Microstructure and Earnings call Real-time Information Trajectories
22
+
23
+ ## Overview
24
+
25
+ **MERIT** is a sentence-level benchmark that links earnings conference call language to sub-minute market microstructure responses. It repositions earnings call analysis from static, document-level summaries to **micro-temporal language trajectories** anchored to live market quote data.
26
+
27
+ Each observation pairs a unit of earnings call language—a presentation sentence or a Q&A exchange—with tick-level **NBBO (National Best Bid and Offer)** statistics measured in fixed windows immediately before and after that language unit is spoken.
28
+
29
+ MERIT covers **2,320 earnings call events** from **267 S&P 500 companies** spanning **2021–2023**.
30
+
31
+ ---
32
+
33
+ ## Motivation
34
+
35
+ Prior earnings-call datasets focus on summarization, argumentation mining, or subjectivity annotation, but provide no market grounding. Finance datasets that measure market reactions operate at daily or longer horizons. MERIT fills this gap with three design principles:
36
+
37
+ 1. **Sentence-level anchoring** — each utterance is temporally aligned to short-horizon quote responses, rather than aggregated at call or session level.
38
+ 2. **Four representation regimes** — document-level aggregate, instantaneous utterance, cumulative level, and cumulative trajectory — allowing gains from each source of signal to be separately identified.
39
+ 3. **Temporal generalisation** — a chronological train/test split (train: 2021–2022; test: 2023) prevents look-ahead bias and tests transfer to future market periods.
40
+
41
+ ---
42
+
43
+ ## Dataset Statistics
44
+
45
+ | Split | EC Events | Companies | Regular-session ECs | After-hours ECs |
46
+ |-------|-----------|-----------|--------------------|-|
47
+ | Train (2021–2022) | 729 | 159 | 382 | 347 |
48
+ | Test (2023) | 389 | 151 | 207 | 182 |
49
+ | Robustness (pre-market) | 747 | — | — | — |
50
+ | **Total** | **2,320** | **267** | | |
51
+
52
+ Companies shared across train and test splits: **143**
53
+
54
+ ### Anchor counts (Presentation)
55
+
56
+ | | Train | Test |
57
+ |--|-------|------|
58
+ | Raw sentence anchors | 88,650 | 50,891 |
59
+ | Selected anchors, post=30s | 22,800 | 13,351 |
60
+ | Selected anchors, post=300s | 4,552 | 2,596 |
61
+
62
+ ### Anchor counts (Q&A)
63
+
64
+ | | Train | Test |
65
+ |--|-------|------|
66
+ | Raw QA-pair anchors | 9,699 | 5,562 |
67
+ | Selected anchors, post=30s | 8,204 | 4,857 |
68
+ | Selected anchors, post=300s | 3,340 | 2,038 |
69
+
70
+ ---
71
+
72
+ ## Company Selection
73
+
74
+ MERIT is anchored to S&P 500 constituents. Three filtering steps were applied:
75
+
76
+ 1. **Sector exclusion** — Financials, Utilities, and Real Estate (GICS) are excluded due to systematic differences in disclosure conventions and trading environment.
77
+ 2. **Quote coverage** — only firm-quarter events with a matched NBBO file in the NYSE TAQ database are retained.
78
+ 3. **Structural validity** — only firms where transcript structure and quote coverage jointly support sentence-level alignment are included.
79
+
80
+ The retained firms span **eight GICS sectors**: Technology (59), Industrials (51), Healthcare (43), Consumer Cyclical (42), Consumer Defensive (29), Energy (18), Communication Services (14), Basic Materials (11).
81
+
82
+ ---
83
+
84
+ ## Language Features
85
+
86
+ ### Presentation segment — FinBERT-tone
87
+
88
+ Each Presentation sentence is scored with **FinBERT-tone**, yielding:
89
+
90
+ - `finberttone_expected_value`: scalar tone = P(Positive) − P(Negative) ∈ [−1, 1]
91
+ - `finberttone_cumulative_tone`: running sum of expected value up to this sentence
92
+ - `finberttone_change_point`: 1 if this sentence starts a new sentiment regime (PELT + AIC penalty = 2); 0 otherwise
93
+
94
+ Median Presentation length: **166 sentences per call** (max: 1,725).
95
+
96
+ ### Q&A segment — SubjECTive-QA
97
+
98
+ Each analyst–executive exchange is scored along **six dimensions** using SubjECTive-QA ([Pardawala et al., 2024](https://arxiv.org/abs/2410.20651)):
99
+ `assertive`, `cautious`, `optimistic`, `specific`, `clear`, `relevant`
100
+
101
+ Each dimension has three columns: `{dim}_negative_score`, `{dim}_neutral_score`, `{dim}_positive_score`.
102
+
103
+ Anchor timestamp: `Q_Timestamp` (question start — earliest moment the market can react).
104
+
105
+ Median Q&A depth: **18 pairs per call** (max: 56).
106
+
107
+ ---
108
+
109
+ ## Market Microstructure Targets
110
+
111
+ Three targets capture complementary dimensions of short-horizon quote dynamics, each expressed as the **change from the pre-window mean to the post-window mean**:
112
+
113
+ | Target | Description |
114
+ |--------|-------------|
115
+ | `∆BAS` | Change in relative bid–ask spread — trading frictions and liquidity costs |
116
+ | `∆QRF` | Change in quote revision frequency (NBBO updates/min) — price discovery intensity |
117
+ | `∆QVol` | Change in realised quote volatility (std of mid-price changes) — local price uncertainty |
118
+
119
+ Targets are binarised as extreme-event indicators:
120
+
121
+ ```
122
+ Y = 1 if |∆metric| > τ₇₅ (75th percentile of training-split delta distribution)
123
+ Y = 0 otherwise
124
+ ```
125
+
126
+ This focuses evaluation on the upper tail of microstructure changes and avoids label noise from near-zero fluctuations. **Balanced accuracy** is the primary metric (chance level = 0.500).
127
+
128
+ ---
129
+
130
+ ## Window Design
131
+
132
+ For each anchor at time *t*, quote statistics are aggregated over:
133
+
134
+ ```
135
+ |<── pre-window (fixed 30s) ──|── post-window (W) ──>|
136
+ t − 30s t t + W
137
+ ```
138
+
139
+ Post-window widths **W ∈ {30, 60, 120, 300} seconds** → four files per anchor type.
140
+
141
+ ### Non-overlapping anchor protocol
142
+
143
+ To prevent mechanical autocorrelation, anchors are selected greedily so that no two retained anchors share any portion of their post-window. For horizon W, each retained anchor must start at least W seconds after the previously retained anchor.
144
+
145
+ ---
146
+
147
+ ## Dataset Structure
148
+
149
+ ```
150
+ data/
151
+ ├── ec_calendar_sp500_with_sector_and_industry.csv EC event calendar (2,320 events)
152
+ ├── benchmark/ Full benchmark (all main-session ECs, pre split)
153
+ │ ├── benchmark_pre_{30,60,120,300}s.csv
154
+ │ ├── benchmark_qa_{30,60,120,300}s.csv
155
+ │ ├── benchmark_labeled/ Benchmark with microstructure labels
156
+ │ │ ├── benchmark_pre_{30,60,120,300}s.csv
157
+ │ │ └── benchmark_qa_{30,60,120,300}s.csv
158
+ │ ├── benchmark_coverage.csv Per-EC anchor counts (valid / excluded)
159
+ │ └── excluded_anchors_{30,60,120,300}s.csv Anchors excluded (n_ticks_post < 3)
160
+ └── benchmark_split/
161
+ ├── train/ Train set: 2021–2022
162
+ │ ├── benchmark_pre_{W}s.csv
163
+ │ └── benchmark_qa_{W}s.csv
164
+ ├── test/ Test set: 2023
165
+ │ ├── benchmark_pre_{W}s.csv
166
+ │ └── benchmark_qa_{W}s.csv
167
+ └── robustness/ Pre-market ECs (supplementary analysis)
168
+ ├── pre_market_pre_{W}s.csv
169
+ └── pre_market_qa_{W}s.csv
170
+ ```
171
+
172
+ ### File naming
173
+
174
+ ```
175
+ benchmark_{anchor_type}_{post_window}s.csv
176
+ anchor_type : pre (presentation sentence)
177
+ : qa (Q&A pair)
178
+ post_window : 30 | 60 | 120 | 300 (seconds)
179
+ ```
180
+
181
+ ---
182
+
183
+ ## EC Calendar (`ec_calendar_sp500_with_sector_and_industry.csv`)
184
+
185
+ This file is the **master event index** for all 2,320 earnings call events. It is the single source of truth for EC start times, session labels, and company metadata.
186
+
187
+ | Column | Description |
188
+ |--------|-------------|
189
+ | `tic` | Ticker symbol |
190
+ | `name` | Company name |
191
+ | `sector` | GICS sector |
192
+ | `industry` | GICS industry |
193
+ | `year` | Earnings call year |
194
+ | `quarter` | Quarter (Q1–Q4) |
195
+ | `timestamp_start_utc` | EC start time in UTC (ISO 8601) |
196
+ | `timestamp_start_et` | EC start time in US/Eastern (ISO 8601) |
197
+
198
+ The `ec_session` column in all benchmark files is derived deterministically from `timestamp_start_et` in this calendar.
199
+
200
+ ---
201
+
202
+ ## Key Columns
203
+
204
+ ### Identity columns (all files)
205
+
206
+ | Column | Description |
207
+ |--------|-------------|
208
+ | `tic` | Ticker symbol |
209
+ | `year` | Earnings call year |
210
+ | `quarter` | Quarter (Q1–Q4) |
211
+ | `anchor_type` | `pre` or `qa` |
212
+ | `anchor_id` | `section_id` (pre) or `QA_Index` (qa) |
213
+ | `post_window_sec` | Post-window width in seconds |
214
+ | `timestamp_anchor` | Seconds from EC start to this anchor |
215
+ | `ec_session` | `regular` / `after_hours` / `pre_market` / `non_trading` |
216
+
217
+ ### Quote features (pre- and post-window)
218
+
219
+ Each appears with both `_pre` and `_post` suffix:
220
+
221
+ | Column | Description |
222
+ |--------|-------------|
223
+ | `bid_ask_spread_mean` | Mean relative bid–ask spread |
224
+ | `bid_ask_spread_std` | Std of bid–ask spread |
225
+ | `obi_mean` | Mean order book imbalance |
226
+ | `qrf_mean` | Mean quote revision frequency (ticks/min) |
227
+ | `quote_volatility_mean` | Mean quote volatility |
228
+ | `n_ticks` | Number of quote ticks in the window |
229
+
230
+ ---
231
+
232
+ ## Session Distribution
233
+
234
+ | Session | ET Hours | Share in dataset |
235
+ |---------|----------|-----------------|
236
+ | `pre_market` | 04:00–09:29 | ~44% |
237
+ | `after_hours` | 16:00–19:59 | ~30% |
238
+ | `regular` | 09:30–15:59 | ~26% |
239
+
240
+ **Main benchmark** (`train/`, `test/`): `regular` + `after_hours` sessions only.
241
+ **Robustness set**: `pre_market` sessions (NBBO data is systematically sparse before market open, making post-window targets less reliable as primary evaluation targets).
242
+
243
+ ---
244
+
245
+ ## Filtering
246
+
247
+ Anchors with **fewer than 3 quote ticks** in the post-window are excluded from the main benchmark. Excluded anchors are recorded in `excluded_anchors_{W}s.csv` for transparency.
248
+
249
+ Tick-level quality filters applied upstream:
250
+ - Crossed-NBBO ticks (bid > ask) discarded (~1.5% of ticks)
251
+ - Extreme-spread ticks (relative spread > 0.50) discarded (~1.8% of ticks)
252
+
253
+ ---
254
+
255
+ ## Baseline Results (Summary)
256
+
257
+ | Regime | Presentation BAcc (W=30s) | Q&A BAcc (W=30s) |
258
+ |--------|--------------------------|------------------|
259
+ | Document-level aggregate | 0.500 | — |
260
+ | Instantaneous utterance | 0.502 | 0.523 |
261
+ | Cumulative level | 0.508 | 0.552 |
262
+ | Cumulative trajectory | 0.520 | 0.560 |
263
+
264
+ Chance level = 0.500. Full results across all targets (∆BAS, ∆QRF, ∆QVol) and horizons (30s–300s) are reported in the accompanying paper.
265
+
266
+ ---
267
+
268
+ ## Data Release Scope
269
+
270
+ | Component | Released | Notes |
271
+ |-----------|----------|-------|
272
+ | Sentiment panel (FinBERT-tone + SubjECTive-QA scores) | ✅ | This repository |
273
+ | Benchmark split (pre-aggregated features) | ✅ | This repository |
274
+ | Raw earnings call transcripts | ❌ | Commercial licensing restrictions prohibit redistribution |
275
+ | Raw NYSE TAQ tick streams | ❌ | Commercial licensing restrictions prohibit redistribution |
276
+
277
+ ---
278
+
279
+ ## Reproducibility
280
+
281
+ The benchmark is **deterministically reproducible** given:
282
+ - The same EC calendar (start times in ET)
283
+ - The same tick-level quote panel
284
+ - `--min_ticks_post 3` (default filtering threshold)
285
+
286
+ Session labels depend only on EC start time (ET timezone).
287
+
288
+ ---
289
+
290
+ ## License
291
+
292
+ Released under [Creative Commons Attribution 4.0 (CC BY 4.0)](https://creativecommons.org/licenses/by/4.0/).
293
+ Pipeline code and baselines are released separately under the MIT License.
294
+
295
+ ---
296
+
297
+ ## Citation
298
+
299
+ > The accompanying paper is currently under review. Citation information will be added upon publication.
300
+
301
+ ---
302
+
303
+ ## References
304
+
305
+ - Pardawala et al. (2024). SubjECTive-QA: Measuring subjectivity in earnings call transcripts' QA through six-dimensional feature analysis. *arXiv:2410.20651*.
306
+ - Huang, Wang, & Yang (2023). FinBERT: A large language model for extracting information from financial text. *Contemporary Accounting Research*, 40(2), 806–841.
307
+ - Beaver (1968). The information content of annual earnings announcements. *Journal of Accounting Research*, 6, 67–92.
308
+ - Lee, Mucklow, & Ready (1993). Spreads, depths, and the impact of earnings information: An intraday analysis. *Review of Financial Studies*, 6(2), 345–374.
309
+ - Killick, Fearnhead, & Eckley (2012). Optimal detection of changepoints with a linear computational cost. *Journal of the American Statistical Association*, 107(500), 1590–1598.