Skip to content

Commit

Permalink
[Mod] change prefix VN to Veighna in code
Browse files Browse the repository at this point in the history
  • Loading branch information
vnpy committed Dec 21, 2021
1 parent 2a5bd36 commit 04e0c6c
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 9 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@

# 调整
1. 移除hsoption接口
2.
2. vnpy_webtrader增加对于自定义监听地址和端口的支持

# 剥离
1. 将南华期货NHTD交易接口剥离到vnpy_nhtd项目中
2. 将国泰君安证券统一接入网关交易接口剥离到vnpy_hft项目中
3. 将顶点飞创交易接口剥离到vnpy_sec项目中
4. 将RPC服务和接口剥离到vnpy_rpcservice项目中




Expand Down
5 changes: 2 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,17 @@ vnpy_comstar==1.0.1
vnpy_ib==9.81.1.0
vnpy_tap==9.0.0
vnpy_da==1.12.0
vnpy_sgit==4.8.0
vnpy_femas==1.0.0
vnpy_ost==2.0.1.1
vnpy_tora==2021.12.5
vnpy_hft==1.0.0
vnpy_nhtd==1.0.0
vnpy_sec==1.0.0

vnpy_ctastrategy==1.0.6
vnpy_ctabacktester==1.0.3
vnpy_riskmanager==1.0.2
vnpy_datamanager==1.0.4
vnpy_webtrader==1.0.2
vnpy_webtrader==1.0.3
vnpy_spreadtrading==1.1.3
vnpy_datarecorder==1.0.2
vnpy_chartwizard==1.0.1
Expand Down
2 changes: 1 addition & 1 deletion vnpy/trader/ui/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from ..utility import get_icon_path


def create_qapp(app_name: str = "VN Trader") -> QtWidgets.QApplication:
def create_qapp(app_name: str = "Veighna Trader") -> QtWidgets.QApplication:
"""
Create Qt Application.
"""
Expand Down
4 changes: 2 additions & 2 deletions vnpy/trader/ui/mainwindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def __init__(self, main_engine: MainEngine, event_engine: EventEngine):
self.main_engine: MainEngine = main_engine
self.event_engine: EventEngine = event_engine

self.window_title: str = f"VN Trader {vnpy.__version__} [{TRADER_DIR}]"
self.window_title: str = f"Veighna Trader {vnpy.__version__} [{TRADER_DIR}]"

self.widgets: Dict[str, QtWidgets.QWidget] = {}

Expand Down Expand Up @@ -318,7 +318,7 @@ def send_test_email(self) -> None:
"""
Sending a test email.
"""
self.main_engine.send_email("VN Trader", "testing")
self.main_engine.send_email("Veighna Trader", "testing")

def open_forum(self) -> None:
"""
Expand Down
4 changes: 2 additions & 2 deletions vnpy/trader/ui/widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -1132,7 +1132,7 @@ def __init__(self, main_engine: MainEngine, event_engine: EventEngine):

def init_ui(self) -> None:
""""""
self.setWindowTitle("关于VN Trader")
self.setWindowTitle("关于Veighna Trader")

text = f"""
By Traders, For Traders.
Expand Down Expand Up @@ -1230,7 +1230,7 @@ def update_setting(self) -> None:
QtWidgets.QMessageBox.information(
self,
"注意",
"全局配置的修改需要重启VN Trader后才会生效!",
"全局配置的修改需要重启后才会生效!",
QtWidgets.QMessageBox.Ok
)

Expand Down

0 comments on commit 04e0c6c

Please sign in to comment.