Skip to content

Commit

Permalink
[Fix] typo
Browse files Browse the repository at this point in the history
  • Loading branch information
vnpy committed Feb 14, 2024
1 parent 0615b58 commit 99c67e7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions vnpy/trader/ui/widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ class TradeMonitor(BaseMonitor):
"tradeid": {"display": "Trade ID ", "cell": BaseCell, "update": False},
"orderid": {"display": "Order ID", "cell": BaseCell, "update": False},
"symbol": {"display": "Symbol", "cell": BaseCell, "update": False},
"exchange": {"display": "Exchang", "cell": EnumCell, "update": False},
"exchange": {"display": "Exchange", "cell": EnumCell, "update": False},
"direction": {"display": "Direction", "cell": DirectionCell, "update": False},
"offset": {"display": "Offset", "cell": EnumCell, "update": False},
"price": {"display": "Price", "cell": BaseCell, "update": False},
Expand All @@ -469,7 +469,7 @@ class OrderMonitor(BaseMonitor):
"orderid": {"display": "Order ID", "cell": BaseCell, "update": False},
"reference": {"display": "Reference", "cell": BaseCell, "update": False},
"symbol": {"display": "Symbol", "cell": BaseCell, "update": False},
"exchange": {"display": "Exchang", "cell": EnumCell, "update": False},
"exchange": {"display": "Exchange", "cell": EnumCell, "update": False},
"type": {"display": "Type", "cell": EnumCell, "update": False},
"direction": {"display": "Direction", "cell": DirectionCell, "update": False},
"offset": {"display": "Offset", "cell": EnumCell, "update": False},
Expand Down Expand Up @@ -510,7 +510,7 @@ class PositionMonitor(BaseMonitor):

headers: dict = {
"symbol": {"display": "Symbol", "cell": BaseCell, "update": False},
"exchange": {"display": "Exchang", "cell": EnumCell, "update": False},
"exchange": {"display": "Exchange", "cell": EnumCell, "update": False},
"direction": {"display": "Direction", "cell": DirectionCell, "update": False},
"volume": {"display": "Volume", "cell": BaseCell, "update": True},
"yd_volume": {"display": "Yd Volume", "cell": BaseCell, "update": True},
Expand Down Expand Up @@ -552,7 +552,7 @@ class QuoteMonitor(BaseMonitor):
"quoteid": {"display": "Quote ID", "cell": BaseCell, "update": False},
"reference": {"display": "Reference", "cell": BaseCell, "update": False},
"symbol": {"display": "Symbol", "cell": BaseCell, "update": False},
"exchange": {"display": "Exchang", "cell": EnumCell, "update": False},
"exchange": {"display": "Exchange", "cell": EnumCell, "update": False},
"bid_offset": {"display": "Bid Offset", "cell": EnumCell, "update": False},
"bid_volume": {"display": "Bid Volume", "cell": BidCell, "update": False},
"bid_price": {"display": "Bid Price", "cell": BidCell, "update": False},
Expand Down Expand Up @@ -737,7 +737,7 @@ def init_ui(self) -> None:
cancel_button.clicked.connect(self.cancel_all)

grid: QtWidgets.QGridLayout = QtWidgets.QGridLayout()
grid.addWidget(QtWidgets.QLabel("Exchang"), 0, 0)
grid.addWidget(QtWidgets.QLabel("Exchange"), 0, 0)
grid.addWidget(QtWidgets.QLabel("Symbol"), 1, 0)
grid.addWidget(QtWidgets.QLabel("Name"), 2, 0)
grid.addWidget(QtWidgets.QLabel("Direction"), 3, 0)
Expand Down Expand Up @@ -1059,7 +1059,7 @@ class ContractManager(QtWidgets.QWidget):
headers: Dict[str, str] = {
"vt_symbol": "Local Symbol",
"symbol": "Symbol",
"exchange": "Exchang",
"exchange": "Exchange",
"name": "Name",
"product": "Product",
"size": "Size",
Expand Down

0 comments on commit 99c67e7

Please sign in to comment.