SPB Git

spb/wp47_uqo

Public

WP47: project skeleton, brief, pre-registered design, external calendars, FinData client

Simon-Pierre Boucher committed (Nov 9, 2026) Browse files

9 changed files +20,001 −0

added .gitignore +14 −0
@@ -0,0 +1,14 @@
1+data/cache/
2+*.parquet
3+paper/*.aux
4+paper/*.log
5+paper/*.bbl
6+paper/*.blg
7+paper/*.out
8+paper/*.fls
9+paper/*.fdb_latexmk
10+paper/*.synctex.gz
11+.venv/
12+__pycache__/
13+*.pyc
14+.DS_Store
added CLAUDE.md +29 −0
@@ -0,0 +1,29 @@
1+# CLAUDE.md — UQO Research WP47: The Yield Curve at One-Minute Resolution
2+
3+**Project ID:** `wp47_uqo` · **Folder (laptop):** `~/Desktop/wp47-nelson-siegel-intraday` · **Compute:** M3U96a `~/wp47_uqo`
4+**Working title:** *The Yield Curve at One-Minute Resolution: Nelson–Siegel Factor-Mimicking Portfolios from Treasury Futures*
5+**PI:** Simon-Pierre Boucher (UQO) · **Language:** English · Brief: `docs/BRIEF.md` · Design: `docs/DESIGN.md`
6+
7+## Core idea
8+Daily Nelson–Siegel (NS) factors (level, slope, curvature) are projected on the daily returns of six Treasury futures
9+(ZT, ZF, ZN, TN, US, UB) to obtain factor-mimicking portfolios. Applying the portfolio weights to one-minute futures returns
10+yields minute-by-minute NS factor changes over the 23-hour CME session, 2008–2026. We validate the construction out of
11+sample, then study (i) the intraday anatomy of level/slope/curvature around FOMC, CPI and Employment releases, (ii) the
12+intraday periodicity and realized (co)variation of the factors, (iii) HAR forecasts of factor realized variance.
13+
14+## Hard rules
15+1. Never fabricate data, estimates, references, DOIs or p-values. Every number in the paper comes from code in `results/`.
16+2. Pre-registration: `docs/DESIGN.md` §Hypotheses is frozen (git tag `design-frozen`) before any event-study or forecast
17+ result is inspected. Validation (§H1) is inspected first by construction.
18+3. Data: FinData OS (FirstRate Data, private licence) is the only intraday source. No raw bars in git, logs, figures or paper
19+ (aggregates only). Key: `~/findata-secrets/api-key-wp47.txt` (node) / `~/Desktop/Cluster/secrets/findata/api-key-wp47.txt`
20+ (laptop) or `$FINDATA_API_KEY`; never logged.
21+4. Public data (FRED CMT yields, Fed GSW parameters, FOMC/BLS/ALFRED calendars) are kept in `data/external/` with download
22+ timestamps (`DOWNLOADED_AT.txt`).
23+5. Units: yields and factors in percentage points; futures returns in percent; realized variances in (pp)² per day.
24+6. Remote-first for computation (M3U96a), laptop = LaTeX + mirror. `rsync` code to the node, results back.
25+7. No external publication (SSRN, web) without explicit authorization. Private `gitsrv` mirror is routine.
26+
27+## Layout
28+`src/wp47/` (library) · `scripts/NN_*.py` (pipeline, in order) · `data/external/` (public inputs) · `data/cache/` (node only,
29+Parquet, gitignored) · `results/{metrics,tables,figures}` · `paper/` (LaTeX, template Recherche-UQO) · `docs/`
added data/external/DOWNLOADED_AT.txt +1 −0
@@ -0,0 +1 @@
1+2026-11-09T19:08:56Z
added data/external/bls/cpi_release_dates_alfred_rid10.txt +255 −0
@@ -0,0 +1,255 @@
1+# Source: ALFRED release page rid=10 (Consumer Price Index, U.S. Bureau of Labor Statistics), "Release Dates" filter list,
2+# extracted 2026-11-09 via Tavily from https://alfred.stlouisfed.org/release?rid=10 . Includes revision releases (e.g. February seasonal-factor updates).
3+2026-10-14
4+2026-09-11
5+2026-08-12
6+2026-07-14
7+2026-06-10
8+2026-05-12
9+2026-04-10
10+2026-03-11
11+2026-02-13
12+2026-01-13
13+2025-12-18
14+2025-10-24
15+2025-09-11
16+2025-08-12
17+2025-07-15
18+2025-06-11
19+2025-05-13
20+2025-04-10
21+2025-03-12
22+2025-02-12
23+2025-01-15
24+2024-12-11
25+2024-11-13
26+2024-10-10
27+2024-09-11
28+2024-08-14
29+2024-07-11
30+2024-06-12
31+2024-05-15
32+2024-04-10
33+2024-03-12
34+2024-02-13
35+2024-02-09
36+2024-01-11
37+2023-12-12
38+2023-11-14
39+2023-10-12
40+2023-09-13
41+2023-08-10
42+2023-07-12
43+2023-06-13
44+2023-05-10
45+2023-04-12
46+2023-03-14
47+2023-02-14
48+2023-02-10
49+2023-01-12
50+2022-12-13
51+2022-11-10
52+2022-10-13
53+2022-09-13
54+2022-08-10
55+2022-07-13
56+2022-06-10
57+2022-05-11
58+2022-04-12
59+2022-03-10
60+2022-02-10
61+2022-02-08
62+2022-01-12
63+2021-12-10
64+2021-11-10
65+2021-10-13
66+2021-09-14
67+2021-08-11
68+2021-07-13
69+2021-06-10
70+2021-05-12
71+2021-04-13
72+2021-03-10
73+2021-02-10
74+2021-02-08
75+2021-01-13
76+2020-12-10
77+2020-11-12
78+2020-10-13
79+2020-09-11
80+2020-08-12
81+2020-07-14
82+2020-06-10
83+2020-05-12
84+2020-04-10
85+2020-03-11
86+2020-02-13
87+2020-02-11
88+2020-01-14
89+2019-12-11
90+2019-11-13
91+2019-10-10
92+2019-09-12
93+2019-08-13
94+2019-07-11
95+2019-06-12
96+2019-05-10
97+2019-04-10
98+2019-03-12
99+2019-02-13
100+2019-02-11
101+2019-01-11
102+2018-12-12
103+2018-11-14
104+2018-10-11
105+2018-09-13
106+2018-08-10
107+2018-07-12
108+2018-06-12
109+2018-05-10
110+2018-04-11
111+2018-03-13
112+2018-02-14
113+2018-01-12
114+2017-12-13
115+2017-11-15
116+2017-10-13
117+2017-09-14
118+2017-08-11
119+2017-07-14
120+2017-06-14
121+2017-05-12
122+2017-04-14
123+2017-03-15
124+2017-02-15
125+2017-02-13
126+2017-01-18
127+2016-12-15
128+2016-11-17
129+2016-10-18
130+2016-09-16
131+2016-08-16
132+2016-07-15
133+2016-06-16
134+2016-05-17
135+2016-04-14
136+2016-03-16
137+2016-02-19
138+2016-01-20
139+2015-12-15
140+2015-11-17
141+2015-10-15
142+2015-09-16
143+2015-08-19
144+2015-07-17
145+2015-06-18
146+2015-05-22
147+2015-04-17
148+2015-03-24
149+2015-02-26
150+2015-02-20
151+2015-01-16
152+2014-12-17
153+2014-11-20
154+2014-10-22
155+2014-09-17
156+2014-08-19
157+2014-07-22
158+2014-06-17
159+2014-05-15
160+2014-04-15
161+2014-03-18
162+2014-02-20
163+2014-02-18
164+2014-01-16
165+2013-12-17
166+2013-11-20
167+2013-10-30
168+2013-09-17
169+2013-08-15
170+2013-07-16
171+2013-06-18
172+2013-05-16
173+2013-04-16
174+2013-03-15
175+2013-02-21
176+2013-02-19
177+2013-01-16
178+2012-12-14
179+2012-11-15
180+2012-10-16
181+2012-09-14
182+2012-08-15
183+2012-07-17
184+2012-06-14
185+2012-05-15
186+2012-04-13
187+2012-03-16
188+2012-02-17
189+2012-02-15
190+2012-01-19
191+2011-12-16
192+2011-11-16
193+2011-10-19
194+2011-09-15
195+2011-08-18
196+2011-07-15
197+2011-06-15
198+2011-05-13
199+2011-04-15
200+2011-03-17
201+2011-02-17
202+2011-02-15
203+2011-01-14
204+2010-12-15
205+2010-11-17
206+2010-10-15
207+2010-09-17
208+2010-08-13
209+2010-07-16
210+2010-06-17
211+2010-05-19
212+2010-04-14
213+2010-03-18
214+2010-02-19
215+2010-02-17
216+2010-01-15
217+2009-12-16
218+2009-11-18
219+2009-10-15
220+2009-09-16
221+2009-08-14
222+2009-07-15
223+2009-06-17
224+2009-05-15
225+2009-04-15
226+2009-03-18
227+2009-02-20
228+2009-02-18
229+2009-01-16
230+2008-12-16
231+2008-11-19
232+2008-10-16
233+2008-09-16
234+2008-08-14
235+2008-07-16
236+2008-06-13
237+2008-05-14
238+2008-04-16
239+2008-03-14
240+2008-02-20
241+2008-02-15
242+2008-01-16
243+2007-12-14
244+2007-11-15
245+2007-10-17
246+2007-09-19
247+2007-08-15
248+2007-07-18
249+2007-06-15
250+2007-05-15
251+2007-04-17
252+2007-03-16
253+2007-02-21
254+2007-02-16
255+2007-01-18
added data/external/bls/empsit_release_dates_alfred_rid50.txt +246 −0
@@ -0,0 +1,246 @@
1+# Source: ALFRED release page rid=50 (Employment Situation, U.S. Bureau of Labor Statistics), "Release Dates" filter list,
2+# extracted 2026-11-09 via Tavily from https://alfred.stlouisfed.org/release?rid=50 . Includes benchmark/revision releases
3+# (e.g. 2024-08-21 preliminary benchmark, 2024-01-10, 2013-05-06, 2012-12-12) which are not 08:30 Employment Situation releases.
4+2026-11-06
5+2026-10-02
6+2026-09-04
7+2026-08-07
8+2026-07-02
9+2026-06-05
10+2026-05-08
11+2026-04-03
12+2026-03-06
13+2026-02-11
14+2026-01-09
15+2025-12-16
16+2025-11-20
17+2025-09-05
18+2025-08-01
19+2025-07-03
20+2025-06-06
21+2025-05-02
22+2025-04-04
23+2025-03-07
24+2025-02-07
25+2025-01-10
26+2024-12-06
27+2024-11-01
28+2024-10-04
29+2024-09-06
30+2024-08-21
31+2024-08-02
32+2024-07-05
33+2024-06-07
34+2024-05-03
35+2024-04-05
36+2024-03-08
37+2024-02-02
38+2024-01-10
39+2024-01-05
40+2023-12-08
41+2023-11-03
42+2023-10-06
43+2023-09-01
44+2023-08-04
45+2023-07-07
46+2023-06-02
47+2023-05-05
48+2023-04-07
49+2023-03-10
50+2023-02-03
51+2023-01-06
52+2022-12-02
53+2022-11-04
54+2022-10-07
55+2022-09-02
56+2022-08-05
57+2022-07-08
58+2022-06-03
59+2022-05-06
60+2022-04-01
61+2022-03-04
62+2022-02-04
63+2022-01-07
64+2021-12-03
65+2021-11-05
66+2021-10-08
67+2021-09-03
68+2021-08-06
69+2021-07-02
70+2021-06-04
71+2021-05-07
72+2021-04-02
73+2021-03-05
74+2021-02-05
75+2021-01-08
76+2020-12-04
77+2020-11-06
78+2020-10-02
79+2020-09-04
80+2020-08-07
81+2020-07-02
82+2020-06-05
83+2020-05-11
84+2020-05-08
85+2020-04-03
86+2020-03-06
87+2020-02-07
88+2020-01-10
89+2019-12-06
90+2019-11-01
91+2019-10-04
92+2019-09-06
93+2019-08-02
94+2019-07-05
95+2019-06-07
96+2019-05-03
97+2019-04-05
98+2019-03-08
99+2019-02-01
100+2019-01-04
101+2018-12-07
102+2018-11-02
103+2018-10-05
104+2018-09-07
105+2018-08-03
106+2018-07-06
107+2018-06-01
108+2018-05-04
109+2018-04-06
110+2018-03-09
111+2018-02-02
112+2018-01-05
113+2017-12-08
114+2017-11-03
115+2017-10-06
116+2017-09-01
117+2017-08-04
118+2017-07-07
119+2017-06-02
120+2017-05-05
121+2017-04-07
122+2017-03-10
123+2017-02-03
124+2017-01-06
125+2016-12-02
126+2016-11-04
127+2016-10-07
128+2016-09-02
129+2016-08-05
130+2016-07-08
131+2016-06-03
132+2016-05-06
133+2016-04-01
134+2016-03-04
135+2016-02-05
136+2016-01-08
137+2015-12-04
138+2015-11-06
139+2015-10-02
140+2015-09-04
141+2015-08-07
142+2015-07-02
143+2015-06-05
144+2015-05-08
145+2015-04-03
146+2015-03-06
147+2015-02-06
148+2015-01-09
149+2014-12-05
150+2014-11-07
151+2014-10-03
152+2014-09-05
153+2014-08-01
154+2014-07-03
155+2014-06-06
156+2014-05-02
157+2014-04-04
158+2014-03-07
159+2014-02-07
160+2014-01-10
161+2013-12-06
162+2013-11-08
163+2013-10-22
164+2013-09-06
165+2013-08-02
166+2013-07-05
167+2013-06-07
168+2013-05-06
169+2013-05-03
170+2013-04-05
171+2013-03-08
172+2013-02-01
173+2013-01-04
174+2012-12-12
175+2012-12-07
176+2012-11-02
177+2012-10-05
178+2012-09-07
179+2012-08-03
180+2012-07-06
181+2012-06-01
182+2012-05-04
183+2012-04-06
184+2012-03-09
185+2012-02-03
186+2012-01-06
187+2011-12-02
188+2011-11-04
189+2011-10-07
190+2011-09-02
191+2011-08-05
192+2011-07-08
193+2011-06-03
194+2011-05-06
195+2011-04-01
196+2011-03-04
197+2011-02-04
198+2011-01-07
199+2010-12-03
200+2010-11-05
201+2010-10-08
202+2010-09-03
203+2010-08-06
204+2010-07-02
205+2010-06-04
206+2010-05-07
207+2010-04-02
208+2010-03-05
209+2010-02-05
210+2010-01-08
211+2009-12-04
212+2009-11-06
213+2009-10-02
214+2009-09-04
215+2009-08-07
216+2009-07-02
217+2009-06-05
218+2009-05-08
219+2009-04-03
220+2009-03-06
221+2009-02-06
222+2009-01-09
223+2008-12-05
224+2008-11-07
225+2008-10-03
226+2008-09-05
227+2008-08-01
228+2008-07-03
229+2008-06-06
230+2008-05-02
231+2008-04-04
232+2008-03-07
233+2008-02-01
234+2008-01-04
235+2007-12-07
236+2007-11-02
237+2007-10-05
238+2007-09-07
239+2007-08-03
240+2007-07-06
241+2007-06-01
242+2007-05-04
243+2007-04-06
244+2007-03-09
245+2007-02-02
246+2007-01-05
added data/external/fed/feds200628.csv +17068 −0
Large diff (17,068 lines) is not loaded by default to keep the page fast.Load diff
added data/external/fomc/fomc_dates_parsed.json +317 −0
Large diff (318 lines) is not loaded by default to keep the page fast.Load diff
added data/external/fomc/fomc_statement_dates_raw.json +135 −0
Large diff (136 lines) is not loaded by default to keep the page fast.Load diff
added data/external/fomc/fomccalendars.html +1936 −0
Large diff (1,936 lines) is not loaded by default to keep the page fast.Load diff

Diff truncated — file too large.

Menu

Theme