mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-07-07 13:00:59 +08:00
fix: initial balance calculation and UI improvements
- Fix initial balance using available_balance instead of total_equity - Fix WSMonitor nil pointer by starting market monitor before loading traders - Add strategy name display on traders list and dashboard pages - Various position sync and trading improvements
This commit is contained in:
@@ -15,7 +15,7 @@ func main() {
|
||||
log.Println("🔄 Starting database migration to encrypted format...")
|
||||
|
||||
// 1. Check database file
|
||||
dbPath := "data.db"
|
||||
dbPath := "data/data.db"
|
||||
if len(os.Args) > 1 {
|
||||
dbPath = os.Args[1]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user