forked from ricequant/rqalpha
-
Notifications
You must be signed in to change notification settings - Fork 0
/
messages.pot
472 lines (373 loc) · 12.9 KB
/
messages.pot
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
# Translations template for PROJECT.
# Copyright (C) 2017 ORGANIZATION
# This file is distributed under the same license as the PROJECT project.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2017.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2017-04-10 11:37+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"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.3.4\n"
#: rqalpha/execution_context.py:105
#, python-format
msgid "You cannot call %s when executing %s"
msgstr ""
#: rqalpha/main.py:67
msgid "There is no trading day between {start_date} and {end_date}."
msgstr ""
#: rqalpha/main.py:80
msgid "invalid benchmark {}"
msgstr ""
#: rqalpha/main.py:90
msgid "benchmark {benchmark} has not been listed on {start_date}"
msgstr ""
#: rqalpha/main.py:94
msgid "benchmark {benchmark} has been de_listed on {end_date}"
msgstr ""
#: rqalpha/main.py:143
msgid ""
"\n"
"[WARNING]\n"
"Target bundle path {data_bundle_path} is not empty.\n"
"The content of this folder will be REMOVED before updating.\n"
"Are you sure to continue?"
msgstr ""
#: rqalpha/main.py:155
msgid "try {} ..."
msgstr ""
#: rqalpha/main.py:164
msgid "downloading ..."
msgstr ""
#: rqalpha/main.py:178
msgid "Data bundle download successfully in {bundle_path}"
msgstr ""
#: rqalpha/main.py:295
msgid "strategy run successfully, normal exit"
msgstr ""
#: rqalpha/main.py:301 rqalpha/main.py:318 rqalpha/main.py:321
msgid "strategy execute exception"
msgstr ""
#: rqalpha/api/api_base.py:133 rqalpha/api/api_base.py:233
#: rqalpha/api/api_base.py:264 rqalpha/api/api_future.py:185
#: rqalpha/api/api_stock.py:420
msgid "unsupported order_book_id type"
msgstr ""
#: rqalpha/api/api_base.py:177
msgid "Cancel order fail: invalid order id"
msgstr ""
#: rqalpha/api/api_base.py:696
msgid "in get_dividend, start_date {} is later than the previous test day {}"
msgstr ""
#: rqalpha/api/api_future.py:63 rqalpha/api/api_stock.py:99
#: rqalpha/api/api_stock.py:211
msgid "Limit order price should be positive"
msgstr ""
#: rqalpha/api/api_future.py:75 rqalpha/api/api_future.py:77
#: rqalpha/api/api_stock.py:122 rqalpha/api/api_stock.py:124
msgid "Order Creation Failed: [{order_book_id}] No market data"
msgstr ""
#: rqalpha/api/api_future.py:178 rqalpha/api/api_stock.py:415
msgid "{order_book_id} is not supported in current strategy type"
msgstr ""
#: rqalpha/api/api_stock.py:96 rqalpha/api/api_stock.py:208
msgid "style should be OrderStyle"
msgstr ""
#: rqalpha/api/api_stock.py:130
msgid "Order Creation Failed: 0 order quantity"
msgstr ""
#: rqalpha/api/api_stock.py:269
msgid "percent should between -1 and 1"
msgstr ""
#: rqalpha/api/api_stock.py:348
msgid "percent should between 0 and 1"
msgstr ""
#: rqalpha/core/strategy.py:38
msgid "deprecated parameter[bar_dict] in before_trading function."
msgstr ""
#: rqalpha/core/strategy.py:55
msgid ""
"[deprecated] before_day_trading is no longer used. use before_trading "
"instead."
msgstr ""
#: rqalpha/core/strategy.py:57
msgid ""
"[deprecated] before_night_trading is no longer used. use before_trading "
"instead."
msgstr ""
#: rqalpha/core/strategy_context.py:218 rqalpha/core/strategy_context.py:223
#: rqalpha/core/strategy_context.py:248 rqalpha/core/strategy_context.py:252
#: rqalpha/core/strategy_context.py:256 rqalpha/core/strategy_context.py:260
#: rqalpha/core/strategy_context.py:264
msgid "[deprecated] {} is no longer used."
msgstr ""
#: rqalpha/mod/__init__.py:50
msgid "loading mod {}"
msgstr ""
#: rqalpha/mod/rqalpha_mod_sys_analyser/plot.py:113
msgid "Total Returns"
msgstr ""
#: rqalpha/mod/rqalpha_mod_sys_analyser/plot.py:114
msgid "Annual Returns"
msgstr ""
#: rqalpha/mod/rqalpha_mod_sys_analyser/plot.py:115
msgid "Benchmark Returns"
msgstr ""
#: rqalpha/mod/rqalpha_mod_sys_analyser/plot.py:117
msgid "Benchmark Annual"
msgstr ""
#: rqalpha/mod/rqalpha_mod_sys_analyser/plot.py:120
msgid "Alpha"
msgstr ""
#: rqalpha/mod/rqalpha_mod_sys_analyser/plot.py:121
msgid "Beta"
msgstr ""
#: rqalpha/mod/rqalpha_mod_sys_analyser/plot.py:122
msgid "Sharpe"
msgstr ""
#: rqalpha/mod/rqalpha_mod_sys_analyser/plot.py:123
msgid "Sortino"
msgstr ""
#: rqalpha/mod/rqalpha_mod_sys_analyser/plot.py:124
msgid "Information Ratio"
msgstr ""
#: rqalpha/mod/rqalpha_mod_sys_analyser/plot.py:126
msgid "Volatility"
msgstr ""
#: rqalpha/mod/rqalpha_mod_sys_analyser/plot.py:127
#: rqalpha/mod/rqalpha_mod_sys_analyser/plot.py:157
msgid "MaxDrawdown"
msgstr ""
#: rqalpha/mod/rqalpha_mod_sys_analyser/plot.py:128
msgid "Tracking Error"
msgstr ""
#: rqalpha/mod/rqalpha_mod_sys_analyser/plot.py:129
msgid "Downside Risk"
msgstr ""
#: rqalpha/mod/rqalpha_mod_sys_analyser/plot.py:138
msgid "MaxDD/MaxDDD"
msgstr ""
#: rqalpha/mod/rqalpha_mod_sys_analyser/plot.py:151
msgid "strategy"
msgstr ""
#: rqalpha/mod/rqalpha_mod_sys_analyser/plot.py:153
msgid "benchmark"
msgstr ""
#: rqalpha/mod/rqalpha_mod_sys_analyser/plot.py:159
msgid "MaxDDD"
msgstr ""
#: rqalpha/mod/rqalpha_mod_sys_risk/cash_validator.py:35
#: rqalpha/mod/rqalpha_mod_sys_risk/cash_validator.py:54
msgid ""
"Order Rejected: not enough money to buy {order_book_id}, needs "
"{cost_money:.2f}, cash {cash:.2f}"
msgstr ""
#: rqalpha/mod/rqalpha_mod_sys_risk/is_trading_validator.py:29
msgid "Order Rejected: {order_book_id} is not listed!"
msgstr ""
#: rqalpha/mod/rqalpha_mod_sys_risk/is_trading_validator.py:35
msgid "Order Rejected: {order_book_id} has been delisted!"
msgstr ""
#: rqalpha/mod/rqalpha_mod_sys_risk/is_trading_validator.py:41
msgid "security {order_book_id} is suspended on {date}"
msgstr ""
#: rqalpha/mod/rqalpha_mod_sys_risk/position_validator.py:33
msgid ""
"Order Rejected: not enough stock {order_book_id} to sell, you want to "
"sell {quantity}, sellable {sellable}"
msgstr ""
#: rqalpha/mod/rqalpha_mod_sys_risk/position_validator.py:49
msgid ""
"Order Rejected: not enough securities {order_book_id} to buy close, "
"target sell quantity is {quantity}, sell_closable_quantity {closable}"
msgstr ""
#: rqalpha/mod/rqalpha_mod_sys_risk/position_validator.py:58
msgid ""
"Order Rejected: not enough securities {order_book_id} to sell close, "
"target sell quantity is {quantity}, buy_closable_quantity {closable}"
msgstr ""
#: rqalpha/mod/rqalpha_mod_sys_risk/price_validator.py:33
msgid ""
"Order Rejected: limit order price {limit_price} is higher than limit up "
"{limit_up}."
msgstr ""
#: rqalpha/mod/rqalpha_mod_sys_risk/price_validator.py:44
msgid ""
"Order Rejected: limit order price {limit_price} is lower than limit down "
"{limit_down}."
msgstr ""
#: rqalpha/mod/rqalpha_mod_sys_simulation/matcher.py:68
#: rqalpha/mod/rqalpha_mod_sys_simulation/signal_broker.py:68
msgid ""
"Order Cancelled: current security [{order_book_id}] can not be traded in "
"listed date [{listed_date}]"
msgstr ""
#: rqalpha/mod/rqalpha_mod_sys_simulation/matcher.py:73
#: rqalpha/mod/rqalpha_mod_sys_simulation/signal_broker.py:74
msgid "Order Cancelled: current bar [{order_book_id}] miss market data."
msgstr ""
#: rqalpha/mod/rqalpha_mod_sys_simulation/matcher.py:86
msgid "Order Cancelled: current bar [{order_book_id}] reach the limit_up price."
msgstr ""
#: rqalpha/mod/rqalpha_mod_sys_simulation/matcher.py:92
msgid "Order Cancelled: current bar [{order_book_id}] reach the limit_down price."
msgstr ""
#: rqalpha/mod/rqalpha_mod_sys_simulation/matcher.py:112
msgid ""
"Order Cancelled: market order {order_book_id} volume {order_volume} due "
"to volume limit"
msgstr ""
#: rqalpha/mod/rqalpha_mod_sys_simulation/matcher.py:147
msgid ""
"Order Cancelled: market order {order_book_id} volume {order_volume} is "
"larger than 25 percent of current bar volume, fill {filled_volume} "
"actually"
msgstr ""
#: rqalpha/mod/rqalpha_mod_sys_simulation/mod.py:36
msgid "invalid commission multiplier value: value range is [0, +∞)"
msgstr ""
#: rqalpha/mod/rqalpha_mod_sys_simulation/mod.py:38
msgid "invalid margin multiplier value: value range is (0, +∞]"
msgstr ""
#: rqalpha/mod/rqalpha_mod_sys_simulation/mod.py:47
#: rqalpha/mod/rqalpha_mod_sys_simulation/mod.py:53
msgid "Not supported matching type {}"
msgstr ""
#: rqalpha/mod/rqalpha_mod_sys_simulation/signal_broker.py:55
msgid "cancel_order function is not supported in signal mode"
msgstr ""
#: rqalpha/mod/rqalpha_mod_sys_simulation/signal_broker.py:86
#: rqalpha/mod/rqalpha_mod_sys_simulation/signal_broker.py:92
msgid "You have traded {order_book_id} with {quantity} lots in {bar_status}"
msgstr ""
#: rqalpha/mod/rqalpha_mod_sys_simulation/simulation_broker.py:97
msgid "{order_id} order has been cancelled by user."
msgstr ""
#: rqalpha/mod/rqalpha_mod_sys_simulation/simulation_broker.py:116
msgid "Order Rejected: {order_book_id} can not match. Market close."
msgstr ""
#: rqalpha/mod/rqalpha_mod_sys_simulation/simulation_event_source.py:177
msgid "Frequency {} is not support."
msgstr ""
#: rqalpha/mod/rqalpha_mod_sys_simulation/decider/slippage.py:38
msgid "invalid slippage rate value: value range is [0, 1)"
msgstr ""
#: rqalpha/model/bar.py:345
msgid "id_or_symbols {} does not exist"
msgstr ""
#: rqalpha/model/account/future_account.py:142
#: rqalpha/model/account/stock_account.py:137
msgid "{order_book_id} is expired, close all positions by system"
msgstr ""
#: rqalpha/utils/__init__.py:171
msgid "not run {}({}, {}) because strategy is hold"
msgstr ""
#: rqalpha/utils/arg_checker.py:48
msgid ""
"function {}: invalid {} argument, expect a value of type {}, got {} "
"(type: {})"
msgstr ""
#: rqalpha/utils/arg_checker.py:57
msgid ""
"function {}: invalid {} argument, expect a valid "
"instrument/order_book_id/symbol, got {} (type: {})"
msgstr ""
#: rqalpha/utils/arg_checker.py:64
msgid ""
"function {}: invalid {} argument, expect a valid stock "
"instrument/order_book_id/symbol, got {} (type: {})"
msgstr ""
#: rqalpha/utils/arg_checker.py:71
msgid ""
"function {}: invalid {} argument, expect a valid future "
"instrument/order_book_id/symbol, got {} (type: {})"
msgstr ""
#: rqalpha/utils/arg_checker.py:82 rqalpha/utils/arg_checker.py:90
msgid "Main Future contracts[88] are not supported in paper trading."
msgstr ""
#: rqalpha/utils/arg_checker.py:84 rqalpha/utils/arg_checker.py:95
msgid "Index Future contracts[99] are not supported in paper trading."
msgstr ""
#: rqalpha/utils/arg_checker.py:155
msgid "function {}: invalid {} argument, expect a number, got {} (type: {})"
msgstr ""
#: rqalpha/utils/arg_checker.py:170
msgid "function {}: invalid {} argument, valid: {}, got {} (type: {})"
msgstr ""
#: rqalpha/utils/arg_checker.py:184
msgid "function {}: invalid {} argument, valid fields are {}, got {} (type: {})"
msgstr ""
#: rqalpha/utils/arg_checker.py:196
msgid "function {}: invalid field {}, valid fields are {}, got {} (type: {})"
msgstr ""
#: rqalpha/utils/arg_checker.py:202 rqalpha/utils/arg_checker.py:220
msgid ""
"function {}: invalid {} argument, expect a string or a list of string, "
"got {} (type: {})"
msgstr ""
#: rqalpha/utils/arg_checker.py:240 rqalpha/utils/arg_checker.py:245
msgid "function {}: invalid {} argument, expect a valid date, got {} (type: {})"
msgstr ""
#: rqalpha/utils/arg_checker.py:256
msgid "function {}: invalid {} argument, expect a value >= {}, got {} (type: {})"
msgstr ""
#: rqalpha/utils/arg_checker.py:266
msgid "function {}: invalid {} argument, expect a value > {}, got {} (type: {})"
msgstr ""
#: rqalpha/utils/arg_checker.py:276
msgid "function {}: invalid {} argument, expect a value <= {}, got {} (type: {})"
msgstr ""
#: rqalpha/utils/arg_checker.py:287
msgid "function {}: invalid {} argument, expect a value < {}, got {} (type: {})"
msgstr ""
#: rqalpha/utils/arg_checker.py:304
msgid ""
"function {}: invalid {} argument, interval should be in form of '1d', "
"'3m', '4q', '2y', got {} (type: {})"
msgstr ""
#: rqalpha/utils/arg_checker.py:318
msgid ""
"function {}: invalid {} argument, should be entity like "
"Fundamentals.balance_sheet.total_equity, got {} (type: {})"
msgstr ""
#: rqalpha/utils/arg_checker.py:337
msgid ""
"function {}: invalid {} argument, frequency should be in form of '1m', "
"'5m', '1d', got {} (type: {})"
msgstr ""
#: rqalpha/utils/config.py:41
msgid "config.yml not found in {config_path}"
msgstr ""
#: rqalpha/utils/config.py:84
msgid "config path: {config_path} does not exist."
msgstr ""
#: rqalpha/utils/config.py:189
msgid ""
"data bundle not found in {bundle_path}. Run `rqalpha update_bundle` to "
"download data bundle."
msgstr ""
#: rqalpha/utils/config.py:195
msgid "strategy file not found in {strategy_file}"
msgstr ""
#: rqalpha/utils/config.py:213
msgid "invalid stock starting cash: {}"
msgstr ""
#: rqalpha/utils/config.py:216
msgid "invalid future starting cash: {}"
msgstr ""
#: rqalpha/utils/config.py:219
msgid "stock starting cash and future starting cash can not be both 0."
msgstr ""
#: rqalpha/utils/config.py:253
msgid "in parse_user_config, exception: {e}"
msgstr ""
#: rqalpha/utils/config.py:286
msgid "unknown persist mode: {persist_mode}"
msgstr ""