update
This commit is contained in:
parent
27348fb2be
commit
f21c4039f7
@ -74,10 +74,6 @@ async def get_stock_data(stock_code: str):
|
|||||||
flow_data = api.get_capital_flow(stock_code, start_date, end_date)
|
flow_data = api.get_capital_flow(stock_code, start_date, end_date)
|
||||||
result["flow_data"] = json.loads(flow_data.to_json(orient="records"))
|
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:
|
except Exception as e:
|
||||||
logger.error(f"获取股票数据失败: {e}")
|
logger.error(f"获取股票数据失败: {e}")
|
||||||
|
|||||||
@ -29,7 +29,7 @@ services:
|
|||||||
cryptoai-api:
|
cryptoai-api:
|
||||||
build: .
|
build: .
|
||||||
container_name: cryptoai-api
|
container_name: cryptoai-api
|
||||||
image: cryptoai-api:0.1.3
|
image: cryptoai-api:0.1.4
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- "8000:8000"
|
- "8000:8000"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user