Upload engine/predict_monthly.py with huggingface_hub
Browse files- engine/predict_monthly.py +16 -4
engine/predict_monthly.py
CHANGED
|
@@ -4243,7 +4243,9 @@ GROWTH ANALYST (Bull) counters with:
|
|
| 4243 |
Thesis: {bull_reasoning}
|
| 4244 |
Key Catalysts: {bull_catalysts}
|
| 4245 |
|
| 4246 |
-
|
|
|
|
|
|
|
| 4247 |
Respond with ONLY this JSON:
|
| 4248 |
{{
|
| 4249 |
"expected_return_pct": <float>,
|
|
@@ -4251,7 +4253,11 @@ Respond with ONLY this JSON:
|
|
| 4251 |
"recommendation": "<HOLD|SELL|STRONG SELL>",
|
| 4252 |
"confidence": <float: 0.0-1.0>,
|
| 4253 |
"direction": "<BEARISH|NEUTRAL>",
|
| 4254 |
-
"reasoning": "<
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4255 |
"risk_flags": ["<key risks>"],
|
| 4256 |
"override_ml": <boolean>,
|
| 4257 |
"changed_view": <boolean>
|
|
@@ -4272,7 +4278,9 @@ RISK MANAGER (Bear) counters with:
|
|
| 4272 |
Thesis: {bear_reasoning}
|
| 4273 |
Key Risks: {bear_risks}
|
| 4274 |
|
| 4275 |
-
|
|
|
|
|
|
|
| 4276 |
Respond with ONLY this JSON:
|
| 4277 |
{{
|
| 4278 |
"expected_return_pct": <float>,
|
|
@@ -4280,7 +4288,11 @@ Respond with ONLY this JSON:
|
|
| 4280 |
"recommendation": "<HOLD|BUY|STRONG BUY>",
|
| 4281 |
"confidence": <float: 0.0-1.0>,
|
| 4282 |
"direction": "<BULLISH|NEUTRAL>",
|
| 4283 |
-
"reasoning": "<
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4284 |
"risk_flags": ["<key catalysts>"],
|
| 4285 |
"override_ml": <boolean>,
|
| 4286 |
"changed_view": <boolean>
|
|
|
|
| 4243 |
Thesis: {bull_reasoning}
|
| 4244 |
Key Catalysts: {bull_catalysts}
|
| 4245 |
|
| 4246 |
+
Rebut ONLY the specific points where you disagree with the bull — do NOT restate your whole case.
|
| 4247 |
+
List the 2-3 sharpest contested points. Each key_point: "topic" = the bull's claim you're
|
| 4248 |
+
challenging (quote it briefly), "point" = your one-sentence counter with a hard number.
|
| 4249 |
Respond with ONLY this JSON:
|
| 4250 |
{{
|
| 4251 |
"expected_return_pct": <float>,
|
|
|
|
| 4253 |
"recommendation": "<HOLD|SELL|STRONG SELL>",
|
| 4254 |
"confidence": <float: 0.0-1.0>,
|
| 4255 |
"direction": "<BEARISH|NEUTRAL>",
|
| 4256 |
+
"reasoning": "<ONE line: did you hold or revise, and the single biggest reason>",
|
| 4257 |
+
"key_points": [
|
| 4258 |
+
{{"topic": "<bull claim you contest>", "point": "<one-sentence rebuttal with a number>"}},
|
| 4259 |
+
{{"topic": "<bull claim you contest>", "point": "<one-sentence rebuttal with a number>"}}
|
| 4260 |
+
],
|
| 4261 |
"risk_flags": ["<key risks>"],
|
| 4262 |
"override_ml": <boolean>,
|
| 4263 |
"changed_view": <boolean>
|
|
|
|
| 4278 |
Thesis: {bear_reasoning}
|
| 4279 |
Key Risks: {bear_risks}
|
| 4280 |
|
| 4281 |
+
Rebut ONLY the specific points where you disagree with the bear — do NOT restate your whole case.
|
| 4282 |
+
List the 2-3 sharpest contested points. Each key_point: "topic" = the bear's claim you're
|
| 4283 |
+
challenging (quote it briefly), "point" = your one-sentence counter with a hard number.
|
| 4284 |
Respond with ONLY this JSON:
|
| 4285 |
{{
|
| 4286 |
"expected_return_pct": <float>,
|
|
|
|
| 4288 |
"recommendation": "<HOLD|BUY|STRONG BUY>",
|
| 4289 |
"confidence": <float: 0.0-1.0>,
|
| 4290 |
"direction": "<BULLISH|NEUTRAL>",
|
| 4291 |
+
"reasoning": "<ONE line: did you hold or revise, and the single biggest reason>",
|
| 4292 |
+
"key_points": [
|
| 4293 |
+
{{"topic": "<bear claim you contest>", "point": "<one-sentence rebuttal with a number>"}},
|
| 4294 |
+
{{"topic": "<bear claim you contest>", "point": "<one-sentence rebuttal with a number>"}}
|
| 4295 |
+
],
|
| 4296 |
"risk_flags": ["<key catalysts>"],
|
| 4297 |
"override_ml": <boolean>,
|
| 4298 |
"changed_view": <boolean>
|