qnloft-stock/DB/db_config.py

23 lines
650 B
Python

mysql = {
"url": "127.0.0.1",
"port": "3306",
"username": "root",
"password": "qeadzc123",
"database": "qnloft_hospital",
}
# 基本数据
stock_info_db = "stock_info.db"
# 板块相关数据
stock_sector_db = "stock_sector.db"
# 个股日线数据
stock_daily_db = "stock_daily.db"
# 分钟线
stock_daily_freq_db = "stock_daily_freq.db"
# redis_info = ['10.10.XXX', XXX]
# mongo_info = ['10.10.XXX', XXX]
# es_info = ['10.10.XXX', XXX]
# sqlserver_info = ['10.10.XXX:XXX', 'XXX', 'XXX', 'XXX']
# db2_info = ['10.10.XXX', XXX, 'XXX', 'XXX']
# postgre_info = ['XXX', 'XXX', 'XXX', '10.10.XXX', XXX]
# ck_info = ['10.10.XXX', XXX]