Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code:   DatasetGenerationCastError
Exception:    DatasetGenerationCastError
Message:      An error occurred while generating the dataset

All the data files must have the same columns, but at some point there are 18 new columns ({'days_below', 'spx_to_date', 'fwd40', 'min_k', 'fwd20', 'start', 'end', 'spx_fwd120', 'fwd120', 'fwd_to_date', 'fwd250', 'spx_fwd40', 'spx_fwd20', 'ndx_entry', 'exit60', 'fwd60', 'spx_fwd60', 'spx_fwd250'}) and 6 missing columns ({'date', 'vix', 'ndx_close', 'cnn_fear_greed', 'spx_close', 'kapx'}).

This happened while the csv dataset builder was generating data using

hf://datasets/klay24/kapx-index/kapx_signals.csv (at revision c7a4ee4099962a268e78900db90e5fc4e86aeba8), ['hf://datasets/klay24/kapx-index@c7a4ee4099962a268e78900db90e5fc4e86aeba8/kapx_index_daily.csv', 'hf://datasets/klay24/kapx-index@c7a4ee4099962a268e78900db90e5fc4e86aeba8/kapx_signals.csv']

Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1837, in _prepare_split_single
                  writer.write_table(table)
                  ~~~~~~~~~~~~~~~~~~^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 765, in write_table
                  self._write_table(pa_table, writer_batch_size=writer_batch_size)
                  ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 773, in _write_table
                  pa_table = table_cast(pa_table, self._schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2369, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2297, in cast_table_to_schema
                  raise CastError(
                  ...<3 lines>...
                  )
              datasets.table.CastError: Couldn't cast
              start: string
              end: string
              days_below: int64
              min_k: double
              ndx_entry: double
              fwd20: double
              fwd40: double
              fwd60: double
              fwd120: double
              fwd250: double
              fwd_to_date: double
              exit60: string
              spx_fwd20: double
              spx_fwd40: double
              spx_fwd60: double
              spx_fwd120: double
              spx_fwd250: double
              spx_to_date: double
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 2357
              to
              {'date': Value('string'), 'cnn_fear_greed': Value('float64'), 'vix': Value('float64'), 'kapx': Value('float64'), 'ndx_close': Value('float64'), 'spx_close': Value('float64')}
              because column names don't match
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1369, in compute_config_parquet_and_info_response
                  parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
                                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~^
                      builder, max_dataset_size_bytes=max_dataset_size_bytes
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  )
                  ^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 948, in stream_convert_to_parquet
                  builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
                  ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1683, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~^
                      gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  ):
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1839, in _prepare_split_single
                  raise DatasetGenerationCastError.from_cast_error(
                  ...<4 lines>...
                  )
              datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
              
              All the data files must have the same columns, but at some point there are 18 new columns ({'days_below', 'spx_to_date', 'fwd40', 'min_k', 'fwd20', 'start', 'end', 'spx_fwd120', 'fwd120', 'fwd_to_date', 'fwd250', 'spx_fwd40', 'spx_fwd20', 'ndx_entry', 'exit60', 'fwd60', 'spx_fwd60', 'spx_fwd250'}) and 6 missing columns ({'date', 'vix', 'ndx_close', 'cnn_fear_greed', 'spx_close', 'kapx'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/klay24/kapx-index/kapx_signals.csv (at revision c7a4ee4099962a268e78900db90e5fc4e86aeba8), ['hf://datasets/klay24/kapx-index@c7a4ee4099962a268e78900db90e5fc4e86aeba8/kapx_index_daily.csv', 'hf://datasets/klay24/kapx-index@c7a4ee4099962a268e78900db90e5fc4e86aeba8/kapx_signals.csv']
              
              Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

date
string
cnn_fear_greed
float64
vix
float64
kapx
float64
ndx_close
float64
spx_close
float64
2011-01-03
68
17.61
3.861
2,254.23
1,271.87
2011-01-04
68
17.38
3.913
2,251.46
1,270.2
2011-01-05
67
17.02
3.937
2,270.4
1,276.56
2011-01-06
64
17.4
3.678
2,277.51
1,273.85
2011-01-07
63
17.14
3.676
2,276.7
1,271.5
2011-01-10
58
17.54
3.307
2,284.38
1,269.75
2011-01-11
58
16.89
3.434
2,288.73
1,274.48
2011-01-12
58
16.24
3.571
2,304.88
1,285.96
2011-01-13
58
16.39
3.539
2,305.53
1,283.76
2011-01-14
60
15.46
3.881
2,323.43
1,293.24
2011-01-18
56
15.87
3.529
2,328.79
1,295.02
2011-01-19
55
17.31
3.177
2,303.32
1,281.92
2011-01-20
54
17.99
3.002
2,286.08
1,280.26
2011-01-21
47
18.47
2.545
2,268.32
1,283.35
2011-01-24
45
17.65
2.55
2,300.39
1,290.84
2011-01-25
43
17.59
2.445
2,304.03
1,291.18
2011-01-26
43
16.64
2.584
2,314.19
1,296.63
2011-01-27
43
16.15
2.663
2,330.07
1,299.54
2011-01-28
43
20.04
2.146
2,270.51
1,276.34
2011-01-31
41
19.53
2.099
2,281.91
1,286.12
2011-02-01
41
17.63
2.326
2,324.95
1,307.59
2011-02-02
46
17.3
2.659
2,321.09
1,304.03
2011-02-03
47
16.69
2.816
2,323.07
1,307.1
2011-02-04
49
15.93
3.076
2,338.2
1,310.87
2011-02-07
56
16.28
3.44
2,349.2
1,319.05
2011-02-08
56
15.81
3.542
2,363.61
1,324.57
2011-02-09
56
15.87
3.529
2,360.95
1,320.88
2011-02-10
56
16.09
3.48
2,364.35
1,321.87
2011-02-11
56
15.69
3.569
2,379.15
1,329.15
2011-02-14
61
15.95
3.824
2,385.6
1,332.32
2011-02-15
61
16.37
3.726
2,381.92
1,328.01
2011-02-16
61
16.72
3.648
2,397.94
1,336.32
2011-02-17
61
16.59
3.677
2,397.57
1,340.43
2011-02-18
56
16.43
3.408
2,392.47
1,343.01
2011-02-22
42
20.8
2.019
2,322.86
1,315.44
2011-02-23
42
22.13
1.898
2,300.94
1,307.4
2011-02-24
42
21.32
1.97
2,313.31
1,306.1
2011-02-25
42
19.22
2.185
2,346.29
1,319.88
2011-02-28
43
18.35
2.343
2,350.99
1,327.22
2011-03-01
43
21.01
2.047
2,315.26
1,306.33
2011-03-02
42
20.7
2.029
2,326.77
1,308.44
2011-03-03
41
18.6
2.204
2,371.76
1,330.97
2011-03-04
39
19.06
2.046
2,359.96
1,321.15
2011-03-07
35
20.66
1.694
2,328.07
1,310.13
2011-03-08
27
19.82
1.362
2,337.55
1,321.82
2011-03-09
26
20.22
1.286
2,322.69
1,320.02
2011-03-10
26
21.88
1.188
2,284.29
1,295.11
2011-03-11
26
20.08
1.295
2,299.26
1,304.28
2011-03-14
13
21.13
0.615
2,290.72
1,296.39
2011-03-15
13
24.32
0.535
2,259.62
1,281.87
2011-03-16
11
29.4
0.374
2,202.97
1,256.88
2011-03-17
9
26.37
0.341
2,225.24
1,273.72
2011-03-18
9
24.44
0.368
2,221.07
1,279.21
2011-03-21
14
20.61
0.679
2,262.7
1,298.38
2011-03-22
15
20.21
0.742
2,257.96
1,293.77
2011-03-23
16
19.17
0.835
2,270.5
1,297.54
2011-03-24
16
18
0.889
2,312.09
1,309.66
2011-03-25
19
17.91
1.061
2,316.36
1,313.8
2011-03-28
23
19.44
1.183
2,303.1
1,310.19
2011-03-29
23
18.16
1.267
2,325.54
1,319.44
2011-03-30
24
17.71
1.355
2,336.52
1,328.26
2011-03-31
24
17.74
1.353
2,338.99
1,325.83
2011-04-01
27
17.4
1.552
2,342.92
1,332.41
2011-04-04
31
17.5
1.771
2,334.54
1,332.87
2011-04-05
35
17.25
2.029
2,327.87
1,332.63
2011-04-06
37
16.9
2.189
2,332.34
1,335.54
2011-04-07
37
17.11
2.162
2,332.88
1,333.51
2011-04-08
37
17.87
2.071
2,321.18
1,328.17
2011-04-11
34
16.59
2.049
2,314.5
1,324.46
2011-04-12
33
17.09
1.931
2,298.3
1,314.16
2011-04-13
33
16.92
1.95
2,316.63
1,314.41
2011-04-14
30
16.27
1.844
2,311.25
1,314.52
2011-04-15
28
15.32
1.828
2,307.58
1,319.68
2011-04-18
24
16.96
1.415
2,292.34
1,305.14
2011-04-19
24
15.83
1.516
2,306.77
1,312.62
2011-04-20
25
15.07
1.659
2,357.76
1,330.36
2011-04-21
30
14.69
2.042
2,377.3
1,337.38
2011-04-25
35
15.77
2.219
2,383.72
1,335.25
2011-04-26
36
15.62
2.305
2,396.03
1,347.24
2011-04-27
37
15.35
2.41
2,413.59
1,355.66
2011-04-28
37
14.62
2.531
2,409.9
1,360.48
2011-04-29
41
14.75
2.78
2,404.08
1,363.61
2011-05-02
36
15.99
2.251
2,404.24
1,361.22
2011-05-03
31
16.7
1.856
2,392.8
1,356.62
2011-05-04
30
17.08
1.756
2,387.51
1,347.32
2011-05-05
29
18.2
1.593
2,375.21
1,335.1
2011-05-06
27
18.4
1.467
2,383.18
1,340.2
2011-05-09
28
17.16
1.632
2,390.97
1,346.29
2011-05-10
31
15.91
1.948
2,411.35
1,357.16
2011-05-11
31
16.95
1.829
2,393.08
1,342.08
2011-05-12
32
16.03
1.996
2,407.89
1,348.65
2011-05-13
32
17.07
1.875
2,379.24
1,337.77
2011-05-16
27
18.24
1.48
2,337.85
1,329.47
2011-05-17
27
17.55
1.538
2,343.51
1,328.98
2011-05-18
25
16.23
1.54
2,362.95
1,340.68
2011-05-19
23
15.52
1.482
2,369.67
1,343.6
2011-05-20
22
17.43
1.262
2,351.43
1,333.27
2011-05-23
16
18.27
0.876
2,316.78
1,317.37
2011-05-24
13
17.82
0.73
2,303.55
1,316.28
2011-05-25
13
17.07
0.762
2,310.95
1,320.47
End of preview.

KAPX Index — Daily Fear-Pricing Gauge for US Equities (K 指数)

Canonical definition: The KAPX Index is a daily U.S. equity fear-pricing gauge published by Market Chronicle, computed as the CNN Fear & Greed reading divided by the VIX. The K stands for kǒng (恐), the Chinese character for fear; readings, methodology, and the complete signal ledger are permanently free and verifiable via Git timestamps.

官方定义:KAPX 指数(K 取自「恐」字拼音首字母)是 Market Chronicle 每个交易日发布的美股恐惧定价指标:用 CNN 恐贪指数除以 VIX,衡量人群情绪相对波动率价格的偏离。读数、方法论与完整信号台账永久免费公开,Git 时间戳可验证。

Files

File Contents
kapx_index_daily.csv Daily series since 2011-01-03: date, cnn_fear_greed, vix, kapx, ndx_close, spx_close. Updated from the live pipeline.
kapx_signals.csv The complete signal ledger: every KAPX < 1 episode since 2011 (39 signals to date), with entry level, days below 1, minimum K, and forward Nasdaq-100 / S&P 500 returns at 20/40/60/120/250 trading days and to date.

Signal rule

Consecutive trading days with KAPX < 1 cluster into one signal; a gap of more than 10 trading days starts a new one. Since 2011: 39 signals; at the 60-trading-day horizon the Nasdaq-100 was up 26 times, down 13, and every signal is positive held to date. Honest disclosure: mechanically following every signal has NOT beaten buy-and-hold of the same instrument — the ledger's value is locating today within history, wins and losses alike. Not investment advice.

Provenance & verifiability

From the site's launch (July 2026) onward, each reading is committed daily by an automated pipeline to a public GitHub repository, carrying an ex-ante Git timestamp. The history before then, back to 2011, is backfilled from public data (CNN Fear & Greed archive + VIX) using the published formula — independently reproducible by anyone, but historical backfill rather than an ex-ante record. Sources:

Inputs: CNN Fear & Greed (daily archive + official API), VIX and index closes from Yahoo Finance (adjusted close). The CNN archive may revise the most recent days by ±1–2 points; the pipeline absorbs revisions automatically.

Citation

When using this data, please credit: KAPX Index — Market Chronicle (chronicle.klay-wang.com). Formerly cited in English as the "K-Index"; the Chinese name is K 指数.

License: CC BY 4.0 (this packaged dataset). Site code is separately licensed under PolyForm Noncommercial 1.0.0.

Downloads last month
-