From 60af627806606c4b1b827f0ab6bda1a506d3b80b Mon Sep 17 00:00:00 2001 From: "GDP\\solonot" Date: Tue, 25 Nov 2025 17:20:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E5=BF=97=E6=A8=A1=E5=9D=97=E6=9B=B4?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.py | 1 - core/eventbus.py | 10 +++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/config.py b/config.py index d9ce65a..2e28300 100644 --- a/config.py +++ b/config.py @@ -1,4 +1,3 @@ -from typing import List import configparser from pathlib import Path import sys diff --git a/core/eventbus.py b/core/eventbus.py index 42ee02e..0a434dd 100644 --- a/core/eventbus.py +++ b/core/eventbus.py @@ -1,11 +1,11 @@ # 市场数据监听控制事件 -EventMarketActiveSwitch = "market_active_switch" -MarketDataUpdate = "market_data_update" -MarketOrderCreated = "market_order_created" -MarketOrderTraded = "market_order_traded" +EventMarketActiveSwitch = "market_active_switch" # 市场数据状态变更 +MarketDataUpdate = "market_data_update" # 市价更新 +MarketOrderCreated = "market_order_created" # 市价单创建 +MarketOrderTraded = "market_order_traded" # 市价单成交 # Pring Log -EventPrintLog = "print_log" +EventPrintLog = "print_log" # 打印日志 class EventBus: def __init__(self):