代码格式化
This commit is contained in:
@@ -62,11 +62,9 @@ def get_latest_index_kline_date():
|
||||
return df
|
||||
|
||||
|
||||
|
||||
|
||||
def main():
|
||||
webhook = "https://oapi.dingtalk.com/robot/send?access_token=fb70c1561d8beba94b4f11568f4bb15e3ae07ccbdc8ac19676434a9d1cd17546" # 填写你的webhook
|
||||
secret = "SEC1ae7cd2f1a6f9da3611af37da3e7d954c1e8533fc073c6c8cc5e5af3b6e5926b" # 填写你的加签token(如果有),否则留空
|
||||
secret = "SEC1ae7cd2f1a6f9da3611af37da3e7d954c1e8533fc073c6c8cc5e5af3b6e5926b" # 填写你的加签token(如果有),否则留空
|
||||
dingtalk = DingTalkBot(webhook, secret)
|
||||
try:
|
||||
db_config = DatabaseConfig()
|
||||
@@ -102,4 +100,3 @@ if __name__ == "__main__":
|
||||
while True:
|
||||
schedule.run_pending()
|
||||
time.sleep(1)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user