From 6ca2dd87a282d2b436c463ae14e09e54176409f1 Mon Sep 17 00:00:00 2001 From: aaron <> Date: Sun, 15 Jun 2025 09:41:51 +0800 Subject: [PATCH] 1 --- .../__pycache__/binance_api.cpython-313.pyc | Bin 10007 -> 10007 bytes cryptoai/api/binance_api.py | 2 +- docker-compose.yml | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cryptoai/api/__pycache__/binance_api.cpython-313.pyc b/cryptoai/api/__pycache__/binance_api.cpython-313.pyc index d80ba24e5ed238bbfc2f0f707700a820cc4af338..a073857568e8f6cdfbd48ccf6c6f9b42fb6bc205 100644 GIT binary patch delta 93 zcmbR4H{FlxGcPX}0}xzR*~s-+kv|2<)MU*3!U&>@8aMw@jA3T%nH;Ga$~a;2det8) jJwOFT6F@{ah)@F&VnE^+hfQvNN@-52UD3?Rr`3D_vk$)PHsmYl6g%L!(OxgTLF@~A3cXFg^DC5M*>s5cK k^a2$WO#~4=AVLj9hyjUP95%W6DWy57c15!$pH}k$0Nh_1_W%F@ diff --git a/cryptoai/api/binance_api.py b/cryptoai/api/binance_api.py index 5a0879e..76bdcf0 100644 --- a/cryptoai/api/binance_api.py +++ b/cryptoai/api/binance_api.py @@ -84,7 +84,7 @@ class BinanceAPI: print(f"获取交易对大户持仓多空比时出错: {e}") 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线数据 diff --git a/docker-compose.yml b/docker-compose.yml index 5fc98d8..5351d8b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -29,7 +29,7 @@ services: cryptoai-api: build: . container_name: cryptoai-api - image: cryptoai-api:0.2.18 + image: cryptoai-api:0.2.19 restart: always ports: - "8000:8000"