diff --git a/__pycache__/tools.cpython-311.pyc b/__pycache__/tools.cpython-311.pyc new file mode 100644 index 0000000..34e3de1 Binary files /dev/null and b/__pycache__/tools.cpython-311.pyc differ diff --git a/__pycache__/trade_logic.cpython-311.pyc b/__pycache__/trade_logic.cpython-311.pyc new file mode 100644 index 0000000..4dd26d7 Binary files /dev/null and b/__pycache__/trade_logic.cpython-311.pyc differ diff --git a/autobasic/cj_clienttrader.py b/autobasic/cj_clienttrader.py index 9178bf6..fca0144 100644 --- a/autobasic/cj_clienttrader.py +++ b/autobasic/cj_clienttrader.py @@ -25,8 +25,7 @@ root_path = Path(__file__).parent.parent # 直接默认使用C:'金长江网上交易汇智版','xiadan.exe' -path = os.path.join('C:','金长江网上交易汇智版','xiadan.exe') - +path = r'C:\金长江网上交易汇智版\xiadan.exe' global engine engine = create_engine( 'mysql+pymysql://cn_ainvest_db:cn_ainvest_sd3a1@rm-2zewagytttzk6f24xno.mysql.rds.aliyuncs.com:3306' diff --git a/autobasic/gf_clienttrader.py b/autobasic/gf_clienttrader.py index a422dd5..050f9d7 100644 --- a/autobasic/gf_clienttrader.py +++ b/autobasic/gf_clienttrader.py @@ -24,7 +24,7 @@ scripts_path = os.path.dirname(os.path.realpath(__file__)) from pathlib import Path root_path = Path(__file__).parent.parent from config import ssid,password -path = os.path.join('C:','gfzqrzrq','xiadan.exe') +path = r'C:\广发证券网上交易系统\xiadan.exe' global engine engine = create_engine( diff --git a/autobasic/huatai_clienttrader.py b/autobasic/huatai_clienttrader.py index 669bd23..bb7265b 100644 --- a/autobasic/huatai_clienttrader.py +++ b/autobasic/huatai_clienttrader.py @@ -23,7 +23,7 @@ scripts_path = os.path.dirname(os.path.realpath(__file__)) from pathlib import Path root_path = Path(__file__).parent.parent from config import ssid,password -path = os.path.join('C:','华泰证券网上交易委托系统','xiadan.exe') +path = r'C:\华泰证券网上交易委托系统\xiadan.exe' global engine engine = create_engine( diff --git a/autobasic/zxjt_clienttrader.py b/autobasic/zxjt_clienttrader.py index d115493..a1a5b80 100644 --- a/autobasic/zxjt_clienttrader.py +++ b/autobasic/zxjt_clienttrader.py @@ -23,7 +23,7 @@ scripts_path = os.path.dirname(os.path.realpath(__file__)) from pathlib import Path root_path = Path(__file__).parent.parent -path = os.path.join('C:','中信建投网上交易极速版(同花顺)','xiadan.exe') +path = r'C:\中信建投网上交易极速版(同花顺)\xiadan.exe' global engine engine = create_engine( 'mysql+pymysql://cn_ainvest_db:cn_ainvest_sd3a1@rm-2zewagytttzk6f24xno.mysql.rds.aliyuncs.com:3306'