Integrated Multi-Account Manager, Auto Scanner, and Economic Calendar modules. Refined UI with a institutional design language, enhanced visual consistency via global styles, and improved error handling for third-party API services. Added date filtering presets to the signal history module.
- Integrate react-joyride for user onboarding tours
- Add sonner for enhanced toast notifications
- Update AI analysis service to support preferred trading styles
- Refactor navbar layout and downgrade firebase dependencies for stability
- Downgrade Firebase SDK to v10 for stability
- Implement global auto-trades tracking in Firestore
- Add advanced trading settings to AutoTradingView
- Enhance server-side Deriv data fetching logic
- Added global Deriv token and stake settings to Admin Dashboard.
- Enhanced symbol normalization in the Yahoo Finance worker.
- Refined error logging across services and added a trade diagnostic test script.
- Add auto-trading database collections and Firestore rules
- Update Gemini service prompt for SMC/Institutional focus
- Add MetaApi integration and Yahoo Finance symbol mapping
- Implement auto-trade state management in AutoTradingView
Introduces a step-by-step tutorial for configuring cron jobs to ensure the auto-scanner runs 24/7. This addresses user confusion and improves the reliability of automated scanning.
Provide clearer instructions for users on how to keep the automated scanner running 24/7 by suggesting external scheduling services.
Refactor the server-side auto-scanner logic to use `runTransaction` for atomic updates of `lastAutoScan`, preventing potential race conditions and ensuring greater reliability.
Re-architect the auto-scanner functionality to run as a background worker on the server, utilizing Firebase for storing Telegram settings. This change improves reliability and scalability by decoupling the scanning process from the client.
Additionally, update the landing page copy to better reflect the enhanced features of the AI, such as adaptive learning and multi-timeframe analysis, and adjust gamification descriptions.
Adds OneSignal for push notifications and new AI strategy parameters like trailing stop, winrate learning, and multi-time frame analysis. Also updates build scripts and dependencies.
Updated package.json scripts to use Vite for development and building, removing esbuild dependency.
Migrated Gemini AI service logic from a backend API to direct integration using the Google GenAI library. This centralizes AI analysis within the application, improving performance and maintainability.
Switches the AI model used for analysis from `gemini-3.1-pro-preview` to `gemini-2.5-flash`. This change aims to leverage the newer, potentially more cost-effective and performant model for the QuantScan AI analysis endpoint.
This commit centralizes Gemini API interaction into a new `server.ts` file and removes it from the client-side `geminiService.ts`.
It also updates the build process in `package.json` to use `esbuild` for bundling the server code, enabling a more robust build pipeline.
The `index.html` has been cleaned up by removing unnecessary OneSignal SDK initialization.
Additionally, dev dependencies have been updated, including `esbuild` to version `0.28.0`.
A new `test2.ts` file is added for testing Gemini API connectivity.
Introduce new fields to the analysis response for richer data, including take profit levels, risk-reward ratio, duration, and risk level. This update also expands the Gemini AI's system instructions to incorporate multi-timeframe and long-term analysis capabilities, aiming for more comprehensive market insights.
Additionally, new subscription tiers and plan details are added. A new "Experimental" plan is introduced, and existing plans are updated with more specific features and benefits. The admin dashboard is also modified to support these new plan types and their associated logic.
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.
Introduce improved UI elements for the application name and logo. Implement enhanced subscription management and display features, including expiration checks and remaining days calculation. Update pricing for various subscription plans to reflect new offerings.
This commit also includes:
- Fixes for rendering inconsistencies.
- Refinements to the analysis view and error handling.
- Clarifications in admin dashboard user profile fields for subscription details.
Switches the Gemini model from 'gemini-2.5-flash' to 'gemini-2.5-pro' to leverage more advanced AI capabilities for forex chart analysis. This should improve the accuracy and depth of the AI's market insights and recommendations.
Introduces a new maintenance mode feature to allow administrators to temporarily disable the application for updates or maintenance.
This includes:
- A dedicated `MaintenancePage` component.
- Global state management for maintenance mode and message in `App.tsx`.
- Firestore integration for storing and retrieving maintenance settings.
- Updates to `AdminDashboard.tsx` to manage these settings.
- Firebase security rules adjustments for the new settings collection.
- Animate transitions for signal results in `SignalHistory.tsx`.
Adds a "View History" button to the AnalysisView, allowing users to navigate directly to the signal history.
Updates the MarketTicker component to fetch real-time data from Binance, displaying a dynamic list of cryptocurrency and forex tickers.
Introduces a "New Scan" button that triggers the reset functionality in the AnalysisView. This allows users to easily start a new analysis without needing to refresh the entire page.
Switches to the `gemini-2.5-flash` model for potentially faster and more cost-effective analysis.
Enhances error handling in chart analysis to provide more specific user feedback for API rate limits and credit exhaustion.
Adds UI elements for signal history expansion and introduces pair selection for dashboard statistics, improving user interaction and data visualization.
This commit introduces shadcn/ui for enhanced component management and updates global styling. It also adds new dependencies for UI components and typography, improving the overall look and feel of the application. Key changes include:
- Integration of shadcn/ui for component development.
- Application of Geist Variable font and updated CSS variables for theming.
- Inclusion of `embla-carousel` for improved testimonial display.
- Refinement of `index.css` for better styling consistency.
- Updated `tsconfig.json` and `vite.config.ts` for alias configurations.
Introduce a horizontal scrolling carousel for testimonials on the landing page. Update the admin dashboard to fetch and display existing testimonials, enabling their management.
Introduces start and end date input fields to the SignalHistory component, allowing users to filter displayed signals by date range. This improves the usability and relevance of historical signal data.
Refines Firestore and Storage rules to enforce stricter access controls for signals and user-uploaded files. Updates user data handling to ensure root administrator privileges are correctly applied and enforced. Organizes uploaded scan files into user-specific directories within storage.
Introduces unit tests for Firestore security rules and adds error handling to data fetching hooks. This enhances the robustness and security of the application by validating access control logic and providing feedback on data retrieval failures.
Includes:
- Setup for Firestore unit testing.
- Basic tests for signal query and user collection access.
- Error logging for `testimonials` and `notifications` data fetching.
- Updates to `firestore.rules` for stricter access checks.
- Adds necessary development dependencies for testing.
Integrates a testimonial system to display user results and feedback. This includes:
- Adding a new `testimonials` collection in Firestore.
- Implementing frontend components for displaying and submitting testimonials.
- Modifying the Gemini service to use the `gemini-3.1-pro-preview` model for enhanced analysis.
- Updating the `PlansView` with a new WhatsApp contact number.
- Enhancing the `AdminDashboard` to include testimonial creation capabilities.
Adds a `NotificationManager` component to the application that listens for new trading signals from Firestore. When a new signal is detected, it requests notification permission from the user and displays a browser notification if permission is granted.
This change enhances user experience by providing immediate alerts for potential trading opportunities.
Also includes minor UI and styling adjustments in `AnalysisView` and `LandingPage` for improved clarity and consistency.
Refactor AI analysis to support different modes (Technical, Fundamental, Hybrid) and introduce richer data points in the `Signal` and `AnalysisResponse` interfaces. This improves the granularity and detail of the AI's market insights.
Remove the `MarketTicker` component from the main layout and simplify the `Navbar` by removing the 'Plans' tab. These changes streamline the user interface.
Introduce a market ticker component to display real-time Forex data.
Refine AI analysis prompts for Gemini to focus on speed and key institutional patterns.
Improve loading state with a visible logo animation.
Add user avatar and ID display in the Navbar.
Implement hourly refresh for signal history to ensure data freshness.
Optimize CSS with a new marquee animation and adjust font sizes.
Strengthen error handling and unsubscribe logic for Firestore listeners.
Set up the basic React project structure, including necessary dependencies, configuration files, and initial styling for the QuantScan AI Forex Pro scanner. This commit establishes the foundation for building the frontend application.