Spaces:
Sleeping
Sleeping
Update app/arbitrage_analyzer.py
Browse files
app/arbitrage_analyzer.py
CHANGED
|
@@ -1,6 +1,5 @@
|
|
| 1 |
"""
|
| 2 |
The Oracle Discrepancy Analyzer.
|
| 3 |
-
|
| 4 |
Uses Gemini to provide risk assessment and strategic plans for
|
| 5 |
discrepancies between the Pyth and Chainlink oracles.
|
| 6 |
"""
|
|
@@ -32,9 +31,9 @@ class ArbitrageAnalyzer:
|
|
| 32 |
|
| 33 |
The JSON object must have these exact keys: "risk", "strategy", "rationale".
|
| 34 |
|
| 35 |
-
- "risk": Assess the execution risk. MUST be one of "LOW", "MEDIUM", "HIGH".
|
| 36 |
-
- "strategy": A brief, one-sentence action plan.
|
| 37 |
-
- "rationale": A short explanation for the risk assessment
|
| 38 |
|
| 39 |
DISLOCATION DETAILS:
|
| 40 |
- Pyth Network Price: ${opportunity['pyth_price']:,.2f}
|
|
|
|
| 1 |
"""
|
| 2 |
The Oracle Discrepancy Analyzer.
|
|
|
|
| 3 |
Uses Gemini to provide risk assessment and strategic plans for
|
| 4 |
discrepancies between the Pyth and Chainlink oracles.
|
| 5 |
"""
|
|
|
|
| 31 |
|
| 32 |
The JSON object must have these exact keys: "risk", "strategy", "rationale".
|
| 33 |
|
| 34 |
+
- "risk": Assess the execution risk. MUST be one of "LOW", "MEDIUM", "HIGH".
|
| 35 |
+
- "strategy": A brief, one-sentence action plan.
|
| 36 |
+
- "rationale": A short explanation for the risk assessment.
|
| 37 |
|
| 38 |
DISLOCATION DETAILS:
|
| 39 |
- Pyth Network Price: ${opportunity['pyth_price']:,.2f}
|