-
Notifications
You must be signed in to change notification settings - Fork 997
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 0.9.58 start coding * 0.9.58 read_table with empty * 0.9.58 fix bug: start_qmt_exe * 0.9.58 fix bug: remove_beta_effects * 0.9.58 update * 0.9.58 新增 judge_factor_direction * 0.9.58 update * 0.9.58 update * 0.9.58 update * 0.9.58 update * 0.9.58 update * 0.9.58 update * 0.9.58 update * 0.9.58 update * 0.9.58 update * 0.9.58 优化streamlit组件 * 0.9.58 fix bug * 0.9.58 fix bug * 0.9.58 fix bug
- Loading branch information
Showing
18 changed files
with
262 additions
and
115 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
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 |
---|---|---|
|
@@ -202,13 +202,15 @@ | |
from czsc.eda import ( | ||
remove_beta_effects, vwap, twap, | ||
cross_sectional_strategy, | ||
judge_factor_direction, | ||
monotonicity, | ||
) | ||
|
||
|
||
__version__ = "0.9.57" | ||
__version__ = "0.9.58" | ||
__author__ = "zengbin93" | ||
__email__ = "[email protected]" | ||
__date__ = "20240726" | ||
__date__ = "20240808" | ||
|
||
|
||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
author: zengbin93 | ||
email: [email protected] | ||
create_dt: 2022/12/16 19:37 | ||
describe: | ||
describe: | ||
""" | ||
|
||
import requests | ||
|
@@ -36,7 +36,7 @@ def push_text(text: str, key: str) -> None: | |
logger.error(f"推送消息失败: {e}") | ||
|
||
|
||
def push_card(card: str, key: str) -> None: | ||
def push_card(card: dict, key: str) -> None: | ||
"""使用自定义机器人推送卡片消息到飞书群聊 | ||
如何在群组中使用机器人: | ||
|
@@ -150,7 +150,7 @@ def update_spreadsheet(df: pd.DataFrame, spreadsheet_token: str, sheet_id: str, | |
获取 sheet_id - https://open.feishu.cn/document/server-docs/docs/sheets-v3/spreadsheet-sheet/query?appId=cli_a3077015cc39500e | ||
:param df: datafream内容 | ||
:param df: dataframe内容 | ||
:param spreadsheet_token: 表格对应的token,url获取 | ||
:param sheet_id: 工作表的id | ||
:param kwargs: | ||
|
@@ -175,6 +175,6 @@ def update_spreadsheet(df: pd.DataFrame, spreadsheet_token: str, sheet_id: str, | |
else: | ||
logger.error(b) | ||
return 0 | ||
except Exception: | ||
logger.exception("更新飞书表格失败") | ||
except Exception as e: | ||
logger.exception(f"更新飞书表格失败: {e}") | ||
return 0 |
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.