전략조건 상세설명 기능 추가

This commit is contained in:
Macbook
2026-05-25 03:15:05 +09:00
parent 30dedc4abc
commit 67324ded9d
22 changed files with 1151 additions and 187 deletions
-16
View File
@@ -300,8 +300,6 @@ interface PaperPanelProps {
onLiveAutoTradeBudgetPct?: (v: number) => void;
}
const CANDLE_TYPES = ['1m', '3m', '5m', '15m', '30m', '1h', '4h', '1d'] as const;
const PaperPanel: React.FC<PaperPanelProps> = ({
paperTradingEnabled = true,
onPaperTradingEnabled,
@@ -844,20 +842,6 @@ const StrategyPanel: React.FC<StrategyPanelProps> = ({
</select>
</SettingRow>
<SettingRow label="전략 평가 분봉" desc="이 종목의 매수·매도 시그널을 계산할 캔들 주기입니다.">
<select
className="stg-select"
disabled={!isOn}
value={liveSettings.candleType ?? '1m'}
onChange={e => persistLive({ candleType: e.target.value })}
style={{ opacity: isOn ? 1 : 0.45 }}
>
{CANDLE_TYPES.map(ct => (
<option key={ct} value={ct}>{ct}</option>
))}
</select>
</SettingRow>
<SettingRow
className="stg-row--block"
label="체크 방식"