fix: build_reason weights 参数设为可选
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@ import numpy as np
|
||||
import pandas as pd
|
||||
|
||||
|
||||
def build_reason(code, kline_df, weights):
|
||||
def build_reason(code, kline_df, weights=None):
|
||||
"""
|
||||
从单股日K线(时间升序,≥30行)生成多维度推荐原因。
|
||||
返回 (reason_str, factor_detail_dict)
|
||||
|
||||
Reference in New Issue
Block a user