forked from waditu/czsc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 0.9.41 新增 disk cache 功能 * 0.9.41 update * update * 0.9.41 fix test * update readme * 0.9.41 优化 streamlit 组件 * 0.9.41 新增 weekly 绩效评价 * 0.9.41 fix test * 0.9.41 新增自相关分析组件 * 0.9.41 update * 0.9.41 update * 0.9.41 fix test * 0.9.41 优化 streamlit 组件
- Loading branch information
Showing
15 changed files
with
558 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ | |
* 已经开始用czsc库进行量化研究的朋友,欢迎[加入飞书群](https://applink.feishu.cn/client/chat/chatter/add_by_link?link_token=0bak668e-7617-452c-b935-94d2c209e6cf),快点击加入吧! | ||
* [B站视频教程合集(持续更新...)](https://space.bilibili.com/243682308/channel/series) | ||
* [CZSC策略圈介绍](https://s0cqcxuy3p.feishu.cn/wiki/D12bwh4SriW1Lgk23HUchFKFnpe) | ||
* [CZSC小圈子](https://s0cqcxuy3p.feishu.cn/wiki/wikcnwXSk9mWnki1b6URPhLA2Hc) | ||
* [CZSC代码库QA](https://zbczsc.streamlit.app/) | ||
|
||
|
||
|
@@ -33,7 +33,6 @@ | |
* 基于 Tushare 数据的择时、选股策略回测研究流程 | ||
|
||
|
||
|
||
## 安装使用 | ||
|
||
**注意:** python 版本必须大于等于 3.7 | ||
|
@@ -43,6 +42,11 @@ | |
pip install [email protected]:waditu/czsc.git -U | ||
``` | ||
|
||
直接从github指定分支安装最新版: | ||
``` | ||
pip install git+https://github.com/waditu/[email protected] -U | ||
``` | ||
|
||
从`pypi`安装: | ||
``` | ||
pip install czsc -U -i https://pypi.python.org/simple | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,9 +69,13 @@ | |
SignalAnalyzer, | ||
SignalPerformance, | ||
daily_performance, | ||
weekly_performance, | ||
net_value_stats, | ||
subtract_fee, | ||
|
||
home_path, | ||
DiskCache, | ||
disk_cache, | ||
get_dir_size, | ||
empty_cache_path, | ||
print_df_sample, | ||
|
@@ -94,13 +98,16 @@ | |
# streamlit 量化分析组件 | ||
from czsc.utils.st_components import ( | ||
show_daily_return, | ||
show_splited_daily, | ||
show_monthly_return, | ||
show_correlation, | ||
show_sectional_ic, | ||
show_factor_returns, | ||
show_factor_layering, | ||
show_symbol_factor_layering, | ||
show_weight_backtest, | ||
show_ts_rolling_corr, | ||
show_ts_self_corr, | ||
) | ||
|
||
from czsc.utils.bi_info import ( | ||
|
@@ -119,10 +126,10 @@ | |
find_most_similarity, | ||
) | ||
|
||
__version__ = "0.9.40" | ||
__version__ = "0.9.41" | ||
__author__ = "zengbin93" | ||
__email__ = "[email protected]" | ||
__date__ = "20231218" | ||
__date__ = "20240114" | ||
|
||
|
||
def welcome(): | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.