mgbam commited on
Commit
cba8016
·
verified ·
1 Parent(s): 3a73c60

Update app/arbitrage_analyzer.py

Browse files
Files changed (1) hide show
  1. app/arbitrage_analyzer.py +3 -4
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". Consider which oracle is more likely to be lagging and potential for front-running.
36
- - "strategy": A brief, one-sentence action plan. For example: "Exploit Pyth's lag on Solana DEXs." or "High risk, monitor for oracle convergence."
37
- - "rationale": A short explanation for the risk assessment, mentioning potential causes like exchange downtime on one oracle's sources.
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}