Comments (2)
There are not any "circular import" in czsc source code. As a third library, you should install czsc
by pip install czsc
or python setup.py install
, then use it in your python console, for example:
import czsc
from czsc.objects import RawBar, Freq
After execute codes above, you will see version hints like:
欢迎使用CZSC!当前版本标识为 0.8.13@20220111
不要预测任何消息的影响,而应该仔细观察市场对消息的反应,即市场走势本身。如感冒之于人的体
质,消息是测试市场体质的,而不是用来预测的。
--摘自《即缠非缠》微博 2021-11-16
from czsc.
Thank you so much for your help.
Using your approach, I am able to compile all *.py files in "czsc/utilis" folder, except ta1.py.
File "/home/Downloads/czsc-master/czsc/utils/ta1.py", line 9, in
import talib as ta
ModuleNotFoundError: No module named 'talib
I also cannot find talib with "pip install talib".
Is this talib one of your own library? How should I import it?
from czsc.
Related Issues (20)
- BarGenerator对连续交易市场k线合成不兼容 HOT 2
- __update_bi函数,未成笔的无包含k数如果小于3则退出,建议放到笔破坏处理的代码后面,具体如下: HOT 1
- 如果没有掘金终端,对应的功能如何替代。 HOT 2
- 代码理解 HOT 2
- update函数,更新持仓状态,没有新的开仓event,也会更新 last_event HOT 1
- 建议:兼容跨端用户 HOT 1
- czsc-0.9.17\examples\strategy_quick_start.py指标没有更新 HOT 1
- examples/ts_stocks_sensors.py 不能运行 HOT 1
- CZSC的fx_list里面会出现重复分型 HOT 3
- 代码逻辑错误:类CzscTrader的get_ensemble_pos方法
- get_signals_config解析信号错误 HOT 1
- 生成echart html文件的笔画法错误
- k线合并有个问题 HOT 3
- dummy.one_symbol_dummy函数执行出错 HOT 1
- 集中反馈一批信号问题
- 如何对接 QMT?新手刚接触,请作者给个简单教程,谢谢 HOT 1
- 这种情况下,两根K构成一笔,是否正确。 HOT 5
- 【check_bi函数】查找极值时根据min_bi_len过滤
- 只有分型和笔,没有线段和中枢算法吗? HOT 5
- 个别数据在绘制笔时有问题
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from czsc.