Skip to content

Commit

Permalink
修复资金流向错误
Browse files Browse the repository at this point in the history
  • Loading branch information
myhhub committed Dec 9, 2024
1 parent 166107f commit 917d299
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ trusted-host = mirrors.aliyun.com" > /etc/pip.conf && \
pip install bokeh && \
pip install pandas && \
pip install tornado && \
pip install racer && \
pip install easytrader && \
curl -SL https://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz | tar -xzC . && \
cd ta-lib/ && \
Expand Down
2 changes: 1 addition & 1 deletion instock/core/crawling/stock_fund_em.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ def stock_sector_fund_flow_rank(
text_data = r.text
json_data = json.loads(text_data[text_data.find("{") : -2])
temp_df = pd.DataFrame(json_data["data"]["diff"])
# temp_df = temp_df[~temp_df["f3"].isin(["-"])]
temp_df = temp_df[~temp_df["f2"].isin(["-"])]
if indicator == "今日":
temp_df.columns = [
"-",
Expand Down

0 comments on commit 917d299

Please sign in to comment.