Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

examples/ts_stocks_sensors.py 不能运行 #146

Closed
iot2020 opened this issue May 1, 2023 · 1 comment
Closed

examples/ts_stocks_sensors.py 不能运行 #146

iot2020 opened this issue May 1, 2023 · 1 comment

Comments

@iot2020
Copy link

iot2020 commented May 1, 2023

版本0.9.7后
czsc\sensors\stocks.py class StocksDaySensor 中 self.get_signals 是函数类型
self.get_signals, self.get_event = self.tactic['get_signals'], self.tactic['get_event']
StocksDaySensor 中get_share_strong_days 调用generate_czsc_signals ,但 generate_czsc_signals 要求 signals_config: List[dict] List 类型
signals = generate_czsc_signals(bars, self.get_signals, sdt=sdt, df=False, freqs=self.freqs)
导致ts_stocks_sensors.py 不能运行

@zengbin93
Copy link
Member

这个模块不再维护了,后续可能有新的模块代替

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants