This commit is contained in:
2026-06-19 14:31:33 +09:00
parent 8e145803d8
commit ce07537eef
5 changed files with 463 additions and 19 deletions
+11 -1
View File
@@ -43,6 +43,12 @@ class TradingDecision {
var financialData : String? = null
var analyzer : TechnicalAnalyzer? = null
var signalModel : ScalpingSignalModel? = null
var maxRealisticProfitRate :Double = 0.0
var reboundDaysDaily: Double = 0.0 // 일봉 기준 평균 반등 소요일
var reboundWeeksWeekly: Double = 0.0 // 주봉 기준 평균 반등 소요주
var isReboundApproaching: Boolean = false // 반등 주기에 근접했는지 여부
var reboundGuideMessage: String = "반등 주기 데이터 없음" // UI나 로그에 노출할 가이드 메시지
fun shortPossible() =
listOf<Double>(ultraShortScore,
@@ -60,7 +66,8 @@ class TradingDecision {
longTermScore).average()
fun summary() : String{
fun summary(
targetProfitRate: Double) : String{
return """
$corpName[$stockName]
수익실현 가능성 : ${profitPossible()}
@@ -75,6 +82,8 @@ financialScore: $financialScore
newsScore: $newsScore
decision: $decision
reason: $reason
예측가능 수익율 : ${maxRealisticProfitRate}
반등 주기 가이드: ${analyzer?.generateMTFReboundGuide(targetProfitRate)}
""".trimIndent()
}
@@ -93,6 +102,7 @@ reason: $reason
confidence: $confidence
기술 분석: $techSummary
뉴스 점수: $newsScore
반등 주기 가이드: $reboundGuideMessage
""".trimIndent()
}
}