mobile download
This commit is contained in:
@@ -66,11 +66,8 @@ interface ValidationResult {
|
||||
let _cnt = 0;
|
||||
const genId = () => `n_${++_cnt}_${Date.now()}`;
|
||||
|
||||
const STORAGE_KEY = 'gc_strat_v2';
|
||||
const loadStratsLocal = (): StrategyDto[] => {
|
||||
try { return JSON.parse(localStorage.getItem(STORAGE_KEY) ?? '[]'); } catch { return []; }
|
||||
};
|
||||
const saveStratsLocal = (s: StrategyDto[]) => localStorage.setItem(STORAGE_KEY, JSON.stringify(s));
|
||||
const loadStratsLocal = (): StrategyDto[] => [];
|
||||
const saveStratsLocal = (_s: StrategyDto[]) => { /* DB only */ };
|
||||
|
||||
// ─── 기본 파라미터 (IndicatorSettings 미사용 → 하드코딩 기본값) ─────────────
|
||||
/** 지표별 hline 임계값 (과열선/중앙선/침체선) */
|
||||
|
||||
Reference in New Issue
Block a user