rqalpha 5.6.3__tar.gz → 5.6.4.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {rqalpha-5.6.3/rqalpha.egg-info → rqalpha-5.6.4.1}/PKG-INFO +1 -1
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/_version.py +3 -3
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/const.py +1 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/data/base_data_source/data_source.py +7 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/data/base_data_source/storages.py +1 -1
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/data/bundle.py +6 -1
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/mod/rqalpha_mod_sys_analyser/mod.py +2 -1
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/model/instrument.py +1 -1
- {rqalpha-5.6.3 → rqalpha-5.6.4.1/rqalpha.egg-info}/PKG-INFO +1 -1
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/setup.cfg +1 -1
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/CHANGELOG.rst +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/LICENSE +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/MANIFEST.in +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/README.rst +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/__init__.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/__main__.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/api.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/apis/__init__.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/apis/api_abstract.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/apis/api_base.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/apis/api_rqdatac.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/apis/names.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/cmds/__init__.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/cmds/bundle.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/cmds/entry.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/cmds/misc.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/cmds/mod.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/cmds/run.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/config.yml +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/core/__init__.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/core/events.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/core/execution_context.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/core/executor.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/core/global_var.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/core/strategy.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/core/strategy_context.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/core/strategy_loader.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/core/strategy_universe.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/data/__init__.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/data/bar_dict_price_board.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/data/base_data_source/__init__.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/data/base_data_source/adjust.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/data/base_data_source/storage_interface.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/data/data_proxy.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/data/trading_dates_mixin.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/environment.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/examples/IF1706_20161108.csv +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/examples/IF_macd.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/examples/buy_and_hold.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/examples/data_source/get_csv_module.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/examples/data_source/import_get_csv_module.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/examples/data_source/read_csv_as_df.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/examples/extend_api/rqalpha_mod_extend_api_demo.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/examples/extend_api/test_extend_api.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/examples/golden_cross.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/examples/macd.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/examples/pair_trading.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/examples/rsi.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/examples/run_code_demo.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/examples/run_file_demo.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/examples/run_func_demo.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/examples/subscribe_event.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/examples/test_pt.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/examples/turtle.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/interface.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/main.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/mod/__init__.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/mod/rqalpha_mod_sys_accounts/__init__.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/mod/rqalpha_mod_sys_accounts/api/__init__.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/mod/rqalpha_mod_sys_accounts/api/api_future.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/mod/rqalpha_mod_sys_accounts/api/api_stock.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/mod/rqalpha_mod_sys_accounts/component_validator.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/mod/rqalpha_mod_sys_accounts/mod.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/mod/rqalpha_mod_sys_accounts/position_model.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/mod/rqalpha_mod_sys_accounts/position_validator.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/mod/rqalpha_mod_sys_accounts/validator.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/mod/rqalpha_mod_sys_analyser/__init__.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/mod/rqalpha_mod_sys_analyser/plot/__init__.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/mod/rqalpha_mod_sys_analyser/plot/consts.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/mod/rqalpha_mod_sys_analyser/plot/plot.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/mod/rqalpha_mod_sys_analyser/plot/utils.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/mod/rqalpha_mod_sys_analyser/plot_store.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/mod/rqalpha_mod_sys_analyser/report/__init__.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/mod/rqalpha_mod_sys_analyser/report/excel_template.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/mod/rqalpha_mod_sys_analyser/report/report.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/mod/rqalpha_mod_sys_analyser/report/templates/summary.xlsx +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/mod/rqalpha_mod_sys_progress/__init__.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/mod/rqalpha_mod_sys_progress/mod.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/mod/rqalpha_mod_sys_risk/__init__.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/mod/rqalpha_mod_sys_risk/mod.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/mod/rqalpha_mod_sys_risk/validators/__init__.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/mod/rqalpha_mod_sys_risk/validators/cash_validator.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/mod/rqalpha_mod_sys_risk/validators/is_trading_validator.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/mod/rqalpha_mod_sys_risk/validators/price_validator.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/mod/rqalpha_mod_sys_risk/validators/self_trade_validator.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/mod/rqalpha_mod_sys_scheduler/__init__.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/mod/rqalpha_mod_sys_scheduler/mod.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/mod/rqalpha_mod_sys_scheduler/scheduler.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/mod/rqalpha_mod_sys_simulation/__init__.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/mod/rqalpha_mod_sys_simulation/matcher.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/mod/rqalpha_mod_sys_simulation/mod.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/mod/rqalpha_mod_sys_simulation/signal_broker.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/mod/rqalpha_mod_sys_simulation/simulation_broker.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/mod/rqalpha_mod_sys_simulation/simulation_event_source.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/mod/rqalpha_mod_sys_simulation/slippage.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/mod/rqalpha_mod_sys_simulation/testing.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/mod/rqalpha_mod_sys_simulation/validator.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/mod/rqalpha_mod_sys_transaction_cost/__init__.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/mod/rqalpha_mod_sys_transaction_cost/deciders.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/mod/rqalpha_mod_sys_transaction_cost/mod.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/mod/utils.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/mod_config.yml +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/model/__init__.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/model/bar.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/model/order.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/model/tick.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/model/trade.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/portfolio/__init__.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/portfolio/account.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/portfolio/position.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/resource/ricequant-logo.png +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/user_module.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/utils/__init__.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/utils/arg_checker.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/utils/class_helper.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/utils/click_helper.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/utils/concurrent.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/utils/config.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/utils/datetime_func.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/utils/dict_func.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/utils/exception.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/utils/functools.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/utils/i18n.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/utils/log_capture.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/utils/logger.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/utils/package_helper.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/utils/persisit_helper.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/utils/repr.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/utils/risk_free_helper.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/utils/rq_json.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/utils/strategy_loader_help.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/utils/testing/__init__.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/utils/testing/fixtures.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/utils/testing/mocking.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/utils/translations/__init__.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/utils/translations/zh_Hans_CN/LC_MESSAGES/__init__.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/utils/translations/zh_Hans_CN/LC_MESSAGES/messages.mo +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/utils/translations/zh_Hans_CN/LC_MESSAGES/messages.po +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/utils/translations/zh_Hans_CN/__init__.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/utils/typing.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha.egg-info/SOURCES.txt +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha.egg-info/dependency_links.txt +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha.egg-info/entry_points.txt +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha.egg-info/not-zip-safe +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha.egg-info/requires.txt +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha.egg-info/top_level.txt +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/setup.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/tests/__init__.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/tests/api_tests/__init__.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/tests/api_tests/mod/__init__.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/tests/api_tests/mod/sys_accounts/__init__.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/tests/api_tests/mod/sys_accounts/test_account_model.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/tests/api_tests/mod/sys_accounts/test_futures_settlement_price_type.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/tests/api_tests/mod/sys_accounts/test_margin_stocks.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/tests/api_tests/mod/sys_accounts/test_position_models.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/tests/api_tests/mod/sys_scheduler/__init__.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/tests/api_tests/mod/sys_scheduler/test_physical_time.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/tests/api_tests/mod/sys_scheduler/test_scheduler.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/tests/api_tests/mod/sys_simulation/__init__.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/tests/api_tests/mod/sys_simulation/test_management_fee.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/tests/api_tests/mod/sys_simulation/test_match.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/tests/api_tests/mod/sys_simulation/test_signal_broker.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/tests/api_tests/mod/sys_simulation/test_simulation_broker.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/tests/api_tests/mod/sys_simulation/test_simulation_event_source.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/tests/api_tests/mod/sys_transaction_cost/__init__.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/tests/api_tests/mod/sys_transaction_cost/test_commission_multiplier.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/tests/api_tests/test_api_base.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/tests/api_tests/test_api_future.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/tests/api_tests/test_api_stock.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/tests/api_tests/test_config.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/tests/api_tests/test_position_queue.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/tests/api_tests/utils.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/tests/test_f_buy_and_hold.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/tests/test_f_delivery.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/tests/test_f_macd.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/tests/test_f_macd_signal.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/tests/test_f_mean_reverting.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/tests/test_f_tick_size.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/tests/test_s_buy_and_hold.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/tests/test_s_dual_thrust.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/tests/test_s_pit_tax.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/tests/test_s_scheduler.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/tests/test_s_tick_size.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/tests/test_s_turtle.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/tests/test_s_turtle_signal.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/tests/test_sf_buy_and_hold.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/tests/unittest/__init__.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/tests/unittest/test_data/__init__.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/tests/unittest/test_data/test_auto_update_bundle/__init__.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/tests/unittest/test_data/test_auto_update_bundle/test_auto_update_bundle_mixin.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/tests/unittest/test_data/test_instrument_mixin.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/tests/unittest/test_data/test_trading_dates_mixin.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/tests/unittest/test_mod/__init__.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/tests/unittest/test_mod/test_sys_simulation/__init__.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/tests/unittest/test_mod/test_sys_simulation/test_simulation_event_source.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/tests/utils.py +0 -0
- {rqalpha-5.6.3 → rqalpha-5.6.4.1}/versioneer.py +0 -0
|
@@ -8,11 +8,11 @@ import json
|
|
|
8
8
|
|
|
9
9
|
version_json = '''
|
|
10
10
|
{
|
|
11
|
-
"date": "2025-
|
|
11
|
+
"date": "2025-10-20T09:44:02+0800",
|
|
12
12
|
"dirty": false,
|
|
13
13
|
"error": null,
|
|
14
|
-
"full-revisionid": "
|
|
15
|
-
"version": "5.6.
|
|
14
|
+
"full-revisionid": "ee348892ac6549336208628bc177acf53a267644",
|
|
15
|
+
"version": "5.6.4.1"
|
|
16
16
|
}
|
|
17
17
|
''' # END VERSION_JSON
|
|
18
18
|
|
|
@@ -31,6 +31,7 @@ from rqalpha.utils.datetime_func import (convert_date_to_int, convert_int_to_dat
|
|
|
31
31
|
from rqalpha.utils.exception import RQInvalidArgument
|
|
32
32
|
from rqalpha.utils.functools import lru_cache
|
|
33
33
|
from rqalpha.utils.typing import DateLike
|
|
34
|
+
from rqalpha.utils.logger import system_log
|
|
34
35
|
from rqalpha.environment import Environment
|
|
35
36
|
from rqalpha.data.base_data_source.adjust import FIELDS_REQUIRE_ADJUSTMENT, adjust_bars
|
|
36
37
|
from rqalpha.data.base_data_source.storage_interface import (AbstractCalendarStore, AbstractDateSet,
|
|
@@ -94,10 +95,16 @@ class BaseDataSource(AbstractDataSource):
|
|
|
94
95
|
instruments = []
|
|
95
96
|
|
|
96
97
|
env = Environment.get_instance()
|
|
98
|
+
unsupported_types = []
|
|
97
99
|
with open(_p('instruments.pk'), 'rb') as f:
|
|
98
100
|
for i in pickle.load(f):
|
|
99
101
|
if i["type"] == "Future" and Instrument.is_future_continuous_contract(i["order_book_id"]):
|
|
100
102
|
i["listed_date"] = datetime(1990, 1, 1)
|
|
103
|
+
if i["type"] not in INSTRUMENT_TYPE:
|
|
104
|
+
if i["type"] not in unsupported_types:
|
|
105
|
+
unsupported_types.append(i["type"])
|
|
106
|
+
system_log.warning(f"Unsupported type: {i['type']}")
|
|
107
|
+
continue
|
|
101
108
|
instruments.append(Instrument(
|
|
102
109
|
i,
|
|
103
110
|
lambda i: self._future_info_store.get_tick_size(i),
|
|
@@ -266,7 +266,12 @@ def gen_future_info(d):
|
|
|
266
266
|
except AttributeError:
|
|
267
267
|
# FIXME: why get_dominant return None???
|
|
268
268
|
continue
|
|
269
|
-
|
|
269
|
+
|
|
270
|
+
dominant_indexer = commission_df["order_book_id"] == dominant
|
|
271
|
+
if not dominant_indexer.any():
|
|
272
|
+
# S0301:大豆期货的最后一个合约,该合约出现在 instrument 中,但取不到 commission,这种情况忽略掉
|
|
273
|
+
continue
|
|
274
|
+
commission = commission_df[dominant_indexer].iloc[0]
|
|
270
275
|
|
|
271
276
|
for p in param:
|
|
272
277
|
future_dict[p] = commission[p]
|
|
@@ -420,7 +420,8 @@ class AnalyserMod(AbstractMod):
|
|
|
420
420
|
total_portfolios = df.set_index('date').sort_index()
|
|
421
421
|
if self._benchmark:
|
|
422
422
|
total_portfolios["benchmark_unit_net_value"] = (self._benchmark_daily_returns + 1).cumprod()
|
|
423
|
-
total_portfolios["
|
|
423
|
+
total_portfolios["arithmetic_excess_unit_net_value"] = total_portfolios["unit_net_value"] - total_portfolios["benchmark_unit_net_value"]
|
|
424
|
+
total_portfolios["geometric_excess_unit_net_value"] = total_portfolios["unit_net_value"] / total_portfolios["benchmark_unit_net_value"] - 1
|
|
424
425
|
df.index = df['date']
|
|
425
426
|
weekly_nav = df.resample("W").last().set_index("date").unit_net_value.dropna()
|
|
426
427
|
monthly_nav = df.resample("M").last().set_index("date").unit_net_value.dropna()
|
|
@@ -109,7 +109,7 @@ class Instrument(metaclass=PropertyReprMeta):
|
|
|
109
109
|
def type(self):
|
|
110
110
|
# type: () -> str
|
|
111
111
|
"""
|
|
112
|
-
[
|
|
112
|
+
[str] 合约类型,目前支持的类型有: ‘CS’, ‘INDX’, ‘LOF’, ‘ETF’, ‘Future’
|
|
113
113
|
"""
|
|
114
114
|
return INSTRUMENT_TYPE[self.__dict__["type"]]
|
|
115
115
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/examples/extend_api/rqalpha_mod_extend_api_demo.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/mod/rqalpha_mod_sys_accounts/component_validator.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/mod/rqalpha_mod_sys_accounts/position_validator.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/mod/rqalpha_mod_sys_analyser/report/excel_template.py
RENAMED
|
File without changes
|
|
File without changes
|
{rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/mod/rqalpha_mod_sys_analyser/report/templates/summary.xlsx
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/mod/rqalpha_mod_sys_risk/validators/cash_validator.py
RENAMED
|
File without changes
|
|
File without changes
|
{rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/mod/rqalpha_mod_sys_risk/validators/price_validator.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/mod/rqalpha_mod_sys_simulation/simulation_broker.py
RENAMED
|
File without changes
|
{rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/mod/rqalpha_mod_sys_simulation/simulation_event_source.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/utils/translations/zh_Hans_CN/LC_MESSAGES/__init__.py
RENAMED
|
File without changes
|
{rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/utils/translations/zh_Hans_CN/LC_MESSAGES/messages.mo
RENAMED
|
File without changes
|
{rqalpha-5.6.3 → rqalpha-5.6.4.1}/rqalpha/utils/translations/zh_Hans_CN/LC_MESSAGES/messages.po
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rqalpha-5.6.3 → rqalpha-5.6.4.1}/tests/api_tests/mod/sys_simulation/test_simulation_broker.py
RENAMED
|
File without changes
|
{rqalpha-5.6.3 → rqalpha-5.6.4.1}/tests/api_tests/mod/sys_simulation/test_simulation_event_source.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rqalpha-5.6.3 → rqalpha-5.6.4.1}/tests/unittest/test_data/test_auto_update_bundle/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|