Skip to content

Commit

Permalink
0.9.34 启用 AliyunOSS
Browse files Browse the repository at this point in the history
  • Loading branch information
zengbin93 committed Nov 3, 2023
1 parent 4326a66 commit 392f95d
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions czsc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
print_df_sample,
index_composition,

AliyunOSS,
DataClient,
set_url_token,
get_url_token,
Expand Down
1 change: 1 addition & 0 deletions czsc/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
from .cache import home_path, get_dir_size, empty_cache_path
from .index_composition import index_composition
from .data_client import DataClient, set_url_token, get_url_token
from .oss import AliyunOSS


sorted_freqs = ['Tick', '1分钟', '2分钟', '3分钟', '4分钟', '5分钟', '6分钟', '10分钟', '12分钟',
Expand Down
3 changes: 2 additions & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ plotly>=5.11.0
parse>=1.19.0
lightgbm>=4.0.0
streamlit
redis
redis
oss2
4 changes: 4 additions & 0 deletions examples/test_offline/debug_weight_backtest.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import czsc
import pandas as pd

dfw = pd.read_csv(r"C:\Users\zengb\Desktop\dfw_debug.csv")
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@ plotly>=5.11.0
parse>=1.19.0
lightgbm>=4.0.0
streamlit
redis
redis
oss2

0 comments on commit 392f95d

Please sign in to comment.