ak13/hour.py
cheney fcf9b977fb
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 1m42s
拆分 day 和 hour 逻辑
2025-07-22 15:32:00 +08:00

17 lines
391 B
Python

import datetime
import akshare as ak
import sz159745
import util
if __name__ == '__main__':
print(ak.__version__)
now = datetime.datetime.now()
print(f"当前时间: {now.strftime('%Y-%m-%d %H:%M:%S')}")
flag = util.is_trading_time_akshare()
print(f"是否为开市时间: {'' if flag else ''}")
price = sz159745.price()
print("sz159745 price:", price)