feat: Initialize QuantScan AI frontend project

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.
This commit is contained in:
desartstudio95
2026-04-28 20:32:34 +02:00
parent a8dc00eecd
commit f15d70a121
26 changed files with 9739 additions and 8 deletions
+62
View File
@@ -0,0 +1,62 @@
/**
* @license
* SPDX-License-Identifier: Apache-2.0
*/
export enum SignalType {
BUY = 'BUY',
SELL = 'SELL',
WAIT = 'WAIT'
}
export enum SignalResult {
GAIN = 'GAIN',
LOSS = 'LOSS',
BE = 'BE',
PENDING = 'PENDING'
}
export interface Signal {
id: string;
pair: string;
timeframe: string;
timestamp: number;
type: SignalType;
entry: string;
stopLoss: string;
takeProfit: string;
score: number;
justification: string;
logicElements: string[];
result: SignalResult;
screenshotUrl?: string;
userId: string;
}
export interface UserStats {
userId: string;
totalSignals: number;
winRate: number;
totalProfitPips: number;
bestTimeframe: string;
bestPattern: string;
performanceByTimeframe: Record<string, number>;
performanceByPattern: Record<string, number>;
}
export interface AnalysisResponse {
pair: string;
timeframe: string;
structure: string;
conceptsDetected: string[];
decision: SignalType;
entry: string;
stopLoss: string;
takeProfit: string;
score: number;
justification: string;
liquiditySweep?: string;
momentum?: string;
keyZones?: string[];
institutionalContext?: 'Accumulation' | 'Manipulation' | 'Distribution' | 'None';
}