Initial commit

Made-with: Cursor
This commit is contained in:
Daniel
2026-02-28 18:39:00 +08:00
commit a94bd44c3a
49 changed files with 917 additions and 0 deletions

17
srde/miniprogram/typings/index.d.ts vendored Normal file
View File

@@ -0,0 +1,17 @@
declare interface IAppOption {
globalData: {
token: string | null;
account: {
total_capital: number;
current_capital: number;
current_drawdown: number;
max_drawdown: number;
consecutive_losses: number;
trading_locked_until: string | null;
status: 'tradable' | 'compressed' | 'locked';
daily_risk_limit?: number;
single_risk_limit?: number;
} | null;
accountLoadedAt: number;
};
}