text
stringlengths
24
1.04M
metadata
stringlengths
233
497
### File: rqalpha/examples/technical_analysis/golden_cross.py # Run `rqalpha mod enable sys_funcat` first. from rqalpha.api import * # 在这个方法中编写任何的初始化逻辑。context对象将会在你的算法策略的任何方法之间做传递。 def init(context): context.s1 = "000001.XSHE" # 当前关注股票为 context.s1 # S 为 set_current_stock 的简写。等价于 set_current_stock(context...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/examples/technical_analysis/golden_cross.py", "license": "apache-2.0", "size": 1584}
### File: rqalpha/examples/turtle.py from rqalpha.api import * import numpy as np import talib import math def get_extreme(array_high_price_result, array_low_price_result): np_array_high_price_result = np.array(array_high_price_result[:-1]) np_array_low_price_result = np.array(array_low_price_result[:-1]) ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/examples/turtle.py", "license": "apache-2.0", "size": 4633}
### File: rqalpha/execution_context.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/execution_context.py", "license": "apache-2.0", "size": 3206}
### File: rqalpha/interface.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # #...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/interface.py", "license": "apache-2.0", "size": 18105}
### File: rqalpha/main.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unle...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/main.py", "license": "apache-2.0", "size": 15062}
### File: rqalpha/mod/__init__.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/mod/__init__.py", "license": "apache-2.0", "size": 3417}
### File: rqalpha/mod/rqalpha_mod_sys_accounts/__init__.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache....
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/mod/rqalpha_mod_sys_accounts/__init__.py", "license": "apache-2.0", "size": 1041}
### File: rqalpha/mod/rqalpha_mod_sys_accounts/account_model/__init__.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/mod/rqalpha_mod_sys_accounts/account_model/__init__.py", "license": "apache-2.0", "size": 735}
### File: rqalpha/mod/rqalpha_mod_sys_accounts/account_model/benchmark_account.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # #...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/mod/rqalpha_mod_sys_accounts/account_model/benchmark_account.py", "license": "apache-2.0", "size": 2400}
### File: rqalpha/mod/rqalpha_mod_sys_accounts/account_model/future_account.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/mod/rqalpha_mod_sys_accounts/account_model/future_account.py", "license": "apache-2.0", "size": 11165}
### File: rqalpha/mod/rqalpha_mod_sys_accounts/account_model/stock_account.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/mod/rqalpha_mod_sys_accounts/account_model/stock_account.py", "license": "apache-2.0", "size": 9808}
### File: rqalpha/mod/rqalpha_mod_sys_accounts/api/__init__.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apa...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/mod/rqalpha_mod_sys_accounts/api/__init__.py", "license": "apache-2.0", "size": 605}
### File: rqalpha/mod/rqalpha_mod_sys_accounts/api/api_future.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.a...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/mod/rqalpha_mod_sys_accounts/api/api_future.py", "license": "apache-2.0", "size": 12567}
### File: rqalpha/mod/rqalpha_mod_sys_accounts/api/api_stock.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.ap...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/mod/rqalpha_mod_sys_accounts/api/api_stock.py", "license": "apache-2.0", "size": 21635}
### File: rqalpha/mod/rqalpha_mod_sys_accounts/mod.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/l...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/mod/rqalpha_mod_sys_accounts/mod.py", "license": "apache-2.0", "size": 2082}
### File: rqalpha/mod/rqalpha_mod_sys_accounts/position_model/__init__.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # htt...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/mod/rqalpha_mod_sys_accounts/position_model/__init__.py", "license": "apache-2.0", "size": 691}
### File: rqalpha/mod/rqalpha_mod_sys_accounts/position_model/future_position.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/mod/rqalpha_mod_sys_accounts/position_model/future_position.py", "license": "apache-2.0", "size": 16652}
### File: rqalpha/mod/rqalpha_mod_sys_accounts/position_model/stock_position.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/mod/rqalpha_mod_sys_accounts/position_model/stock_position.py", "license": "apache-2.0", "size": 6370}
### File: rqalpha/mod/rqalpha_mod_sys_analyser/__init__.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache....
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/mod/rqalpha_mod_sys_analyser/__init__.py", "license": "apache-2.0", "size": 3088}
### File: rqalpha/mod/rqalpha_mod_sys_analyser/mod.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/l...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/mod/rqalpha_mod_sys_analyser/mod.py", "license": "apache-2.0", "size": 11781}
### File: rqalpha/mod/rqalpha_mod_sys_analyser/plot.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/mod/rqalpha_mod_sys_analyser/plot.py", "license": "apache-2.0", "size": 7646}
### File: rqalpha/mod/rqalpha_mod_sys_analyser/report.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.or...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/mod/rqalpha_mod_sys_analyser/report.py", "license": "apache-2.0", "size": 2248}
### File: rqalpha/mod/rqalpha_mod_sys_funcat/__init__.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.or...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/mod/rqalpha_mod_sys_funcat/__init__.py", "license": "apache-2.0", "size": 682}
### File: rqalpha/mod/rqalpha_mod_sys_funcat/mod.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/lic...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/mod/rqalpha_mod_sys_funcat/mod.py", "license": "apache-2.0", "size": 5579}
### File: rqalpha/mod/rqalpha_mod_sys_progress/__init__.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache....
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/mod/rqalpha_mod_sys_progress/__init__.py", "license": "apache-2.0", "size": 1085}
### File: rqalpha/mod/rqalpha_mod_sys_progress/mod.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/l...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/mod/rqalpha_mod_sys_progress/mod.py", "license": "apache-2.0", "size": 1530}
### File: rqalpha/mod/rqalpha_mod_sys_risk/__init__.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/mod/rqalpha_mod_sys_risk/__init__.py", "license": "apache-2.0", "size": 1376}
### File: rqalpha/mod/rqalpha_mod_sys_risk/cash_validator.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apach...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/mod/rqalpha_mod_sys_risk/cash_validator.py", "license": "apache-2.0", "size": 2852}
### File: rqalpha/mod/rqalpha_mod_sys_risk/is_trading_validator.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/mod/rqalpha_mod_sys_risk/is_trading_validator.py", "license": "apache-2.0", "size": 2873}
### File: rqalpha/mod/rqalpha_mod_sys_risk/mod.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licen...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/mod/rqalpha_mod_sys_risk/mod.py", "license": "apache-2.0", "size": 1378}
### File: rqalpha/mod/rqalpha_mod_sys_risk/position_validator.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.a...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/mod/rqalpha_mod_sys_risk/position_validator.py", "license": "apache-2.0", "size": 3041}
### File: rqalpha/mod/rqalpha_mod_sys_risk/price_validator.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apac...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/mod/rqalpha_mod_sys_risk/price_validator.py", "license": "apache-2.0", "size": 1892}
### File: rqalpha/mod/rqalpha_mod_sys_simulation/__init__.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apach...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/mod/rqalpha_mod_sys_simulation/__init__.py", "license": "apache-2.0", "size": 3004}
### File: rqalpha/mod/rqalpha_mod_sys_simulation/decider/__init__.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://w...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/mod/rqalpha_mod_sys_simulation/decider/__init__.py", "license": "apache-2.0", "size": 1812}
### File: rqalpha/mod/rqalpha_mod_sys_simulation/decider/commission.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http:/...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/mod/rqalpha_mod_sys_simulation/decider/commission.py", "license": "apache-2.0", "size": 5059}
### File: rqalpha/mod/rqalpha_mod_sys_simulation/decider/slippage.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://w...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/mod/rqalpha_mod_sys_simulation/decider/slippage.py", "license": "apache-2.0", "size": 1559}
### File: rqalpha/mod/rqalpha_mod_sys_simulation/decider/tax.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.ap...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/mod/rqalpha_mod_sys_simulation/decider/tax.py", "license": "apache-2.0", "size": 1440}
### File: rqalpha/mod/rqalpha_mod_sys_simulation/matcher.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/mod/rqalpha_mod_sys_simulation/matcher.py", "license": "apache-2.0", "size": 9076}
### File: rqalpha/mod/rqalpha_mod_sys_simulation/mod.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/mod/rqalpha_mod_sys_simulation/mod.py", "license": "apache-2.0", "size": 3174}
### File: rqalpha/mod/rqalpha_mod_sys_simulation/signal_broker.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www....
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/mod/rqalpha_mod_sys_simulation/signal_broker.py", "license": "apache-2.0", "size": 5148}
### File: rqalpha/mod/rqalpha_mod_sys_simulation/simulation_broker.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/mod/rqalpha_mod_sys_simulation/simulation_broker.py", "license": "apache-2.0", "size": 5989}
### File: rqalpha/mod/rqalpha_mod_sys_simulation/simulation_event_source.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # h...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/mod/rqalpha_mod_sys_simulation/simulation_event_source.py", "license": "apache-2.0", "size": 8525}
### File: rqalpha/mod/rqalpha_mod_sys_simulation/utils.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.o...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/mod/rqalpha_mod_sys_simulation/utils.py", "license": "apache-2.0", "size": 3781}
### File: rqalpha/mod/rqalpha_mod_sys_stock_realtime/__init__.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.a...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/mod/rqalpha_mod_sys_stock_realtime/__init__.py", "license": "apache-2.0", "size": 2931}
### File: rqalpha/mod/rqalpha_mod_sys_stock_realtime/data_board.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/mod/rqalpha_mod_sys_stock_realtime/data_board.py", "license": "apache-2.0", "size": 663}
### File: rqalpha/mod/rqalpha_mod_sys_stock_realtime/direct_data_source.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # ht...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/mod/rqalpha_mod_sys_stock_realtime/direct_data_source.py", "license": "apache-2.0", "size": 1690}
### File: rqalpha/mod/rqalpha_mod_sys_stock_realtime/event_source.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://w...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/mod/rqalpha_mod_sys_stock_realtime/event_source.py", "license": "apache-2.0", "size": 4991}
### File: rqalpha/mod/rqalpha_mod_sys_stock_realtime/mod.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/mod/rqalpha_mod_sys_stock_realtime/mod.py", "license": "apache-2.0", "size": 2150}
### File: rqalpha/mod/rqalpha_mod_sys_stock_realtime/redis_data_source.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # htt...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/mod/rqalpha_mod_sys_stock_realtime/redis_data_source.py", "license": "apache-2.0", "size": 1740}
### File: rqalpha/mod/rqalpha_mod_sys_stock_realtime/utils.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apac...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/mod/rqalpha_mod_sys_stock_realtime/utils.py", "license": "apache-2.0", "size": 4203}
### File: rqalpha/mod/utils.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # #...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/mod/utils.py", "license": "apache-2.0", "size": 895}
### File: rqalpha/model/__init__.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2....
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/model/__init__.py", "license": "apache-2.0", "size": 604}
### File: rqalpha/model/bar.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # #...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/model/bar.py", "license": "apache-2.0", "size": 11233}
### File: rqalpha/model/base_account.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENS...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/model/base_account.py", "license": "apache-2.0", "size": 4178}
### File: rqalpha/model/base_position.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICEN...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/model/base_position.py", "license": "apache-2.0", "size": 3428}
### File: rqalpha/model/instrument.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/model/instrument.py", "license": "apache-2.0", "size": 9728}
### File: rqalpha/model/order.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 #...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/model/order.py", "license": "apache-2.0", "size": 8941}
### File: rqalpha/model/portfolio.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/model/portfolio.py", "license": "apache-2.0", "size": 7133}
### File: rqalpha/model/snapshot.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2....
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/model/snapshot.py", "license": "apache-2.0", "size": 5052}
### File: rqalpha/model/tick.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/model/tick.py", "license": "apache-2.0", "size": 3618}
### File: rqalpha/model/trade.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 #...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/model/trade.py", "license": "apache-2.0", "size": 3240}
### File: rqalpha/resource/__init__.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/resource/__init__.py", "license": "apache-2.0", "size": 606}
### File: rqalpha/user_module.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 #...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/user_module.py", "license": "apache-2.0", "size": 605}
### File: rqalpha/utils/__init__.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2....
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/utils/__init__.py", "license": "apache-2.0", "size": 8836}
### File: rqalpha/utils/arg_checker.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/utils/arg_checker.py", "license": "apache-2.0", "size": 15820}
### File: rqalpha/utils/click_helper.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENS...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/utils/click_helper.py", "license": "apache-2.0", "size": 925}
### File: rqalpha/utils/config.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/utils/config.py", "license": "apache-2.0", "size": 8276}
### File: rqalpha/utils/datetime_func.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICEN...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/utils/datetime_func.py", "license": "apache-2.0", "size": 3019}
### File: rqalpha/utils/default_future_info.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/utils/default_future_info.py", "license": "apache-2.0", "size": 3874}
### File: rqalpha/utils/dict_func.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/utils/dict_func.py", "license": "apache-2.0", "size": 959}
### File: rqalpha/utils/disk_persist_provider.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licens...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/utils/disk_persist_provider.py", "license": "apache-2.0", "size": 1266}
### File: rqalpha/utils/exception.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/utils/exception.py", "license": "apache-2.0", "size": 3932}
### File: rqalpha/utils/i18n.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/utils/i18n.py", "license": "apache-2.0", "size": 1852}
### File: rqalpha/utils/logger.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/utils/logger.py", "license": "apache-2.0", "size": 3371}
### File: rqalpha/utils/package_helper.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICE...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/utils/package_helper.py", "license": "apache-2.0", "size": 953}
### File: rqalpha/utils/persisit_helper.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LIC...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/utils/persisit_helper.py", "license": "apache-2.0", "size": 3151}
### File: rqalpha/utils/plot_store.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/utils/plot_store.py", "license": "apache-2.0", "size": 879}
### File: rqalpha/utils/py2.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # #...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/utils/py2.py", "license": "apache-2.0", "size": 1645}
### File: rqalpha/utils/repr.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/utils/repr.py", "license": "apache-2.0", "size": 2208}
### File: rqalpha/utils/risk.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/utils/risk.py", "license": "apache-2.0", "size": 11096}
### File: rqalpha/utils/rq_json.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/utils/rq_json.py", "license": "apache-2.0", "size": 1766}
### File: rqalpha/utils/scheduler.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/utils/scheduler.py", "license": "apache-2.0", "size": 9451}
### File: rqalpha/utils/strategy_loader_help.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/license...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/utils/strategy_loader_help.py", "license": "apache-2.0", "size": 1810}
### File: rqalpha/utils/translations/__init__.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licens...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/utils/translations/__init__.py", "license": "apache-2.0", "size": 605}
### File: rqalpha/utils/translations/zh_Hans_CN/LC_MESSAGES/__init__.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http:...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/utils/translations/zh_Hans_CN/LC_MESSAGES/__init__.py", "license": "apache-2.0", "size": 605}
### File: rqalpha/utils/translations/zh_Hans_CN/__init__.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "rqalpha/utils/translations/zh_Hans_CN/__init__.py", "license": "apache-2.0", "size": 605}
### File: setup.py #!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICEN...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "setup.py", "license": "apache-2.0", "size": 1964}
### File: test.py #!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENS...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "test.py", "license": "apache-2.0", "size": 13448}
### File: tests/__init__.py # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Un...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "tests/__init__.py", "license": "apache-2.0", "size": 604}
### File: tests/api/__init__.py #!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/l...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentliu168/rqalpha", "path": "tests/api/__init__.py", "license": "apache-2.0", "size": 626}
### File: .circleci/Dockerfiles/scripts/run-android-ci-instrumentation-tests.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ 'use strict'; /** * This script runs instrumenta...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincentJinxin/react-native", "path": ".circleci/Dockerfiles/scripts/run-android-ci-instrumentation-tests.js", "license": "mit", "size": 4679}
### File: .circleci/Dockerfiles/scripts/run-android-docker-instrumentation-tests.sh #!/bin/bash # Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. # for buck gen mount -o remount,exec /dev/shm ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "vincentJinxin/react-native", "path": ".circleci/Dockerfiles/scripts/run-android-docker-instrumentation-tests.sh", "license": "mit", "size": 1394}
### File: .circleci/Dockerfiles/scripts/run-android-docker-unit-tests.sh #!/bin/bash # Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. # set default environment variables UNIT_TESTS_BUILD_THRE...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "vincentJinxin/react-native", "path": ".circleci/Dockerfiles/scripts/run-android-docker-unit-tests.sh", "license": "mit", "size": 444}
### File: .circleci/Dockerfiles/scripts/run-ci-e2e-tests.sh #!/bin/bash # Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. set -ex # set default environment variables ROOT=$(pwd) SCRIPTS=$(pwd...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "vincentJinxin/react-native", "path": ".circleci/Dockerfiles/scripts/run-ci-e2e-tests.sh", "license": "mit", "size": 6652}
### File: .circleci/Dockerfiles/scripts/run-instrumentation-tests-via-adb-shell.sh #!/bin/bash # Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. # shellcheck disable=SC1117 # Python script to ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "vincentJinxin/react-native", "path": ".circleci/Dockerfiles/scripts/run-instrumentation-tests-via-adb-shell.sh", "license": "mit", "size": 1857}
### File: IntegrationTests/AccessibilityManagerTest.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @format * @flow strict-local */ 'use strict'; const React = require('r...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincentJinxin/react-native", "path": "IntegrationTests/AccessibilityManagerTest.js", "license": "mit", "size": 1593}
### File: IntegrationTests/AppEventsTest.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @format * @flow */ 'use strict'; const React = require('react'); const ReactNativ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincentJinxin/react-native", "path": "IntegrationTests/AppEventsTest.js", "license": "mit", "size": 1713}
### File: IntegrationTests/AsyncStorageTest.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @format * @flow */ 'use strict'; const React = require('react'); const ReactNa...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincentJinxin/react-native", "path": "IntegrationTests/AsyncStorageTest.js", "license": "mit", "size": 6667}
### File: IntegrationTests/GlobalEvalWithSourceUrlTest.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @format * @flow strict-local */ 'use strict'; const React = require...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincentJinxin/react-native", "path": "IntegrationTests/GlobalEvalWithSourceUrlTest.js", "license": "mit", "size": 2193}
### File: IntegrationTests/ImageCachePolicyTest.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @format * @flow strict-local */ 'use strict'; const React = require('react...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincentJinxin/react-native", "path": "IntegrationTests/ImageCachePolicyTest.js", "license": "mit", "size": 3733}