feat: Enhance Gemini analysis and image handling
Integrates Gemini 3.1 Pro for improved Forex chart analysis, incorporating detailed instructions on Smart Money Concepts, liquidity, and various confirmation indicators like Volume Delta, ATR, EMA, RSI, and VWAP. Also includes image compression and cleanup utilities for testimonial uploads to manage storage efficiently. Firestore rules for signal data have been updated to accommodate longer strings for pair and timeframe.
This commit is contained in:
+2
-2
@@ -86,8 +86,8 @@ service cloud.firestore {
|
||||
function isValidSignal(data) {
|
||||
return data.keys().hasAll(['userId', 'pair', 'timeframe', 'decision', 'score', 'timestamp', 'result'])
|
||||
&& data.userId == request.auth.uid
|
||||
&& data.pair is string && data.pair.size() <= 20
|
||||
&& data.timeframe is string && data.timeframe.size() <= 10
|
||||
&& data.pair is string && data.pair.size() <= 100
|
||||
&& data.timeframe is string && data.timeframe.size() <= 50
|
||||
&& data.decision is string
|
||||
&& data.score is int && data.score >= 0 && data.score <= 100
|
||||
&& data.timestamp is int
|
||||
|
||||
Reference in New Issue
Block a user