fix(data): baostock参数 adjustfield→adjustflag(真实参数名)
This commit is contained in:
@@ -41,7 +41,7 @@ def download_index(symbol: str, start_year: int, end_year: int, out_dir: str) ->
|
||||
start_date=start_date,
|
||||
end_date=end_date,
|
||||
frequency="d",
|
||||
adjustfield="3" # 不复权
|
||||
adjustflag="3" # 不复权
|
||||
)
|
||||
|
||||
if rs.error_code not in ("0", "success"):
|
||||
|
||||
Reference in New Issue
Block a user