This commit is contained in:
aaron 2025-06-15 09:41:51 +08:00
parent acb3d94303
commit 6ca2dd87a2
3 changed files with 2 additions and 2 deletions

View File

@ -84,7 +84,7 @@ class BinanceAPI:
print(f"获取交易对大户持仓多空比时出错: {e}") print(f"获取交易对大户持仓多空比时出错: {e}")
return 0 return 0
def get_historical_klines(self, symbol: str, interval: str, start_str: Optional[str] = None, end_str: Optional[str] = None, limit: int = 150) -> pd.DataFrame: def get_historical_klines(self, symbol: str, interval: str, start_str: Optional[str] = None, end_str: Optional[str] = None, limit: int = 100) -> pd.DataFrame:
""" """
获取历史K线数据 获取历史K线数据

View File

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