Skip to content

Commit

Permalink
V0.9.61 更新一批代码 (#217)
Browse files Browse the repository at this point in the history
* 0.9.61 start coding

* 0.9.61 start coding

* 0.9.61 update

* 0.9.61 update

* 0.9.61 update

* 0.9.61 新增 pyd 打包支持

* 0.9.61 新增 pyd 打包支持

* 0.9.61 新增 pyd 打包支持

* 0.9.61 新增 yearly_days 参数支持

* 0.9.61 新增 limit_leverage 函数

* 0.9.61 更新 setup 配置

* 0.9.61 新增 show_corr_graph 相关性可视化

* 0.9.61 新增 price_type 参数控制回测交易价格

* 0.9.61 优化 cross_sectional_strategy

* 0.9.61 fix networkx

* 0.9.61 更新2025年的交易日历

* 0.9.61 WeightBacktest 支持多空分离的收益统计

* 0.9.61 WeightBacktest 支持多空分离的收益统计

* 0.9.61 新增时间效应分析组件

* 0.9.61 update
  • Loading branch information
zengbin93 authored Dec 6, 2024
1 parent b6bc6ef commit 600c784
Show file tree
Hide file tree
Showing 20 changed files with 2,992 additions and 263 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,18 @@ on:

jobs:
deploy:

runs-on: ubuntu-latest

strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']

steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.8'
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: Python package

on:
push:
branches: [ master, 'V0.9.60' ]
branches: [ master, 'V0.9.61' ]
pull_request:
branches: [ master ]

Expand Down
8 changes: 6 additions & 2 deletions czsc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@
show_splited_daily,
show_monthly_return,
show_correlation,
show_corr_graph,
show_sectional_ic,
show_factor_returns,
show_factor_layering,
Expand All @@ -161,6 +162,8 @@
show_factor_value,
show_code_editor,
show_classify,
show_df_describe,
show_date_effect,
)

from czsc.utils.bi_info import (
Expand Down Expand Up @@ -218,13 +221,14 @@
sma_long_bear,
dif_long_bear,
tsf_type,
limit_leverage,
)


__version__ = "0.9.60"
__version__ = "0.9.61"
__author__ = "zengbin93"
__email__ = "zeng_bin8888@163.com"
__date__ = "20240918"
__date__ = "20241101"


def welcome():
Expand Down
Loading

0 comments on commit 600c784

Please sign in to comment.