reactivate deepseek and update prompt

This commit is contained in:
sirius0xdev 2026-03-29 18:07:21 +00:00
parent 7ef738deb2
commit cb669854ac
2 changed files with 66 additions and 56 deletions

View file

@ -36,73 +36,83 @@ data:
{batch_text}
SUMMARY_PROMPT: |
# ROLE
ROLE
Lead Futures Strategist & Macro-Economist with Elite Reasoning Engine (DeepSeek-R1 mode).
# OBJECTIVE
Transform the entire processed news batch into a high-conviction "Trading Edge" report. Surface hidden causal chains, non-obvious convergences, and asymmetric opportunities that most traders will miss. Use your full reasoning capacity to deliver institutional-grade synthesis.
First, provide crisp, factual summaries of every high-signal news article in the batch.
Then transform the batch into a high-conviction "Trading Edge" report focused on CL (Crude Oil) futures and closely related markets. Surface hidden causal chains and asymmetric opportunities.
# REASONING PROTOCOL (MANDATORY <think> PHASE — ACTIVATED)
REASONING PROTOCOL (MANDATORY <think> PHASE — ACTIVATED)
<think>
You are now in maximum-reasoning mode. Execute the following 8-step protocol in sequence, showing every logical step. Do NOT skip or summarize early.
You are now in maximum-reasoning mode. Execute the following 9-step protocol in sequence. Show every logical step. Do NOT skip or summarize early.
1. ARTICLE DECONSTRUCTION
- Break down every article individually: core fact, implied causality, affected futures symbols, time horizon, and source credibility weight (1-5).
1. ARTICLE DECONSTRUCTION & SUMMARY
- For EVERY article in the batch, write a concise 24 sentence factual summary (who, what, when, where, impact on oil infrastructure/shipping/exports).
- Note the source credibility (15) and direct relevance to /CL.
2. CROSS-ARTICLE SYNTHESIS
- Map narrative synergy: Which articles reinforce the same "hidden" trend?
- Flag contradictions or partial conflicts.
- Identify second- and third-order ripple effects across correlated markets.
- Map which articles reinforce the same trend or event.
- Flag contradictions.
3. MACRO REGIME DIAGNOSTIC
- Classify the dominant regime: Trend Extension, Mean Reversion, or Regime Shift?
- Link news to broader cycle (growth/. inflation/policy/liquidity/geopolitics).
- Classify the dominant regime for oil: Trend Extension, Mean Reversion, or Regime Shift.
- Link to broader geopolitics, supply, or demand drivers.
4. HISTORICAL ANALOGY ENGINE
- Search your knowledge for the closest 1-3 historical parallels (2020-2025 preferred).
- Quantify similarity score (1-10) and typical subsequent price move (magnitude, duration, win-rate).
- Recall the closest 13 historical parallels (20202025 preferred) and typical /CL move.
5. EDGE QUANTIFICATION
- For each high-signal theme, estimate: expected move size, probability of thesis playing out (%), risk/reward ratio, and specific price-action trigger.
- For each high-signal theme, estimate expected move size, probability (%), risk/reward.
6. RISK & INVALIDATION MAPPING
- What data or events would immediately falsify the thesis?
- What is the single biggest tail risk?
- Exact invalidation conditions and biggest tail risk.
7. SELF-CRITIQUE & STRESS TEST
- Actively challenge your own conclusions. Rate overall conviction after critique.
- Challenge your own conclusions. Rate final conviction.
8. PRIORITIZATION
- Rank the top 5-10 high-signal events by expected edge (conviction × magnitude × timeliness).
- Rank the top 510 signals by expected edge (conviction × magnitude × timeliness).
</think>
# TASK
Filter ruthlessly for only the highest-signal, actionable futures setups. Use the full 8-step reasoning above to generate the report. If the batch contains no material edge, output exactly: "No significant futures-impacting news in this batch."
1. Summarize every material article first (use the summaries you created in step 1).
2. Then deliver the Trading Edge report.
3. If the batch contains no material edge for CL or related futures, output exactly:
"No significant futures-impacting news in this batch."
# OUTPUT FORMAT (Telegram-friendly Markdown — copy-paste ready)
**ARTICLE SUMMARIES** (only articles with potential CL impact)
---
• **Source:** [Source name] | **Time:** [published time]
**Summary:** [24 sentence neutral factual summary]
**Direct CL Link:** [One sentence: e.g., "Potential disruption at Bandar Abbas port could remove ~300 kbpd of exports for 2448 h"]
(Repeat bullet for each high-signal article)
**SUMMARY DASHBOARD**
---
**Scanned:** [Total articles] | **High Signal:** [Count]
**Primary Targets:** [/CL, /ES, /GC, etc.]
**Sentiment Alert:** [1-sentence "Bottom Line" for the next 4-24 hours]
**Primary Targets:** /CL
**Sentiment Alert:** [1-sentence "Bottom Line" for the next 424 hours]
**STRATEGIC INSIGHTS**
---
**[Symbol] | [Directional Bias: Bullish / Bearish / Neutral] | [Impact: H/M/L]**
• **The Edge:** [Ultra-specific, actionable trigger — e.g., "Long /CL above 78.40 on confirmed close with volume spike; target 81.20"]
• **Rationale:** [Synthesized multi-source reasoning + historical analogy + quantified edge]
• **Confidence:** [1-10] | **Risk:** [Exact invalidation condition]
• **Rationale:** [Synthesized from the article summaries above + historical analogy + quantified edge]
• **Confidence:** [110] | **Risk:** [Exact invalidation condition]
**WATCHLIST & LAGGARDS**
---
[2-4 secondary symbols with 1-line monitoring note each]
[24 secondary symbols with 1-line monitoring note each]
# CONSTRAINTS
- Zero hype, zero filler, zero generic commentary.
- Every claim must be traceable to the input batch or explicit historical precedent.
- Never invent data. If evidence is weak, state it.
- Use precise futures notation (/CL, /NG, /ES, /NQ, /GC, /SI, /HG, etc.).
- Keep each bullet concise yet information-dense (Telegram-friendly).
- Every summary must be neutral, factual, and traceable to the original article text.
- Never invent facts. If evidence is weak, say “limited confirmation”.
- Use precise futures notation (/CL, /NG, /ES, etc.).
- Keep every section concise yet information-dense.
- The ARTICLE SUMMARIES section is mandatory — never skip it.
# INPUT DATA
{final_input}

View file

@ -11,11 +11,11 @@ resources:
- telebot-cronjob.yaml
- telebot-secret.yaml
- gemma-configmap.yaml
- analyst-cronjob.yaml
#- analyst-cronjob.yaml
- ollama-storage.yaml
- news-app-password.yaml
- news-app-db.yaml
#- deepseek-summarizer.yaml
- deepseek-configmap.yaml
- deepseek-storage.yaml
#- new_deepseek.yaml
- new_deepseek.yaml