-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathschema.yml
More file actions
823 lines (808 loc) · 29.6 KB
/
Copy pathschema.yml
File metadata and controls
823 lines (808 loc) · 29.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
version: 2
models:
- name: currency_summary
description: >
Comprehensive performance analysis of currency pairs across multiple time periods.
This model calculates key financial metrics including total returns, volatility,
win rates, and trading activity statistics for major currency pairs over 12 weeks,
6 months, 1 year, and 5 year periods. Provides insights into currency market
trends and risk characteristics.
tests:
- unique_combination:
arguments:
combination_of_columns: ['symbol', 'time_period']
columns:
- name: symbol
tests:
- not_null
- name: time_period
tests:
- not_null
- accepted_values:
arguments:
values: ['12_weeks', '6_months', '1_year', '5_years']
- name: volatility_pct
tests:
- value_in_range:
arguments:
min_value: 0
- name: win_rate_pct
tests:
- value_in_range:
arguments:
min_value: 0
max_value: 100
- name: global_markets_summary
description: >
Performance analysis of global market indices and securities across multiple time periods.
This model aggregates trading data to calculate comprehensive performance metrics
including returns, volatility, win rates, and daily trading statistics for global
markets over 12 weeks, 6 months, 1 year, and 5 year periods. Enables comparison
of global market performance and risk profiles.
tests:
- unique_combination:
arguments:
combination_of_columns: ['symbol', 'time_period']
columns:
- name: symbol
tests:
- not_null
- name: time_period
tests:
- not_null
- accepted_values:
arguments:
values: ['12_weeks', '6_months', '1_year', '5_years']
- name: volatility_pct
tests:
- value_in_range:
arguments:
min_value: 0
- name: win_rate_pct
tests:
- value_in_range:
arguments:
min_value: 0
max_value: 100
- name: major_indicies_summary
description: >
Performance analysis of major stock market indices across multiple time periods.
This model calculates key performance indicators including total returns, daily
average returns, volatility, win rates, and trading activity metrics for major
indices like S&P 500, NASDAQ, and Dow Jones over 12 weeks, 6 months, 1 year,
and 5 year periods. Provides comprehensive market performance insights.
tests:
- unique_combination:
arguments:
combination_of_columns: ['symbol', 'time_period']
columns:
- name: symbol
tests:
- not_null
- name: time_period
tests:
- not_null
- accepted_values:
arguments:
values: ['12_weeks', '6_months', '1_year', '5_years']
- name: volatility_pct
tests:
- value_in_range:
arguments:
min_value: 0
- name: win_rate_pct
tests:
- value_in_range:
arguments:
min_value: 0
max_value: 100
- name: us_sector_summary
description: >
Performance analysis of US sector-based indices and ETFs across multiple time periods.
This model aggregates sector performance data to calculate comprehensive metrics
including returns, volatility, win rates, and trading statistics for US sectors
over 12 weeks, 6 months, 1 year, and 5 year periods. Enables sector rotation
analysis and relative performance comparison across different market sectors.
tests:
- unique_combination:
arguments:
combination_of_columns: ['symbol', 'time_period']
columns:
- name: symbol
tests:
- not_null
- name: time_period
tests:
- not_null
- accepted_values:
arguments:
values: ['12_weeks', '6_months', '1_year', '5_years']
- name: volatility_pct
tests:
- value_in_range:
arguments:
min_value: 0
- name: win_rate_pct
tests:
- value_in_range:
arguments:
min_value: 0
max_value: 100
- name: sp500_companies_summary
description: >
Performance analysis of S&P 500 companies across multiple time periods.
This model aggregates daily trading data to calculate returns, volatility,
win rates, and trading statistics over 12 weeks, 6 months, 1 year, and 5 year
periods for S&P 500 constituents.
tests:
- unique_combination:
arguments:
combination_of_columns: ['symbol', 'time_period']
columns:
- name: symbol
tests:
- not_null
- name: time_period
tests:
- not_null
- accepted_values:
arguments:
values: ['12_weeks', '6_months', '1_year', '5_years']
- name: volatility_pct
tests:
- value_in_range:
arguments:
min_value: 0
- name: win_rate_pct
tests:
- value_in_range:
arguments:
min_value: 0
max_value: 100
- name: nasdaq_companies_summary
description: >
Performance analysis of NASDAQ companies across multiple time periods.
This model aggregates daily trading data to calculate returns, volatility,
win rates, and trading statistics over 12 weeks, 6 months, 1 year, and 5 year
periods for NASDAQ-listed companies.
tests:
- unique_combination:
arguments:
combination_of_columns: ['symbol', 'time_period']
columns:
- name: symbol
tests:
- not_null
- name: time_period
tests:
- not_null
- accepted_values:
arguments:
values: ['12_weeks', '6_months', '1_year', '5_years']
- name: volatility_pct
tests:
- value_in_range:
arguments:
min_value: 0
- name: win_rate_pct
tests:
- value_in_range:
arguments:
min_value: 0
max_value: 100
- name: currency_analysis_return
description: >
Daily forex exchange rates and rolling returns.
Grain: one row per currency pair per trading day.
semantic_model:
enabled: true
name: currency_daily_rates
agg_time_dimension: trade_date
columns:
- name: symbol
description: Currency pair symbol
entity:
name: currency_pair
type: primary
dimension:
type: categorical
tests:
- not_null
- name: exchange
description: Exchange where the currency pair is traded
dimension:
type: categorical
tests:
- not_null
- name: date
description: Trading date
granularity: day
dimension:
name: trade_date
type: time
tests:
- not_null
- name: current_price
description: Current adjusted close price
- name: pct_change_1mo
description: Percentage change from 1 month ago to current price
- name: pct_change_1yr
description: Percentage change from 1 year ago to current price
metrics:
- name: fx_spot_rate
label: FX Spot Rate
description: >
Maximum daily FX rate across the selected currency pairs and time range.
Group by currency pair and trade_date for point-in-time rates.
type: simple
agg: max
expr: current_price
- name: fx_return_1mo
label: FX 1-Month Return (%)
description: Average 1-month trailing return across selected currency pairs.
type: simple
agg: average
expr: pct_change_1mo
- name: fx_return_1yr
label: FX 1-Year Return (%)
description: Average 1-year trailing return across selected currency pairs.
type: simple
agg: average
expr: pct_change_1yr
- name: global_markets_analysis_return
description: >
Daily rolling analysis of global markets with rolling windows (1 year, 9 months, 6 months, 3 months, 1 month).
For each window, calculates highs, lows, standard deviation of daily price differences, and percentage changes.
columns:
- name: symbol
description: Global market symbol
tests:
- not_null
- name: exchange
description: Exchange where the security is traded
tests:
- not_null
- name: date
description: Trading date
tests:
- not_null
- name: current_price
description: Current adjusted close price
- name: current_high
description: Current day's high price
- name: current_low
description: Current day's low price
- name: current_volume
description: Current day's trading volume
- name: high_1yr
description: Maximum price over the past 1 year
- name: low_1yr
description: Minimum price over the past 1 year
- name: std_diff_1yr
description: Standard deviation of daily price differences over the past 1 year
- name: pct_change_1yr
description: Percentage change from 1 year ago to current price
- name: high_9mo
description: Maximum price over the past 9 months
- name: low_9mo
description: Minimum price over the past 9 months
- name: std_diff_9mo
description: Standard deviation of daily price differences over the past 9 months
- name: pct_change_9mo
description: Percentage change from 9 months ago to current price
- name: high_6mo
description: Maximum price over the past 6 months
- name: low_6mo
description: Minimum price over the past 6 months
- name: std_diff_6mo
description: Standard deviation of daily price differences over the past 6 months
- name: pct_change_6mo
description: Percentage change from 6 months ago to current price
- name: high_3mo
description: Maximum price over the past 3 months
- name: low_3mo
description: Minimum price over the past 3 months
- name: std_diff_3mo
description: Standard deviation of daily price differences over the past 3 months
- name: pct_change_3mo
description: Percentage change from 3 months ago to current price
- name: high_1mo
description: Maximum price over the past 1 month
- name: low_1mo
description: Minimum price over the past 1 month
- name: std_diff_1mo
description: Standard deviation of daily price differences over the past 1 month
- name: pct_change_1mo
description: Percentage change from 1 month ago to current price
- name: major_indicies_analysis_return
description: >
Daily rolling analysis of major indices with rolling windows (1 year, 9 months, 6 months, 3 months, 1 month).
For each window, calculates highs, lows, standard deviation of daily price differences, and percentage changes.
columns:
- name: symbol
description: Major index symbol
tests:
- not_null
- name: exchange
description: Exchange where the index is traded
tests:
- not_null
- name: date
description: Trading date
tests:
- not_null
- name: factor_analysis_return
description: >
Daily OHLCV price data and rolling returns for US equity factor ETFs
covering value, quality, momentum, size, and minimum volatility.
Grain: one row per factor ETF symbol per exchange per trading day.
tests:
- unique_combination:
arguments:
combination_of_columns: ['symbol', 'exchange', 'date']
columns:
- name: symbol
description: Factor ETF symbol.
tests:
- not_null
- name: exchange
description: Exchange where the ETF is traded.
tests:
- not_null
- name: date
description: Trading date.
tests:
- not_null
- name: current_price
description: Current adjusted close price.
- name: current_volume
description: Current day's trading volume.
- name: pct_change_1mo
description: Percentage change from 1 month ago to current price.
- name: pct_change_3mo
description: Percentage change from 3 months ago to current price.
- name: pct_change_1yr
description: Percentage change from 1 year ago to current price.
- name: std_diff_1yr
description: Standard deviation of daily price differences over the past 1 year.
- name: factor_sector_correlation
description: >
Latest rolling correlations and relative performance spreads between
US equity factor ETFs and sector, broad market, style, and thematic ETFs.
Supports factor rotation, sector exposure, and thematic relationship analysis.
tests:
- unique_combination:
arguments:
combination_of_columns: ['factor_sector_key']
columns:
- name: factor_sector_key
description: Stable key for factor, sector, and as-of date.
tests:
- not_null
- unique
- name: as_of_date
description: Latest common trading date used for the correlation window.
tests:
- not_null
- name: factor_symbol
description: Factor ETF ticker symbol.
tests:
- not_null
- name: factor_name
description: Factor exposure represented by the ETF.
tests:
- not_null
- accepted_values:
arguments:
values: ['value', 'quality', 'momentum', 'size', 'minimum_volatility']
- name: comparison_symbol
description: Compared ETF ticker symbol.
tests:
- not_null
- name: comparison_name
description: Human-readable compared ETF name.
- name: comparison_universe
description: Compared ETF universe.
tests:
- not_null
- accepted_values:
arguments:
values: ['sector_etf', 'broad_market_etf', 'style_etf', 'thematic_etf']
- name: sector_symbol
description: Backward-compatible compared ETF ticker symbol.
tests:
- not_null
- name: sector_name
description: Backward-compatible compared ETF name.
- name: corr_3mo
description: Rolling 3-month daily-return correlation between the factor ETF and compared ETF.
- name: corr_1yr
description: Rolling 1-year daily-return correlation between the factor ETF and compared ETF.
- name: factor_sector_return_spread_3mo
description: Factor ETF 3-month return minus compared ETF 3-month return.
- name: factor_sector_return_spread_1yr
description: Factor ETF 1-year return minus compared ETF 1-year return.
- name: sp500_companies_analysis_return
description: >
Daily OHLCV price data and rolling returns for S&P 500 companies.
Grain: one row per symbol per exchange per trading day.
semantic_model:
enabled: true
name: market_daily_prices
agg_time_dimension: trade_date
columns:
- name: symbol
description: Company symbol
entity:
name: stock
type: primary
dimension:
type: categorical
tests:
- not_null
- name: exchange
description: Exchange where the security is traded
dimension:
type: categorical
tests:
- not_null
- name: date
description: Trading date
granularity: day
dimension:
name: trade_date
type: time
tests:
- not_null
- name: current_price
description: Current adjusted close price
- name: current_volume
description: Current day's trading volume
- name: pct_change_1mo
description: Percentage change from 1 month ago to current price
- name: pct_change_3mo
description: Percentage change from 3 months ago to current price
- name: pct_change_6mo
description: Percentage change from 6 months ago to current price
- name: pct_change_1yr
description: Percentage change from 1 year ago to current price
- name: std_diff_1yr
description: Standard deviation of daily price differences over the past 1 year
metrics:
- name: max_close_price
label: Max Close Price
description: >
Maximum daily closing price across the selected symbols and time range.
Group by stock and trade_date for point-in-time close price analysis.
type: simple
agg: max
expr: current_price
fill_nulls_with: 0
- name: total_volume
label: Total Trading Volume
description: Total share volume traded across selected symbols and time range.
type: simple
agg: sum
expr: current_volume
- name: avg_return_1mo
label: Avg 1-Month Return (%)
description: >
Average 1-month trailing price return (%). Reflects the mean of each
symbol's 1-month lookback return across selected dates.
type: simple
agg: average
expr: pct_change_1mo
- name: avg_return_3mo
label: Avg 3-Month Return (%)
description: Average 3-month trailing price return (%).
type: simple
agg: average
expr: pct_change_3mo
- name: avg_return_6mo
label: Avg 6-Month Return (%)
description: Average 6-month trailing price return (%).
type: simple
agg: average
expr: pct_change_6mo
- name: avg_return_1yr
label: Avg 1-Year Return (%)
description: >
Average 1-year trailing price return (%). Common baseline for annual
performance comparisons (not annualized — reflects actual 12m return).
type: simple
agg: average
expr: pct_change_1yr
- name: price_volatility_proxy
label: Price Volatility (1-Year StdDev)
description: >
Average 1-year standard deviation of daily dollar price changes.
Higher = more price dispersion. For a normalized volatility ratio,
see the cross-asset annualized_volatility_ratio metric on asset_daily_returns.
type: simple
agg: average
expr: std_diff_1yr
- name: unique_symbols
label: Distinct Symbols
description: Count of distinct ticker symbols in the selection.
type: simple
agg: count_distinct
expr: symbol
- name: nasdaq_companies_analysis_return
description: >
Daily rolling analysis of NASDAQ companies with rolling windows (1 year, 9 months, 6 months, 3 months, 1 month).
For each window, calculates highs, lows, standard deviation of daily price differences, and percentage changes.
columns:
- name: symbol
description: Company symbol
tests:
- not_null
- name: exchange
description: Exchange where the security is traded
tests:
- not_null
- name: date
description: Trading date
tests:
- not_null
- name: current_price
description: Current adjusted close price
- name: current_high
description: Current day's high price
- name: current_low
description: Current day's low price
- name: current_volume
description: Current day's trading volume
- name: high_1yr
description: Maximum price over the past 1 year
- name: low_1yr
description: Minimum price over the past 1 year
- name: std_diff_1yr
description: Standard deviation of daily price differences over the past 1 year
- name: pct_change_1yr
description: Percentage change from 1 year ago to current price
- name: high_9mo
description: Maximum price over the past 9 months
- name: low_9mo
description: Minimum price over the past 9 months
- name: std_diff_9mo
description: Standard deviation of daily price differences over the past 9 months
- name: pct_change_9mo
description: Percentage change from 9 months ago to current price
- name: high_6mo
description: Maximum price over the past 6 months
- name: low_6mo
description: Minimum price over the past 6 months
- name: std_diff_6mo
description: Standard deviation of daily price differences over the past 6 months
- name: pct_change_6mo
description: Percentage change from 6 months ago to current price
- name: high_3mo
description: Maximum price over the past 3 months
- name: low_3mo
description: Minimum price over the past 3 months
- name: std_diff_3mo
description: Standard deviation of daily price differences over the past 3 months
- name: pct_change_3mo
description: Percentage change from 3 months ago to current price
- name: high_1mo
description: Maximum price over the past 1 month
- name: low_1mo
description: Minimum price over the past 1 month
- name: std_diff_1mo
description: Standard deviation of daily price differences over the past 1 month
- name: pct_change_1mo
description: Percentage change from 1 month ago to current price
- name: us_sector_analysis_return
description: >
Daily OHLCV price data and rolling returns for US sector ETFs.
Grain: one row per sector symbol per exchange per trading day.
semantic_model:
enabled: true
name: sector_daily_performance
agg_time_dimension: trade_date
columns:
- name: symbol
description: US sector ETF symbol
entity:
name: sector_etf
type: primary
dimension:
type: categorical
tests:
- not_null
- name: exchange
description: Exchange where the ETF is traded
dimension:
type: categorical
tests:
- not_null
- name: date
description: Trading date
granularity: day
dimension:
name: trade_date
type: time
tests:
- not_null
- name: current_price
description: Current adjusted close price
- name: current_high
description: Current day's high price
- name: current_low
description: Current day's low price
- name: current_volume
description: Current day's trading volume
- name: high_1yr
description: Maximum price over the past 1 year
- name: low_1yr
description: Minimum price over the past 1 year
- name: std_diff_1yr
description: Standard deviation of daily price differences over the past 1 year
- name: pct_change_1yr
description: Percentage change from 1 year ago to current price
- name: high_9mo
description: Maximum price over the past 9 months
- name: low_9mo
description: Minimum price over the past 9 months
- name: std_diff_9mo
description: Standard deviation of daily price differences over the past 9 months
- name: pct_change_9mo
description: Percentage change from 9 months ago to current price
- name: high_6mo
description: Maximum price over the past 6 months
- name: low_6mo
description: Minimum price over the past 6 months
- name: std_diff_6mo
description: Standard deviation of daily price differences over the past 6 months
- name: pct_change_6mo
description: Percentage change from 6 months ago to current price
- name: high_3mo
description: Maximum price over the past 3 months
- name: low_3mo
description: Minimum price over the past 3 months
- name: std_diff_3mo
description: Standard deviation of daily price differences over the past 3 months
- name: pct_change_3mo
description: Percentage change from 3 months ago to current price
- name: high_1mo
description: Maximum price over the past 1 month
- name: low_1mo
description: Minimum price over the past 1 month
- name: std_diff_1mo
description: Standard deviation of daily price differences over the past 1 month
- name: pct_change_1mo
description: Percentage change from 1 month ago to current price
metrics:
- name: sector_avg_return_1yr
label: Sector Avg 1-Year Return (%)
description: Average 1-year trailing return across sector ETFs.
type: simple
agg: average
expr: pct_change_1yr
- name: sector_avg_return_1mo
label: Sector Avg 1-Month Return (%)
description: Average 1-month trailing return across sector ETFs.
type: simple
agg: average
expr: pct_change_1mo
- name: sector_volatility_proxy
label: Sector Price Volatility (1-Year StdDev)
description: Average 1-year standard deviation of daily price changes for sector ETFs.
type: simple
agg: average
expr: std_diff_1yr
- name: sector_max_close_price
label: Sector Max Close Price
description: >
Maximum daily closing price for sector ETFs across the selected time range.
Group by sector ETF and trade_date for point-in-time price analysis.
type: simple
agg: max
expr: current_price
- name: fixed_income_analysis_return
description: >
Daily price data and rolling returns for fixed income instruments (bonds, Treasuries).
Grain: one row per symbol per exchange per trading day.
semantic_model:
enabled: true
name: fixed_income_daily_prices
agg_time_dimension: trade_date
columns:
- name: symbol
description: Fixed income ETF symbol
entity:
name: bond_instrument
type: primary
dimension:
type: categorical
tests:
- not_null
- name: exchange
description: Exchange where the ETF is traded
dimension:
type: categorical
tests:
- not_null
- name: date
description: Trading date
granularity: day
dimension:
name: trade_date
type: time
tests:
- not_null
- name: current_price
description: Current adjusted close price
- name: current_high
description: Current day's high price
- name: current_low
description: Current day's low price
- name: current_volume
description: Current day's trading volume
- name: high_1yr
description: Maximum price over the past 1 year
- name: low_1yr
description: Minimum price over the past 1 year
- name: std_diff_1yr
description: Standard deviation of daily price differences over the past 1 year
- name: pct_change_1yr
description: Percentage change from 1 year ago to current price
- name: high_9mo
description: Maximum price over the past 9 months
- name: low_9mo
description: Minimum price over the past 9 months
- name: std_diff_9mo
description: Standard deviation of daily price differences over the past 9 months
- name: pct_change_9mo
description: Percentage change from 9 months ago to current price
- name: high_6mo
description: Maximum price over the past 6 months
- name: low_6mo
description: Minimum price over the past 6 months
- name: std_diff_6mo
description: Standard deviation of daily price differences over the past 6 months
- name: pct_change_6mo
description: Percentage change from 6 months ago to current price
- name: high_3mo
description: Maximum price over the past 3 months
- name: low_3mo
description: Minimum price over the past 3 months
- name: std_diff_3mo
description: Standard deviation of daily price differences over the past 3 months
- name: pct_change_3mo
description: Percentage change from 3 months ago to current price
- name: high_1mo
description: Maximum price over the past 1 month
- name: low_1mo
description: Minimum price over the past 1 month
- name: std_diff_1mo
description: Standard deviation of daily price differences over the past 1 month
- name: pct_change_1mo
description: Percentage change from 1 month ago to current price
metrics:
- name: bond_max_price
label: Fixed Income Max Price
description: >
Maximum daily price for fixed income instruments across the selected time range.
Group by bond instrument and trade_date for point-in-time price analysis.
type: simple
agg: max
expr: current_price
- name: bond_return_1mo
label: Fixed Income 1-Month Return (%)
description: Average 1-month trailing return across selected fixed income instruments.
type: simple
agg: average
expr: pct_change_1mo
- name: bond_return_1yr
label: Fixed Income 1-Year Return (%)
description: Average 1-year trailing return across selected fixed income instruments.
type: simple
agg: average
expr: pct_change_1yr
- name: bond_volatility_proxy
label: Fixed Income Price Volatility (1-Year StdDev)
description: Average 1-year standard deviation of daily price changes for fixed income instruments.
type: simple
agg: average
expr: std_diff_1yr