Skip to content

Commit

Permalink
pr update
Browse files Browse the repository at this point in the history
  • Loading branch information
Lin-Dongzhao committed Nov 25, 2024
1 parent 6b4b730 commit 890c2f2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions messages.pot
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2024-11-25 09:47+0800\n"
"POT-Creation-Date: 2024-11-25 10:04+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -705,7 +705,7 @@ msgid ""
msgstr ""

#: rqalpha/mod/rqalpha_mod_sys_simulation/matcher.py:126
msgid "Order Cancelled: {order_book_id} miss market data"
msgid "Order Cancelled: {order_book_id} miss market data or bar no volume."
msgstr ""

#: rqalpha/mod/rqalpha_mod_sys_simulation/matcher.py:151
Expand Down
2 changes: 1 addition & 1 deletion rqalpha/mod/rqalpha_mod_sys_simulation/matcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def match(self, account, order, open_auction):
listed_date=listed_date,
)
elif isinstance(order.style, ALGO_ORDER_STYLES):
reason = _(u"Order Cancelled: {order_book_id} miss market data").format(order_book_id=order.order_book_id)
reason = _(u"Order Cancelled: {order_book_id} miss market data or bar no volume.").format(order_book_id=order.order_book_id)
else:
# 撮合的时候无行情数据也不需要撤单,等到有行情再撮合
reason = None
Expand Down
Binary file modified rqalpha/utils/translations/zh_Hans_CN/LC_MESSAGES/messages.mo
Binary file not shown.
6 changes: 3 additions & 3 deletions rqalpha/utils/translations/zh_Hans_CN/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2024-11-25 09:47+0800\n"
"POT-Creation-Date: 2024-11-25 10:04+0800\n"
"PO-Revision-Date: 2016-10-24 21:20+0800\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: zh_Hans_CN\n"
Expand Down Expand Up @@ -724,8 +724,8 @@ msgid ""
msgstr "订单被撤销: [{order_book_id}] 上市首日无法交易"

#: rqalpha/mod/rqalpha_mod_sys_simulation/matcher.py:126
msgid "Order Cancelled: {order_book_id} miss market data"
msgstr "订单被拒单: [{order_book_id}] 当前缺失市场数据。"
msgid "Order Cancelled: {order_book_id} miss market data or bar no volume."
msgstr "订单被拒单: [{order_book_id}] 当前缺失市场数据或无成交量。"

#: rqalpha/mod/rqalpha_mod_sys_simulation/matcher.py:151
#: rqalpha/mod/rqalpha_mod_sys_simulation/signal_broker.py:95
Expand Down

0 comments on commit 890c2f2

Please sign in to comment.