Initial commit
Made-with: Cursor
This commit is contained in:
17
srde/miniprogram/typings/index.d.ts
vendored
Normal file
17
srde/miniprogram/typings/index.d.ts
vendored
Normal 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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user