-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #885 from ricequant/develop
Develop
- Loading branch information
Showing
15 changed files
with
145 additions
and
438 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: PROJECT VERSION\n" | ||
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" | ||
"POT-Creation-Date: 2024-04-24 13:56+0800\n" | ||
"POT-Creation-Date: 2024-05-15 14:39+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" | ||
|
@@ -73,8 +73,8 @@ msgstr "" | |
#: rqalpha/apis/api_base.py:173 | ||
#: rqalpha/mod/rqalpha_mod_sys_accounts/api/api_future.py:66 | ||
#: rqalpha/mod/rqalpha_mod_sys_accounts/api/api_stock.py:103 | ||
#: rqalpha/mod/rqalpha_mod_sys_accounts/api/api_stock.py:140 | ||
#: rqalpha/mod/rqalpha_mod_sys_accounts/api/api_stock.py:343 | ||
#: rqalpha/mod/rqalpha_mod_sys_accounts/api/api_stock.py:141 | ||
#: rqalpha/mod/rqalpha_mod_sys_accounts/api/api_stock.py:344 | ||
msgid "Order Creation Failed: [{order_book_id}] No market data" | ||
msgstr "" | ||
|
||
|
@@ -247,41 +247,16 @@ msgstr "" | |
msgid "deprecated parameter[bar_dict] in before_trading function." | ||
msgstr "" | ||
|
||
#: rqalpha/data/bundle.py:460 | ||
msgid "" | ||
"RQAlpha already supports backtesting using futures historical margins and" | ||
" rates, please upgrade RQDatac to version 2.11.12 and above to use it" | ||
msgstr "" | ||
|
||
#: rqalpha/data/bundle.py:470 rqalpha/data/bundle.py:531 | ||
msgid "" | ||
"Futures historical trading parameters data is being updated, please " | ||
"wait......" | ||
msgstr "" | ||
|
||
#: rqalpha/data/bundle.py:522 rqalpha/data/bundle.py:706 | ||
#: rqalpha/data/bundle.py:522 | ||
msgid "" | ||
"File {} update failed, if it is using, please update later, or you can " | ||
"delete then update again" | ||
msgstr "" | ||
|
||
#: rqalpha/data/base_data_source/data_source.py:140 | ||
msgid "" | ||
"RQDatac is not installed, " | ||
"\"config.base.futures_time_series_trading_parameters\" will be disabled." | ||
msgstr "" | ||
|
||
#: rqalpha/data/base_data_source/data_source.py:145 | ||
msgid "" | ||
"RQDatac does not have permission to obtain futures histrical trading " | ||
"parameters, \"config.base.futures_time_series_trading_parameters\" will " | ||
"be disabled." | ||
msgstr "" | ||
|
||
#: rqalpha/data/base_data_source/storages.py:81 | ||
msgid "" | ||
"Your bundle data is too old, please use 'rqalpha update-bundle' or " | ||
"'rqalpha download-bundle' to update it to lastest before using" | ||
"The bundle data you are using is too old, please update it to lastest " | ||
"before using" | ||
msgstr "" | ||
|
||
#: rqalpha/data/base_data_source/storages.py:97 | ||
|
@@ -337,8 +312,8 @@ msgid "" | |
msgstr "" | ||
|
||
#: rqalpha/mod/rqalpha_mod_sys_accounts/api/api_future.py:50 | ||
#: rqalpha/mod/rqalpha_mod_sys_accounts/api/api_stock.py:112 | ||
#: rqalpha/mod/rqalpha_mod_sys_accounts/api/api_stock.py:157 | ||
#: rqalpha/mod/rqalpha_mod_sys_accounts/api/api_stock.py:113 | ||
#: rqalpha/mod/rqalpha_mod_sys_accounts/api/api_stock.py:158 | ||
msgid "Order Creation Failed: 0 order quantity, order_book_id={order_book_id}" | ||
msgstr "" | ||
|
||
|
@@ -371,39 +346,39 @@ msgid "" | |
"again!" | ||
msgstr "" | ||
|
||
#: rqalpha/mod/rqalpha_mod_sys_accounts/api/api_stock.py:119 | ||
#: rqalpha/mod/rqalpha_mod_sys_accounts/api/api_stock.py:120 | ||
msgid "insufficient cash, use all remaining cash({}) to create order" | ||
msgstr "" | ||
|
||
#: rqalpha/mod/rqalpha_mod_sys_accounts/api/api_stock.py:332 | ||
#: rqalpha/mod/rqalpha_mod_sys_accounts/api/api_stock.py:333 | ||
msgid "" | ||
"function order_target_portfolio: invalid keys of target_portfolio, " | ||
"expected order_book_ids or Instrument objects, got {} (type: {})" | ||
msgstr "" | ||
|
||
#: rqalpha/mod/rqalpha_mod_sys_accounts/api/api_stock.py:337 | ||
#: rqalpha/mod/rqalpha_mod_sys_accounts/api/api_stock.py:338 | ||
msgid "" | ||
"function order_target_portfolio: invalid instrument type, excepted " | ||
"CS/ETF/LOF/INDX, got {}" | ||
msgstr "" | ||
|
||
#: rqalpha/mod/rqalpha_mod_sys_accounts/api/api_stock.py:351 | ||
#: rqalpha/mod/rqalpha_mod_sys_accounts/api/api_stock.py:352 | ||
msgid "" | ||
"function order_target_portfolio: invalid values of target_portfolio, " | ||
"excepted float between 0 and 1, got {} (key: {})" | ||
msgstr "" | ||
|
||
#: rqalpha/mod/rqalpha_mod_sys_accounts/api/api_stock.py:360 | ||
#: rqalpha/mod/rqalpha_mod_sys_accounts/api/api_stock.py:361 | ||
msgid "total percent should be lower than 1, current: {}" | ||
msgstr "" | ||
|
||
#: rqalpha/mod/rqalpha_mod_sys_accounts/api/api_stock.py:380 | ||
#: rqalpha/mod/rqalpha_mod_sys_accounts/api/api_stock.py:381 | ||
msgid "" | ||
"Adjust position of {id_or_ins} Failed: Invalid close/open price " | ||
"{close_price}/{open_price}" | ||
msgstr "" | ||
|
||
#: rqalpha/mod/rqalpha_mod_sys_accounts/api/api_stock.py:693 | ||
#: rqalpha/mod/rqalpha_mod_sys_accounts/api/api_stock.py:694 | ||
msgid "in get_dividend, start_date {} is later than the previous test day {}" | ||
msgstr "" | ||
|
||
|
@@ -455,31 +430,31 @@ msgstr "" | |
msgid "[sys_analyser] Generate report from strategy output file" | ||
msgstr "" | ||
|
||
#: rqalpha/mod/rqalpha_mod_sys_analyser/mod.py:113 | ||
#: rqalpha/mod/rqalpha_mod_sys_analyser/mod.py:111 | ||
msgid "" | ||
"config 'base.benchmark' is deprecated, use 'mod.sys_analyser.benchmark' " | ||
"instead" | ||
msgstr "" | ||
|
||
#: rqalpha/mod/rqalpha_mod_sys_analyser/mod.py:151 | ||
#: rqalpha/mod/rqalpha_mod_sys_analyser/mod.py:149 | ||
msgid "benchmark {} not exists, please entry correct order_book_id" | ||
msgstr "" | ||
|
||
#: rqalpha/mod/rqalpha_mod_sys_analyser/mod.py:163 | ||
#: rqalpha/mod/rqalpha_mod_sys_analyser/mod.py:161 | ||
msgid "benchmark {} missing data between backtest start date {} and end date {}" | ||
msgstr "" | ||
|
||
#: rqalpha/mod/rqalpha_mod_sys_analyser/mod.py:175 | ||
#: rqalpha/mod/rqalpha_mod_sys_analyser/mod.py:173 | ||
msgid "" | ||
"benchmark {} available data start date {} >= backtest start date {} or " | ||
"end date {} <= backtest end date {}" | ||
msgstr "" | ||
|
||
#: rqalpha/mod/rqalpha_mod_sys_analyser/mod.py:243 | ||
#: rqalpha/mod/rqalpha_mod_sys_analyser/mod.py:241 | ||
msgid "invalid init benchmark {}, should be in format 'order_book_id:weight'" | ||
msgstr "" | ||
|
||
#: rqalpha/mod/rqalpha_mod_sys_analyser/mod.py:248 | ||
#: rqalpha/mod/rqalpha_mod_sys_analyser/mod.py:246 | ||
msgid "invalid weight for instrument {order_book_id}: {weight}" | ||
msgstr "" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.