가상투자 종목카드박스 레이아웃 수정
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
import { saveLiveStrategySettings } from './backendApi';
|
||||
import { normalizeStartCandleType } from './strategyStartNodes';
|
||||
import type { VirtualSessionConfig, VirtualTargetItem } from './virtualTradingStorage';
|
||||
import { resolveTargetCandleType } from './virtualTradingStorage';
|
||||
|
||||
/** 가상투자 대상 종목을 백엔드 live strategy 설정과 동기화 */
|
||||
export async function syncVirtualTargetsToBackend(
|
||||
@@ -21,6 +23,7 @@ export async function syncVirtualTargetsToBackend(
|
||||
saveLiveStrategySettings({
|
||||
market: t.market,
|
||||
strategyId: t.strategyId ?? session.globalStrategyId,
|
||||
candleType: normalizeStartCandleType(resolveTargetCandleType(t)),
|
||||
...shared,
|
||||
}),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user