xdusongwei / HODL

通过对多头仓位做T的方式来提升赌场存活率的自动化交易系统🎰
MIT License
3 stars 1 forks source link

brokers: [<FutuApi symbol:AAPL name:apple>] 重复,是啥原因? #2

Open xinmans opened 4 hours ago

xinmans commented 4 hours ago
xxx@ubuntu-quant:~/mydev/HODL$ pdm  bot
准备数据库
启动持仓线程
+----------+--------------------------------------------------------------------------------------------------+
| CN       | LV1 Real-time Quotes                                                                             |
|----------+--------------------------------------------------------------------------------------------------|
| USOption | You do not have access to the market's Open API data. Please visit the Quotes Store to purchase. |
|----------+--------------------------------------------------------------------------------------------------|
| US       | Nasdaq Basic                                                                                     |
|----------+--------------------------------------------------------------------------------------------------|
| HK       | LV1 Real-time Quotes                                                                             |
+----------+--------------------------------------------------------------------------------------------------+
2024-11-15 23:09:01,059 | 2498942 | [open_context_base.py] _send_init_connect_sync:311: InitConnect ok: conn_id=1, host=127.0.0.1, port=11111, user_id=xxx
broker_name: futu
brokers: [<FutuApi symbol:AAPL name:apple>]
2024-11-15 23:09:01,063 | 2498942 | [open_context_base.py] _send_init_connect_sync:311: InitConnect ok: conn_id=2, host=127.0.0.1, port=11111, user_id=xxx
启动异步市场状态线程
broker_name: futu
brokers: [<FutuApi symbol:AAPL name:apple>]
开启异步线程拉取市场状态
预拉取市场状态结束
HTML刷新线程已启动
json刷新线程已启动
准备工作结束
broker_name: futu
brokers: [<FutuApi symbol:AAPL name:apple>]
broker_name: futu
brokers: [<FutuApi symbol:AAPL name:apple>]
broker_name: futu
brokers: [<FutuApi symbol:AAPL name:apple>]
broker_name: futu
brokers: [<FutuApi symbol:AAPL name:apple>]
broker_name: futu
brokers: [<FutuApi symbol:AAPL name:apple>]
xdusongwei commented 3 hours ago

没有发现会有地方print brokers:, 在线程的循环哪里加的print?