feat: add copy trading safety and leader pool

This commit is contained in:
codyhhchen
2026-05-04 09:53:07 +08:00
parent 09f6e5346d
commit a7bfe660fc
64 changed files with 7006 additions and 29 deletions
+64 -2
View File
@@ -314,6 +314,7 @@
"leaders": "Leader Management",
"templates": "Templates",
"copyTradingConfig": "Copy Trading Config",
"leaderPool": "Leader Pool",
"cryptoSpreadStrategy": "Crypto Spread Strategy",
"cryptoTailStrategy": "Strategy Config",
"cryptoTailMonitor": "Real-time Monitor",
@@ -552,7 +553,68 @@
"deleteConfirmDesc": "This Leader has {{count}} copy trading relations, please delete them first",
"openDetailFailed": "Failed to open detail",
"noCopyTradings": "No copy trading configs",
"noBacktests": "No backtests"
"noBacktests": "No backtests",
"addToPool": "Add to Leader Pool",
"addToPoolSuccess": "Added to Leader Pool",
"addToPoolExists": "This Leader is already in the pool",
"addToPoolFailed": "Failed to add to Leader Pool",
"goLeaderPool": "Go to Leader Pool"
},
"leaderPool": {
"title": "Leader Pool",
"subtitle": "Separate candidate, watch, trial, cooldown, and retired decisions from real copy trading configs.",
"safetyHint": "Leader Pool will not auto-scale positions or auto-enable large copy trading.",
"safetyDesc": "Trial configs created from the pool use conservative defaults and are disabled by default.",
"fetchFailed": "Failed to fetch Leader Pool",
"selectLeaderPlaceholder": "Select an existing Leader to add",
"selectLeaderFirst": "Please select a Leader first",
"addExistingLeader": "Add to Pool",
"addSuccess": "Added to Leader Pool",
"addFailed": "Failed to add to Leader Pool",
"goLeaders": "Go to Leader Management",
"noLeaders": "No Leaders yet",
"totalCount": "Pool Size",
"trialCount": "In Trial",
"estimatedWorstExposure": "Worst Exposure",
"pendingRiskCount": "Pending Risks",
"filterStatus": "Filter by status",
"emptyDesc": "The pool is empty. Add leaders from Leader Management or select an existing Leader here.",
"leader": "Leader",
"source": "Source",
"suggestedConfig": "Suggested Config",
"fixedAmount": "Fixed Amount",
"maxDailyOrders": "Max Daily Orders",
"maxDailyLoss": "Max Daily Loss",
"minPrice": "Min Price",
"maxPrice": "Max Price",
"maxPositionValue": "Max Position",
"priceRange": "Price Range",
"copyTradingState": "Copy Trading State",
"configs": "configs",
"hasEnabled": "Has enabled config",
"noEnabled": "No enabled config",
"lastReviewedAt": "Last Reviewed",
"updateStatus": "Update Status",
"statusUpdated": "Status updated",
"statusUpdateFailed": "Failed to update status",
"cooldownUntil": "Cooldown Until",
"locked": "Locked",
"editPlan": "Edit Plan",
"planUpdated": "Plan updated",
"planUpdateFailed": "Failed to update plan",
"notes": "Notes",
"createTrial": "Create Trial Config",
"trialConfirmTitle": "This creates a disabled FIXED small trial config",
"trialConfirmDesc": "Confirm fixed amount, max daily orders, max daily loss, price range, and max position before submitting.",
"account": "Account",
"selectAccount": "Please select an account",
"noAccounts": "No accounts yet",
"trialCreated": "Trial config created",
"trialCreateFailed": "Failed to create trial config",
"goCopyTrading": "View Copy Trading",
"removeConfirm": "This only removes the pool item. It will not delete the Leader address or existing copy trading configs. Continue?",
"removeSuccess": "Pool item removed",
"removeFailed": "Failed to remove pool item"
},
"leaderAdd": {
"title": "Add Leader",
@@ -1811,4 +1873,4 @@
"accountGuideButton": "USDC.e → pUSD",
"dismissGuide": "Got it"
}
}
}