Skip to content

Commit

Permalink
恢复历史财务下载
Browse files Browse the repository at this point in the history
  • Loading branch information
fasiondog committed Jan 22, 2025
1 parent 2990043 commit 68a864d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions hikyuu/gui/data/ImportHistoryFinanceTask.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,8 @@ def __init__(self, log_queue, queue, config, dest_dir):

def connect(self):
self.api = TdxHq_API()
hosts = search_best_tdx()
hku_check(self.api.connect(hosts[0][2], hosts[0][3]), "failed connect pytdx {}:{}!", hosts[0][2], hosts[0][3])
#hku_check(self.api.connect('120.76.152.87', 7709), "failed connect pytdx!")
# 不是所有服务器都提供下载
hku_check(self.api.connect('120.76.152.87', 7709), "failed connect pytdx!")

def get_list_info(self):
result = []
Expand Down

0 comments on commit 68a864d

Please sign in to comment.