Phase 6 (Stufe 4b): Config-Migration aus mongoexport-JSON
- ConfigMigrator.RunFromJson: importiert Accounts, Copytrading-Settings (Limit-Felder aus dem Alt-Account-Dokument) und Master-Trader aus PolyTraderDB.accounts.json / .trackers.json nach MySQL. Idempotent. - Robuste JSON-Helfer (mongoexport: Dezimale als Strings, null moeglich). - CLI: PolyTrader.App --migrate-json [ordner=MongoDB]. - .gitignore: MongoDB/ (Exporte enthalten Secrets) ausgeschlossen. - Ergebnis: 3 Accounts, 3 Settings, 32 Master-Trader in MySQL. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
e21a3515d1
commit
9dbecc9514
@@ -25,6 +25,9 @@ server_settings.xml
|
||||
appsettings.*.json
|
||||
!appsettings.json
|
||||
|
||||
# Mongo-Exporte (enthalten Secrets: PrivateKey, ApiSecret) – niemals committen
|
||||
MongoDB/
|
||||
|
||||
# ── Logs & temporäre Dateien ─────────────────────
|
||||
*.log
|
||||
*.tmp
|
||||
|
||||
Reference in New Issue
Block a user