This commit is contained in:
aaron 2025-05-17 21:15:14 +08:00
parent 27348fb2be
commit f21c4039f7
2 changed files with 1 additions and 5 deletions

View File

@ -74,10 +74,6 @@ async def get_stock_data(stock_code: str):
flow_data = api.get_capital_flow(stock_code, start_date, end_date)
result["flow_data"] = json.loads(flow_data.to_json(orient="records"))
# 获取扫雷避险数据
mine_clearance = api.get_mine_clearance_tdx(stock_code)
result["mine_clearance"] = json.loads(mine_clearance.to_json(orient="records"))
except Exception as e:
logger.error(f"获取股票数据失败: {e}")

View File

@ -29,7 +29,7 @@ services:
cryptoai-api:
build: .
container_name: cryptoai-api
image: cryptoai-api:0.1.3
image: cryptoai-api:0.1.4
restart: always
ports:
- "8000:8000"