Initial Commit

This commit is contained in:
Senofy
2026-03-07 22:07:02 -06:00
parent b33c43aa0c
commit a9b6acd479
17 changed files with 1665 additions and 117 deletions
+31
View File
@@ -0,0 +1,31 @@
export interface AccountConfig {
prefix: string;
profitTarget: number;
consistency: number;
minDayPnL: number;
minTradingDays: number;
}
export interface FirmConfig {
id: number;
firm: string;
username: string;
password: string;
accounts: AccountConfig[];
}
export interface AccountState {
id: number;
name: string;
active: boolean;
amount: number;
realizedPnL: number;
daysTraded: number;
hasPosition: boolean;
}
export interface FirmState {
firm: string;
connected: boolean;
accounts: AccountState[];
}