Skip to content

Commit

Permalink
[Mod] 简化测试脚本
Browse files Browse the repository at this point in the history
  • Loading branch information
vnpy committed Dec 24, 2021
1 parent 4c8edd6 commit 4ef2931
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions script/run.py
Expand Up @@ -3,7 +3,7 @@
from vnpy.trader.ui import MainWindow, create_qapp

from vnpy_hts import HtsGateway
from vnpy_optionmaster import OptionMasterApp


def main():
"""主入口函数"""
Expand All @@ -12,7 +12,6 @@ def main():
event_engine = EventEngine()
main_engine = MainEngine(event_engine)
main_engine.add_gateway(HtsGateway)
main_engine.add_app(OptionMasterApp)

main_window = MainWindow(main_engine, event_engine)
main_window.showMaximized()
Expand Down

0 comments on commit 4ef2931

Please sign in to comment.