This commit is contained in:
2026-09-15 17:04:57 +09:00
parent a53beb1e18
commit c84f4f0cd1
@@ -144,11 +144,11 @@ object AutoTradingManager {
// 3. 스마트 익절률 결정: 시스템 설정값이 통계적 한계를 넘어서면, 통계적 한계치로 눈높이를 낮춤
val finalProfitRate =
if (maxRealisticProfitRate > 0.0 && baseProfitRate > maxRealisticProfitRate) {
max(maxRealisticProfitRate, 0.05)
} else {
// if (maxRealisticProfitRate > 0.0 && baseProfitRate > maxRealisticProfitRate) {
// max(maxRealisticProfitRate, 0.05)
// } else {
baseProfitRate // 변동성이 충분히 크다면 원래 시스템 설정대로 진행
}
// }
// 2. 최종 매수 실행
val gradeRate = KisSession.config.getValues(grade.allocationRate)
val maxBudget =