Skip to content

Commit

Permalink
补充类型声明
Browse files Browse the repository at this point in the history
  • Loading branch information
noranhe committed Mar 29, 2022
1 parent d96c3ff commit 368c23f
Show file tree
Hide file tree
Showing 3 changed files with 81 additions and 82 deletions.
16 changes: 8 additions & 8 deletions vnpy_paperaccount/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@


from pathlib import Path

import importlib_metadata

from vnpy.trader.app import BaseApp

from .engine import PaperEngine, APP_NAME
Expand All @@ -37,10 +37,10 @@

class PaperAccountApp(BaseApp):
""""""
app_name = APP_NAME
app_module = __module__
app_path = Path(__file__).parent
display_name = "模拟交易"
engine_class = PaperEngine
widget_name = "PaperManager"
icon_name = str(app_path.joinpath("ui", "paper.ico"))
app_name: str = APP_NAME
app_module: str = __module__
app_path: Path = Path(__file__).parent
display_name: str = "模拟交易"
engine_class: PaperEngine = PaperEngine
widget_name: str = "PaperManager"
icon_name: str = str(app_path.joinpath("ui", "paper.ico"))
Loading

0 comments on commit 368c23f

Please sign in to comment.