Skip to content

Commit

Permalink
0.9.54 新增 bar_td9_V240616 信号
Browse files Browse the repository at this point in the history
  • Loading branch information
zengbin93 committed Jun 20, 2024
1 parent c9fbe58 commit d26a7f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion czsc/signals/bar.py
Original file line number Diff line number Diff line change
Expand Up @@ -2240,7 +2240,7 @@ def bar_td9_V240616(c: CZSC, **kwargs) -> OrderedDict:
else:
bar.cache[cache_key] = 0

if len(c.bars_raw) < 100:
if len(c.bars_raw) < 30 + n:
return create_single_signal(k1=k1, k2=k2, k3=k3, v1=v1)

v2 = "任意"
Expand Down
2 changes: 1 addition & 1 deletion examples/signals_dev/bar_td9_V240616.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def bar_td9_V240616(c: CZSC, **kwargs) -> OrderedDict:
else:
bar.cache[cache_key] = 0

if len(c.bars_raw) < 100:
if len(c.bars_raw) < 30 + n:
return create_single_signal(k1=k1, k2=k2, k3=k3, v1=v1)

v2 = "任意"
Expand Down

0 comments on commit d26a7f3

Please sign in to comment.