This commit is contained in:
aaron 2025-06-13 11:50:13 +08:00
parent bf1db2d19b
commit 262a4e2fb0
2 changed files with 4 additions and 1 deletions

View File

@ -116,6 +116,9 @@ class AllTickAPI:
# 选择需要的列
df = df[["open", "high", "low", "close", "volume","timestamp"]]
# 数据倒序
df = df.iloc[::-1]
return df

View File

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