전략빌더 빠른 백테스팅 툴바에 전략 선택 드롭다운 추가

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Macbook
2026-06-11 16:19:46 +09:00
parent 7f1c63ef87
commit 900c743aa1
2 changed files with 18 additions and 0 deletions
@@ -1097,6 +1097,23 @@ export default function StrategyEditorPage({ theme, onNavigateToBacktest }: Prop
<option key={tf.value} value={tf.value}>{tf.label}</option>
))}
</select>
<select
className="se-qr-select se-qr-select--strategy"
value={selectedId ?? ''}
onChange={e => {
const id = e.target.value ? Number(e.target.value) : null;
if (!id) return;
const s = strategies.find(st => st.id === id);
if (s) handleSelectStrategy(s);
}}
disabled={qbLoading}
title="전략 선택"
>
<option value=""> </option>
{strategies.map(s => (
<option key={s.id} value={s.id}>{s.name}</option>
))}
</select>
<button
type="button"
className={`se-qr-run-btn${qbLoading ? ' se-qr-run-btn--loading' : ''}`}