hedgequantx 2.9.223 → 2.9.224

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hedgequantx",
3
- "version": "2.9.223",
3
+ "version": "2.9.224",
4
4
  "description": "HedgeQuantX - Prop Futures Trading CLI",
5
5
  "main": "src/app.js",
6
6
  "bin": {
@@ -14,225 +14,225 @@
14
14
  // ============================================================================
15
15
 
16
16
  const INSTRUMENT_CONTEXT = {
17
- // NASDAQ (NQ/MNQ) - Tech-heavy, high beta, momentum-driven
17
+ // NASDAQ (NQ/MNQ) - High volatility, momentum-driven
18
18
  NQ: {
19
19
  name: 'Nasdaq',
20
- traits: ['tech-driven', 'high-beta', 'momentum'],
20
+ traits: ['high-volatility', 'momentum', 'mean-reverting'],
21
21
  bullish: [
22
- 'Tech rally lifting index, FAANG leading',
23
- 'Risk-on sentiment, growth stocks bid',
24
- 'Nasdaq outperforming, tech momentum strong',
25
- 'Mega-caps driving index higher',
26
- 'Tech sector rotation bullish',
27
- 'Growth over value trade active',
28
- 'NASDAQ bid on semiconductor strength',
29
- 'Tech bulls in control, AI momentum',
30
- 'Index lifting on NVDA/AAPL strength',
31
- 'Risk appetite strong, tech leading',
22
+ 'Positive Z-score momentum building',
23
+ 'OFI bid imbalance detected',
24
+ 'Buyers absorbing at bid levels',
25
+ 'Momentum factor positive',
26
+ 'Upside tick pressure increasing',
27
+ 'Bid depth strengthening',
28
+ 'Volume-weighted flow bullish',
29
+ 'VWAP reclaim in progress',
30
+ 'Positive order flow divergence',
31
+ 'Cumulative delta rising',
32
32
  ],
33
33
  bearish: [
34
- 'Tech weakness dragging index',
35
- 'Risk-off rotation out of growth',
36
- 'Nasdaq underperforming, rates pressure',
37
- 'Mega-cap selling pressure',
38
- 'Tech sector rotation bearish',
39
- 'Value over growth trade active',
40
- 'NASDAQ offered on chip weakness',
41
- 'Tech bears pressing, yields rising',
42
- 'Index heavy on FAANG weakness',
43
- 'Risk aversion hitting growth names',
34
+ 'Negative Z-score momentum building',
35
+ 'OFI offer imbalance detected',
36
+ 'Sellers pressing through bids',
37
+ 'Momentum factor negative',
38
+ 'Downside tick pressure increasing',
39
+ 'Offer depth building',
40
+ 'Volume-weighted flow bearish',
41
+ 'VWAP breakdown confirmed',
42
+ 'Negative order flow divergence',
43
+ 'Cumulative delta falling',
44
44
  ],
45
45
  neutral: [
46
- 'Tech consolidating, awaiting catalyst',
47
- 'Nasdaq range-bound, mixed sector action',
48
- 'Index digesting recent move',
49
- 'Tech in balance, watching yields',
50
- 'Mega-caps mixed, no clear direction',
46
+ 'Z-score normalized, awaiting extremity',
47
+ 'OFI balanced, no clear flow',
48
+ 'Price discovery phase active',
49
+ 'Volatility compression detected',
50
+ 'Range-bound tick action',
51
51
  ],
52
52
  },
53
53
 
54
- // S&P 500 (ES/MES) - Broad market, institutional, balanced
54
+ // S&P 500 (ES/MES) - Balanced, institutional flow
55
55
  ES: {
56
56
  name: 'S&P 500',
57
- traits: ['broad-market', 'institutional', 'balanced'],
57
+ traits: ['balanced', 'institutional', 'mean-reverting'],
58
58
  bullish: [
59
- 'Broad market strength, risk-on',
60
- 'S&P breaking out, breadth improving',
61
- 'Institutional buying across sectors',
62
- 'Index bid on economic optimism',
63
- 'Defensive to offensive rotation',
64
- 'Market internals bullish',
65
- 'S&P above key moving averages',
66
- 'Broad rally, advancers leading',
67
- 'Index strength on volume',
68
- 'Risk appetite improving broadly',
59
+ 'Positive Z-score building',
60
+ 'OFI bid imbalance confirmed',
61
+ 'Absorption at bid levels',
62
+ 'Momentum factor turning up',
63
+ 'Positive tick divergence',
64
+ 'Bid stack building',
65
+ 'Volume delta positive',
66
+ 'VWAP support holding',
67
+ 'Order flow imbalance bullish',
68
+ 'Delta accumulation detected',
69
69
  ],
70
70
  bearish: [
71
- 'Broad market weakness, risk-off',
72
- 'S&P breaking down, breadth weak',
73
- 'Institutional selling pressure',
74
- 'Index offered on macro concerns',
75
- 'Offensive to defensive rotation',
76
- 'Market internals bearish',
77
- 'S&P below key support levels',
78
- 'Broad selling, decliners leading',
79
- 'Index weakness on volume',
80
- 'Risk aversion across sectors',
71
+ 'Negative Z-score building',
72
+ 'OFI offer imbalance confirmed',
73
+ 'Absorption at offer levels',
74
+ 'Momentum factor turning down',
75
+ 'Negative tick divergence',
76
+ 'Offer stack building',
77
+ 'Volume delta negative',
78
+ 'VWAP resistance holding',
79
+ 'Order flow imbalance bearish',
80
+ 'Delta distribution detected',
81
81
  ],
82
82
  neutral: [
83
- 'S&P consolidating at key level',
84
- 'Broad market in balance',
85
- 'Index awaiting economic data',
86
- 'Sector rotation neutral',
87
- 'Market digesting Fed commentary',
83
+ 'Z-score near zero, balanced',
84
+ 'OFI neutral, no edge',
85
+ 'Tick flow balanced',
86
+ 'Volatility regime stable',
87
+ 'Awaiting statistical extremity',
88
88
  ],
89
89
  },
90
90
 
91
- // Crude Oil (CL/MCL) - Energy, geopolitical, supply/demand
91
+ // Crude Oil (CL/MCL) - High volatility, trend-following
92
92
  CL: {
93
93
  name: 'Crude Oil',
94
- traits: ['energy', 'geopolitical', 'supply-demand'],
94
+ traits: ['high-volatility', 'trending', 'momentum'],
95
95
  bullish: [
96
- 'Crude bid on supply concerns',
97
- 'Energy rally, OPEC supporting',
98
- 'Oil lifting on inventory draw',
99
- 'Geopolitical risk premium rising',
100
- 'Demand outlook improving',
101
- 'Refinery demand strong',
102
- 'Crude above resistance, bulls in control',
103
- 'Energy sector leading broader market',
104
- 'WTI bid on dollar weakness',
105
- 'Supply disruption fears lifting prices',
96
+ 'Positive Z-score momentum',
97
+ 'OFI bid pressure building',
98
+ 'Absorption at bid levels',
99
+ 'Momentum vector positive',
100
+ 'Upside tick acceleration',
101
+ 'Bid depth increasing',
102
+ 'Volume flow bullish',
103
+ 'Delta accumulation strong',
104
+ 'Positive tick imbalance',
105
+ 'Order flow divergence up',
106
106
  ],
107
107
  bearish: [
108
- 'Crude offered on demand fears',
109
- 'Energy selling, OPEC uncertainty',
110
- 'Oil dropping on inventory build',
111
- 'Geopolitical risk premium fading',
112
- 'Demand outlook weakening',
113
- 'Refinery maintenance weighing',
114
- 'Crude below support, bears pressing',
115
- 'Energy sector lagging market',
116
- 'WTI offered on dollar strength',
117
- 'Supply glut concerns pressuring',
108
+ 'Negative Z-score momentum',
109
+ 'OFI offer pressure building',
110
+ 'Absorption at offer levels',
111
+ 'Momentum vector negative',
112
+ 'Downside tick acceleration',
113
+ 'Offer depth increasing',
114
+ 'Volume flow bearish',
115
+ 'Delta distribution strong',
116
+ 'Negative tick imbalance',
117
+ 'Order flow divergence down',
118
118
  ],
119
119
  neutral: [
120
- 'Crude in balance, awaiting EIA data',
121
- 'Energy consolidating near OPEC meeting',
122
- 'Oil range-bound on mixed signals',
123
- 'Supply/demand in equilibrium',
124
- 'Crude watching dollar direction',
120
+ 'Z-score near mean',
121
+ 'OFI balanced, no edge',
122
+ 'Tick flow equilibrium',
123
+ 'Volatility regime stable',
124
+ 'Awaiting directional signal',
125
125
  ],
126
126
  },
127
127
 
128
- // Gold (GC/MGC) - Safe haven, inflation hedge, rates sensitive
128
+ // Gold (GC/MGC) - Mean-reverting, volatility sensitive
129
129
  GC: {
130
130
  name: 'Gold',
131
- traits: ['safe-haven', 'inflation-hedge', 'rates-sensitive'],
131
+ traits: ['mean-reverting', 'volatility-sensitive', 'balanced'],
132
132
  bullish: [
133
- 'Gold bid on safe-haven demand',
134
- 'Precious metals rally, risk-off',
135
- 'Gold lifting on inflation fears',
136
- 'Real yields dropping, gold bullish',
137
- 'Flight to safety supporting gold',
138
- 'Central bank buying supportive',
139
- 'Gold above resistance, bulls active',
140
- 'Dollar weakness lifting gold',
141
- 'Geopolitical uncertainty bid',
142
- 'Inflation hedge demand rising',
133
+ 'Positive Z-score deviation',
134
+ 'OFI bid imbalance',
135
+ 'Buyers absorbing offers',
136
+ 'Momentum turning positive',
137
+ 'Positive tick pressure',
138
+ 'Bid stack building',
139
+ 'Volume delta positive',
140
+ 'Cumulative flow bullish',
141
+ 'Order imbalance up',
142
+ 'Statistical edge long',
143
143
  ],
144
144
  bearish: [
145
- 'Gold offered on risk-on sentiment',
146
- 'Precious metals selling, yields rising',
147
- 'Gold dropping on Fed hawkishness',
148
- 'Real yields rising, gold bearish',
149
- 'Risk appetite reducing safe-haven demand',
150
- 'ETF outflows pressuring gold',
151
- 'Gold below support, bears in control',
152
- 'Dollar strength weighing on gold',
153
- 'Risk-on rotation out of metals',
154
- 'Inflation expectations cooling',
145
+ 'Negative Z-score deviation',
146
+ 'OFI offer imbalance',
147
+ 'Sellers absorbing bids',
148
+ 'Momentum turning negative',
149
+ 'Negative tick pressure',
150
+ 'Offer stack building',
151
+ 'Volume delta negative',
152
+ 'Cumulative flow bearish',
153
+ 'Order imbalance down',
154
+ 'Statistical edge short',
155
155
  ],
156
156
  neutral: [
157
- 'Gold consolidating near key level',
158
- 'Precious metals in balance',
159
- 'Gold watching Fed commentary',
160
- 'Real yields stable, gold range-bound',
161
- 'Safe-haven demand muted',
157
+ 'Z-score normalized',
158
+ 'OFI balanced',
159
+ 'Tick flow neutral',
160
+ 'Volatility compression',
161
+ 'No statistical edge',
162
162
  ],
163
163
  },
164
164
 
165
- // Russell 2000 (RTY/M2K) - Small caps, domestic, risk appetite
165
+ // Russell 2000 (RTY/M2K) - High beta, momentum-driven
166
166
  RTY: {
167
167
  name: 'Russell 2000',
168
- traits: ['small-cap', 'domestic', 'risk-appetite'],
168
+ traits: ['high-beta', 'momentum', 'volatile'],
169
169
  bullish: [
170
- 'Small caps outperforming, risk-on',
171
- 'Russell leading, domestic strength',
172
- 'Risk appetite lifting small caps',
173
- 'RTY breaking out, breadth strong',
174
- 'Regional banks supporting index',
175
- 'Small cap rotation accelerating',
176
- 'Domestic economy optimism',
177
- 'Russell above key resistance',
178
- 'Risk-on favoring high-beta names',
179
- 'Small caps catching bid',
170
+ 'Positive Z-score momentum',
171
+ 'OFI bid imbalance strong',
172
+ 'Absorption at bid levels',
173
+ 'Momentum factor bullish',
174
+ 'Upside tick pressure',
175
+ 'Bid depth building',
176
+ 'Volume flow positive',
177
+ 'Delta accumulation',
178
+ 'Tick imbalance bullish',
179
+ 'Order flow divergence up',
180
180
  ],
181
181
  bearish: [
182
- 'Small caps underperforming, risk-off',
183
- 'Russell lagging, credit concerns',
184
- 'Risk aversion hitting small caps',
185
- 'RTY breaking down, breadth weak',
186
- 'Regional bank weakness dragging',
187
- 'Small cap rotation reversing',
188
- 'Domestic economy concerns',
189
- 'Russell below support, bears active',
190
- 'Risk-off hitting high-beta names',
191
- 'Small caps under pressure',
182
+ 'Negative Z-score momentum',
183
+ 'OFI offer imbalance strong',
184
+ 'Absorption at offer levels',
185
+ 'Momentum factor bearish',
186
+ 'Downside tick pressure',
187
+ 'Offer depth building',
188
+ 'Volume flow negative',
189
+ 'Delta distribution',
190
+ 'Tick imbalance bearish',
191
+ 'Order flow divergence down',
192
192
  ],
193
193
  neutral: [
194
- 'Small caps consolidating',
195
- 'Russell in balance, watching rates',
196
- 'RTY range-bound, mixed signals',
197
- 'Small cap sentiment neutral',
198
- 'Regional banks mixed',
194
+ 'Z-score balanced',
195
+ 'OFI neutral',
196
+ 'Tick flow even',
197
+ 'Volatility stable',
198
+ 'No statistical edge',
199
199
  ],
200
200
  },
201
201
 
202
- // Dow Jones (YM/MYM) - Blue chips, value, defensive
202
+ // Dow Jones (YM/MYM) - Balanced, mean-reverting
203
203
  YM: {
204
204
  name: 'Dow Jones',
205
- traits: ['blue-chip', 'value', 'defensive'],
205
+ traits: ['balanced', 'mean-reverting', 'stable'],
206
206
  bullish: [
207
- 'Blue chips leading, value rotation',
208
- 'Dow outperforming, defensive strength',
209
- 'Industrials lifting index',
210
- 'Value over growth trade active',
211
- 'Dow breaking out, old economy bid',
212
- 'Blue chip accumulation',
213
- 'Defensive sectors leading',
214
- 'YM above resistance, bulls active',
215
- 'Dow component strength broad',
216
- 'Value rotation accelerating',
207
+ 'Positive Z-score building',
208
+ 'OFI bid imbalance',
209
+ 'Buyers absorbing',
210
+ 'Momentum positive',
211
+ 'Tick pressure up',
212
+ 'Bid stack strong',
213
+ 'Volume delta bullish',
214
+ 'Cumulative flow up',
215
+ 'Order imbalance long',
216
+ 'Statistical edge bullish',
217
217
  ],
218
218
  bearish: [
219
- 'Blue chips lagging, growth leading',
220
- 'Dow underperforming, cyclicals weak',
221
- 'Industrials dragging index',
222
- 'Growth over value trade active',
223
- 'Dow breaking down, selling pressure',
224
- 'Blue chip distribution',
225
- 'Defensive sectors under pressure',
226
- 'YM below support, bears pressing',
227
- 'Dow component weakness broad',
228
- 'Value rotation reversing',
219
+ 'Negative Z-score building',
220
+ 'OFI offer imbalance',
221
+ 'Sellers absorbing',
222
+ 'Momentum negative',
223
+ 'Tick pressure down',
224
+ 'Offer stack strong',
225
+ 'Volume delta bearish',
226
+ 'Cumulative flow down',
227
+ 'Order imbalance short',
228
+ 'Statistical edge bearish',
229
229
  ],
230
230
  neutral: [
231
- 'Blue chips consolidating',
232
- 'Dow in balance, rotation mixed',
233
- 'YM range-bound, awaiting catalyst',
234
- 'Value/growth neutral',
235
- 'Industrials mixed',
231
+ 'Z-score normalized',
232
+ 'OFI balanced',
233
+ 'Tick flow neutral',
234
+ 'Volatility compression',
235
+ 'Awaiting extremity',
236
236
  ],
237
237
  },
238
238
  };