xinxin
This commit is contained in:
parent
38e4827c10
commit
909a46f8be
@ -111,7 +111,7 @@ class GFClientTrader:
|
|||||||
set_proxy(proxy_ip, proxy_port)
|
set_proxy(proxy_ip, proxy_port)
|
||||||
self.log.info('全局代理设置成功')
|
self.log.info('全局代理设置成功')
|
||||||
|
|
||||||
# ip和mac入库
|
# ip和mac入库
|
||||||
new_mac = set_mac.get_macinfos()
|
new_mac = set_mac.get_macinfos()
|
||||||
insert_data_df = pd.DataFrame([{'As_Of_Date': datetime.date.today(),
|
insert_data_df = pd.DataFrame([{'As_Of_Date': datetime.date.today(),
|
||||||
'Broker': '广发证券',
|
'Broker': '广发证券',
|
||||||
@ -145,7 +145,7 @@ class GFClientTrader:
|
|||||||
|
|
||||||
time.sleep(0.2)
|
time.sleep(0.2)
|
||||||
pywinauto.keyboard.send_keys("{ENTER}")
|
pywinauto.keyboard.send_keys("{ENTER}")
|
||||||
|
time.sleep(10)
|
||||||
self._close_prompt_windows()
|
self._close_prompt_windows()
|
||||||
self._app.window(title_re='核新网上交易系统.*').wait("ready",timeout=60)
|
self._app.window(title_re='核新网上交易系统.*').wait("ready",timeout=60)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user