You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
researchContext="\nLATEST ACADEMIC RESEARCH (arXiv):\n"+arxivPapers.map(p=>`- ${p.title}: ${p.summary}`).join('\n');
197
+
}
198
+
194
199
constprompt=`You are a senior financial analyst. Generate an EXTENSIVE, professional market intelligence report for ${newDate().toLocaleDateString()}.
195
-
Use the provided Market Analysis Data to ground your predictions.
200
+
Use the provided Market Analysis Data and Academic Research to ground your predictions.
196
201
197
202
${analysisContext}
203
+
${researchContext}
198
204
199
205
REQUIRED SECTIONS:
200
206
@@ -208,15 +214,19 @@ REQUIRED SECTIONS:
208
214
- Specific company news with quantitative impact.
209
215
- Connect macro events (Fed, Geopolitics) to market moves.
210
216
211
-
3. **🎯 Strategic Opportunities**
217
+
3. **🔬 Research & Quantitative Edge**
218
+
- Synthesize the provided arXiv research papers. How do these findings apply to current market conditions? (e.g., "New paper on volatility modeling suggests...")
219
+
- Combine this with the Moore Analysis probability distribution.
220
+
221
+
4. **🎯 Strategic Opportunities**
212
222
- Identify undervalued sectors based on the probability distribution.
213
223
- Suggest risk-managed approaches (e.g., "Given the 68% range of X-Y, consider spreads...").
214
224
215
-
4. **⚠️ Risk & Scenario Analysis**
225
+
5. **⚠️ Risk & Scenario Analysis**
216
226
- Downside risks based on the lower bound of the expected range.
217
227
- Tail risk events.
218
228
219
-
Format as Markdown. Be sophisticated, data-driven, and authoritative.`;
229
+
Format as Markdown. Use clear headers, bullet points, and bold text for readability. Avoid long walls of text.`;
220
230
221
231
constcontent=awaitthis.fetchInsights(prompt);
222
232
returnthis.parseDigestContent(content);
@@ -301,6 +311,37 @@ Return as JSON array:
301
311
returnthis.parseInsightsContent(content);
302
312
}
303
313
314
+
staticasyncfetchArxivData(){
315
+
try{
316
+
// Query for Quantitative Finance (q-fin) and Economics (econ)
317
+
constquery='cat:q-fin.ST OR cat:q-fin.GN OR cat:q-fin.RM OR cat:q-fin.PM';
0 commit comments