All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 1m42s
17 lines
391 B
Python
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)
|