quant1x 0.7.5__tar.gz → 0.7.9.dev0__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.
- quant1x-0.7.9.dev0/.clang-format +99 -0
- quant1x-0.7.9.dev0/.clang-tidy +147 -0
- quant1x-0.7.9.dev0/.editorconfig +34 -0
- quant1x-0.7.9.dev0/.gitattributes +12 -0
- quant1x-0.7.9.dev0/.gitignore +44 -0
- quant1x-0.7.9.dev0/.vscode/c_cpp_properties.json +10 -0
- quant1x-0.7.9.dev0/.vscode/settings.json +66 -0
- quant1x-0.7.9.dev0/CHANGELOG.md +1723 -0
- quant1x-0.7.9.dev0/CMakeLists.txt +1108 -0
- quant1x-0.7.9.dev0/Cargo.lock +3476 -0
- quant1x-0.7.9.dev0/Cargo.toml +89 -0
- quant1x-0.7.9.dev0/LICENSE +21 -0
- quant1x-0.7.9.dev0/MANIFEST.in +2 -0
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/PKG-INFO +621 -539
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/README.md +117 -20
- quant1x-0.7.9.dev0/b2c.py +186 -0
- quant1x-0.7.9.dev0/benches/vyukov_bench.rs +77 -0
- quant1x-0.7.9.dev0/cmake/backward.cmake +273 -0
- quant1x-0.7.9.dev0/cmake/base.cmake +53 -0
- quant1x-0.7.9.dev0/cmake/compile_options.cmake +412 -0
- quant1x-0.7.9.dev0/cmake/crash.cmake +26 -0
- quant1x-0.7.9.dev0/cmake/git_tag_info.cmake +68 -0
- quant1x-0.7.9.dev0/cmake/iconv.cmake +47 -0
- quant1x-0.7.9.dev0/cmake/network.cmake +50 -0
- quant1x-0.7.9.dev0/cmake/openssl.cmake +20 -0
- quant1x-0.7.9.dev0/cmake/protobuf.cmake +56 -0
- quant1x-0.7.9.dev0/cmake/quant1x-config.cmake.in +36 -0
- quant1x-0.7.9.dev0/cmake/simd.cmake +85 -0
- quant1x-0.7.9.dev0/cmake/spdlog.cmake +56 -0
- quant1x-0.7.9.dev0/cmake/threadpool.cmake +39 -0
- quant1x-0.7.9.dev0/docs/README.md +25 -0
- quant1x-0.7.9.dev0/docs/argparse.md +235 -0
- quant1x-0.7.9.dev0/docs/hkex-price-step.pdf +0 -0
- quant1x-0.7.9.dev0/docs/hkex-stock-code-allocation-plan_scap_c.pdf +0 -0
- quant1x-0.7.9.dev0/docs/library.md +6 -0
- quant1x-0.7.9.dev0/docs/quant-am.puml +41 -0
- quant1x-0.7.9.dev0/docs/quant-pm.puml +50 -0
- quant1x-0.7.9.dev0/docs/quant-realtime.puml +21 -0
- quant1x-0.7.9.dev0/docs/quant1x-2.png +0 -0
- quant1x-0.7.9.dev0/docs/quant1x.png +0 -0
- quant1x-0.7.9.dev0/docs/sse-stock-code-allocation_2025_5.pdf +0 -0
- quant1x-0.7.9.dev0/docs/stock.puml +25 -0
- quant1x-0.7.9.dev0/docs/strategy.puml +34 -0
- quant1x-0.7.9.dev0/examples/CMakeLists.txt +6 -0
- quant1x-0.7.9.dev0/examples/README.md +3 -0
- quant1x-0.7.9.dev0/examples/chips/Cargo.toml +7 -0
- quant1x-0.7.9.dev0/examples/chips/src/main.rs +43 -0
- quant1x-0.7.9.dev0/examples/cnn/Cargo.toml +11 -0
- quant1x-0.7.9.dev0/examples/cnn/src/main.rs +255 -0
- quant1x-0.7.9.dev0/examples/cron-v1.rs +29 -0
- quant1x-0.7.9.dev0/examples/cron-v2.rs +29 -0
- quant1x-0.7.9.dev0/examples/cron-v3.rs +26 -0
- quant1x-0.7.9.dev0/examples/cron-v4.rs +79 -0
- quant1x-0.7.9.dev0/examples/cron-v5.rs +64 -0
- quant1x-0.7.9.dev0/examples/ds-chips-v1.rs +137 -0
- quant1x-0.7.9.dev0/examples/ds-chips-v2.rs +146 -0
- quant1x-0.7.9.dev0/examples/engine/Cargo.lock +7 -0
- quant1x-0.7.9.dev0/examples/engine/Cargo.toml +18 -0
- quant1x-0.7.9.dev0/examples/engine/config/log4rs.yaml +32 -0
- quant1x-0.7.9.dev0/examples/engine/src/main.rs +102 -0
- quant1x-0.7.9.dev0/examples/hook-v1.rs +53 -0
- quant1x-0.7.9.dev0/examples/hook-v2.rs +76 -0
- quant1x-0.7.9.dev0/examples/mio-client.rs +295 -0
- quant1x-0.7.9.dev0/examples/mio-server.rs +151 -0
- quant1x-0.7.9.dev0/examples/mpmc_demo.rs +68 -0
- quant1x-0.7.9.dev0/examples/muzero/Cargo.toml +8 -0
- quant1x-0.7.9.dev0/examples/muzero/src/main.rs +174 -0
- quant1x-0.7.9.dev0/examples/parse_trader_only.cpp +21 -0
- quant1x-0.7.9.dev0/examples/parse_yaml_example.cpp +193 -0
- quant1x-0.7.9.dev0/examples/q1x/Cargo.toml +89 -0
- quant1x-0.7.9.dev0/examples/q1x/src/base/config.rs +168 -0
- quant1x-0.7.9.dev0/examples/q1x/src/base/encoding.rs +13 -0
- quant1x-0.7.9.dev0/examples/q1x/src/base/mod.rs +7 -0
- quant1x-0.7.9.dev0/examples/q1x/src/base/net.rs +31 -0
- quant1x-0.7.9.dev0/examples/q1x/src/base/num.rs +54 -0
- quant1x-0.7.9.dev0/examples/q1x/src/base/runtime.rs +197 -0
- quant1x-0.7.9.dev0/examples/q1x/src/base/time.rs +182 -0
- quant1x-0.7.9.dev0/examples/q1x/src/base/timestamp.rs +264 -0
- quant1x-0.7.9.dev0/examples/q1x/src/data/cache.rs +341 -0
- quant1x-0.7.9.dev0/examples/q1x/src/data/data.rs +30 -0
- quant1x-0.7.9.dev0/examples/q1x/src/data/datasets.rs +331 -0
- quant1x-0.7.9.dev0/examples/q1x/src/data/exchange.rs +190 -0
- quant1x-0.7.9.dev0/examples/q1x/src/data/level1.rs +1 -0
- quant1x-0.7.9.dev0/examples/q1x/src/data/mod.rs +6 -0
- quant1x-0.7.9.dev0/examples/q1x/src/data/tdx.rs +203 -0
- quant1x-0.7.9.dev0/examples/q1x/src/exchange/calendar.rs +69 -0
- quant1x-0.7.9.dev0/examples/q1x/src/exchange/data_calendar.rs +8313 -0
- quant1x-0.7.9.dev0/examples/q1x/src/exchange/index.rs +54 -0
- quant1x-0.7.9.dev0/examples/q1x/src/exchange/mod.rs +4 -0
- quant1x-0.7.9.dev0/examples/q1x/src/exchange/symbol.rs +358 -0
- quant1x-0.7.9.dev0/examples/q1x/src/lib.rs +37 -0
- quant1x-0.7.9.dev0/examples/q1x/src/proto/data.proto +21 -0
- quant1x-0.7.9.dev0/examples/quant1x.yaml +100 -0
- quant1x-0.7.9.dev0/examples/stock/Cargo.toml +24 -0
- quant1x-0.7.9.dev0/examples/stock/src/adapter.rs +59 -0
- quant1x-0.7.9.dev0/examples/stock/src/adapters/cache.rs +34 -0
- quant1x-0.7.9.dev0/examples/stock/src/adapters/database.rs +34 -0
- quant1x-0.7.9.dev0/examples/stock/src/adapters/mod.rs +13 -0
- quant1x-0.7.9.dev0/examples/stock/src/main.rs +24 -0
- quant1x-0.7.9.dev0/examples/stock/src/market.rs +406 -0
- quant1x-0.7.9.dev0/examples/stock/src/scheduler.rs +60 -0
- quant1x-0.7.9.dev0/examples/test-config.h +110 -0
- quant1x-0.7.9.dev0/examples/test_client.rs +19 -0
- quant1x-0.7.9.dev0/examples/test_deserialize_map.cpp +24 -0
- quant1x-0.7.9.dev0/examples/test_yaml_iter.cpp +22 -0
- quant1x-0.7.9.dev0/examples/vyukov_demo.cpp +55 -0
- quant1x-0.7.9.dev0/examples/write_securities.rs +30 -0
- quant1x-0.7.9.dev0/go.mod +33 -0
- quant1x-0.7.9.dev0/go.sum +68 -0
- quant1x-0.7.9.dev0/labs/akshare.ipynb +533 -0
- quant1x-0.7.9.dev0/labs/qlib.ipynb +85 -0
- quant1x-0.7.9.dev0/labs/quant1x.ipynb +176 -0
- quant1x-0.7.9.dev0/logo.png +0 -0
- quant1x-0.7.9.dev0/main.cpp +198 -0
- quant1x-0.7.9.dev0/main.go +44 -0
- quant1x-0.7.9.dev0/main.py +216 -0
- quant1x-0.7.9.dev0/main.rs +254 -0
- quant1x-0.7.9.dev0/proto/chips.proto +22 -0
- quant1x-0.7.9.dev0/proto/snapshot.capnp +82 -0
- quant1x-0.7.9.dev0/proto/test-snapshot.py +30 -0
- quant1x-0.7.9.dev0/proto/trans.proto +13 -0
- quant1x-0.7.9.dev0/proto/xdxr.proto +20 -0
- quant1x-0.7.9.dev0/publish.bat +61 -0
- quant1x-0.7.9.dev0/publish.ps1 +117 -0
- quant1x-0.7.9.dev0/publish.sh +122 -0
- quant1x-0.7.9.dev0/pyproject.toml +72 -0
- quant1x-0.7.9.dev0/quant1x/__init__.py +25 -0
- quant1x-0.7.9.dev0/quant1x/adapter.h +9 -0
- quant1x-0.7.9.dev0/quant1x/app.rs +798 -0
- quant1x-0.7.9.dev0/quant1x/backtest/backtest.cpp +550 -0
- quant1x-0.7.9.dev0/quant1x/backtest/backtest.h +126 -0
- quant1x-0.7.9.dev0/quant1x/backtest/order.cpp +5 -0
- quant1x-0.7.9.dev0/quant1x/backtest/order.h +42 -0
- quant1x-0.7.9.dev0/quant1x/backtest/position.cpp +196 -0
- quant1x-0.7.9.dev0/quant1x/backtest/position.h +113 -0
- quant1x-0.7.9.dev0/quant1x/backtest/stats.cpp +109 -0
- quant1x-0.7.9.dev0/quant1x/backtest/stats.h +14 -0
- quant1x-0.7.9.dev0/quant1x/backtest/trade.cpp +5 -0
- quant1x-0.7.9.dev0/quant1x/backtest/trade.h +22 -0
- quant1x-0.7.9.dev0/quant1x/build-info.h.in +125 -0
- quant1x-0.7.9.dev0/quant1x/cache.cpp +462 -0
- quant1x-0.7.9.dev0/quant1x/cache.h +54 -0
- quant1x-0.7.9.dev0/quant1x/command/app.go +150 -0
- quant1x-0.7.9.dev0/quant1x/command/command_flag.go +97 -0
- quant1x-0.7.9.dev0/quant1x/command/command_update.go +114 -0
- quant1x-0.7.9.dev0/quant1x/command.cpp +89 -0
- quant1x-0.7.9.dev0/quant1x/command.h +83 -0
- quant1x-0.7.9.dev0/quant1x/config/__init__.py +21 -0
- quant1x-0.7.9.dev0/quant1x/config/base.cpp +166 -0
- quant1x-0.7.9.dev0/quant1x/config/base.go +16 -0
- quant1x-0.7.9.dev0/quant1x/config/base.h +61 -0
- quant1x-0.7.9.dev0/quant1x/config/cache.cpp +192 -0
- quant1x-0.7.9.dev0/quant1x/config/cache.h +64 -0
- quant1x-0.7.9.dev0/quant1x/config/config.go +175 -0
- quant1x-0.7.9.dev0/quant1x/config/config.h +9 -0
- quant1x-0.7.9.dev0/quant1x/config/config.py +214 -0
- quant1x-0.7.9.dev0/quant1x/config/config.rs +426 -0
- quant1x-0.7.9.dev0/quant1x/config/config_exchange.go +31 -0
- quant1x-0.7.9.dev0/quant1x/config/config_test.go +282 -0
- quant1x-0.7.9.dev0/quant1x/config/data_cache.h +64 -0
- quant1x-0.7.9.dev0/quant1x/config/mod.rs +2 -0
- quant1x-0.7.9.dev0/quant1x/config/number_range.go +152 -0
- quant1x-0.7.9.dev0/quant1x/config/number_range_test.go +72 -0
- quant1x-0.7.9.dev0/quant1x/config/price_cage.h +43 -0
- quant1x-0.7.9.dev0/quant1x/config/rule_parameter.go +63 -0
- quant1x-0.7.9.dev0/quant1x/config/rule_parameter.h +321 -0
- quant1x-0.7.9.dev0/quant1x/config/strategy_parameter.cpp +112 -0
- quant1x-0.7.9.dev0/quant1x/config/strategy_parameter.go +56 -0
- quant1x-0.7.9.dev0/quant1x/config/strategy_parameter.h +222 -0
- quant1x-0.7.9.dev0/quant1x/config/trader_parameter.cpp +109 -0
- quant1x-0.7.9.dev0/quant1x/config/trader_parameter.go +141 -0
- quant1x-0.7.9.dev0/quant1x/config/trader_parameter.h +243 -0
- quant1x-0.7.9.dev0/quant1x/config/trading_session.cpp +5 -0
- quant1x-0.7.9.dev0/quant1x/config/trading_session.go +11 -0
- quant1x-0.7.9.dev0/quant1x/config/trading_session.h +303 -0
- quant1x-0.7.9.dev0/quant1x/contrib/__init__.py +0 -0
- quant1x-0.7.9.dev0/quant1x/contrib/data/__init__.py +0 -0
- quant1x-0.7.9.dev0/quant1x/contrib/data/tdx/__init__.py +15 -0
- quant1x-0.7.9.dev0/quant1x/contrib/data/tdx/client.py +376 -0
- quant1x-0.7.9.dev0/quant1x/contrib/data/tdx/config.py +432 -0
- quant1x-0.7.9.dev0/quant1x/contrib/data/tdx/datasource.go +63 -0
- quant1x-0.7.9.dev0/quant1x/contrib/data/tdx/datasource.py +266 -0
- quant1x-0.7.9.dev0/quant1x/contrib/data/tdx/instruments.py +211 -0
- quant1x-0.7.9.dev0/quant1x/contrib/data/tdx/kline.go +221 -0
- quant1x-0.7.9.dev0/quant1x/contrib/data/tdx/kline.py +703 -0
- quant1x-0.7.9.dev0/quant1x/contrib/data/tdx/kline_raw.go +133 -0
- quant1x-0.7.9.dev0/quant1x/contrib/data/tdx/kline_raw.py +431 -0
- quant1x-0.7.9.dev0/quant1x/contrib/data/tdx/level1/__init__.py +31 -0
- quant1x-0.7.9.dev0/quant1x/contrib/data/tdx/level1/command.py +143 -0
- quant1x-0.7.9.dev0/quant1x/contrib/data/tdx/level1/em_dividend.py +54 -0
- quant1x-0.7.9.dev0/quant1x/contrib/data/tdx/level1/ext-category.md +153 -0
- quant1x-0.7.9.dev0/quant1x/contrib/data/tdx/level1/ext.py +1085 -0
- quant1x-0.7.9.dev0/quant1x/contrib/data/tdx/level1/f10.py +554 -0
- quant1x-0.7.9.dev0/quant1x/contrib/data/tdx/level1/helpers.py +230 -0
- quant1x-0.7.9.dev0/quant1x/contrib/data/tdx/level1/std.py +697 -0
- quant1x-0.7.9.dev0/quant1x/contrib/data/tdx/level1/xdxr_hkex.py +740 -0
- quant1x-0.7.9.dev0/quant1x/contrib/data/tdx/market.py +178 -0
- quant1x-0.7.9.dev0/quant1x/contrib/data/tdx/money.py +500 -0
- quant1x-0.7.9.dev0/quant1x/contrib/data/tdx/protocol.py +544 -0
- quant1x-0.7.9.dev0/quant1x/contrib/data/tdx/sector.go +43 -0
- quant1x-0.7.9.dev0/quant1x/contrib/data/tdx/sector.py +473 -0
- quant1x-0.7.9.dev0/quant1x/contrib/data/tdx/tdx_test.go +17 -0
- quant1x-0.7.9.dev0/quant1x/contrib/data/tdx/trans.go +344 -0
- quant1x-0.7.9.dev0/quant1x/contrib/data/tdx/trans.py +328 -0
- quant1x-0.7.9.dev0/quant1x/contrib/data/tdx/xdxr.go +119 -0
- quant1x-0.7.9.dev0/quant1x/contrib/data/tdx/xdxr.py +229 -0
- quant1x-0.7.9.dev0/quant1x/core/__init__.py +5 -0
- quant1x-0.7.9.dev0/quant1x/core/base.cpp +126 -0
- quant1x-0.7.9.dev0/quant1x/core/base.go +184 -0
- quant1x-0.7.9.dev0/quant1x/core/base.h +64 -0
- quant1x-0.7.9.dev0/quant1x/core/base.py +136 -0
- quant1x-0.7.9.dev0/quant1x/core/base.rs +153 -0
- quant1x-0.7.9.dev0/quant1x/core/base_test.go +18 -0
- quant1x-0.7.9.dev0/quant1x/core/decode.cpp +76 -0
- quant1x-0.7.9.dev0/quant1x/core/decode.go +170 -0
- quant1x-0.7.9.dev0/quant1x/core/decode.h +36 -0
- quant1x-0.7.9.dev0/quant1x/core/decode.py +122 -0
- quant1x-0.7.9.dev0/quant1x/core/decode.rs +72 -0
- quant1x-0.7.9.dev0/quant1x/core/decode_test.go +91 -0
- quant1x-0.7.9.dev0/quant1x/core/defaults.cpp +21 -0
- quant1x-0.7.9.dev0/quant1x/core/defaults.go +259 -0
- quant1x-0.7.9.dev0/quant1x/core/defaults.h +33 -0
- quant1x-0.7.9.dev0/quant1x/core/defaults.py +49 -0
- quant1x-0.7.9.dev0/quant1x/core/defaults.rs +23 -0
- quant1x-0.7.9.dev0/quant1x/core/defaults_test.go +61 -0
- quant1x-0.7.9.dev0/quant1x/core/lazy.h +71 -0
- quant1x-0.7.9.dev0/quant1x/core/mic/doc.go +13 -0
- quant1x-0.7.9.dev0/quant1x/core/mod.rs +5 -0
- quant1x-0.7.9.dev0/quant1x/data/__init__.py +24 -0
- quant1x-0.7.9.dev0/quant1x/data/adapter.cpp +127 -0
- quant1x-0.7.9.dev0/quant1x/data/adapter.go +229 -0
- quant1x-0.7.9.dev0/quant1x/data/adapter.h +81 -0
- quant1x-0.7.9.dev0/quant1x/data/adapter.py +170 -0
- quant1x-0.7.9.dev0/quant1x/data/adapter.rs +450 -0
- quant1x-0.7.9.dev0/quant1x/data/adjustment_factor.go +57 -0
- quant1x-0.7.9.dev0/quant1x/data/base.go +17 -0
- quant1x-0.7.9.dev0/quant1x/data/base.h +26 -0
- quant1x-0.7.9.dev0/quant1x/data/base.py +41 -0
- quant1x-0.7.9.dev0/quant1x/data/base.rs +38 -0
- quant1x-0.7.9.dev0/quant1x/data/cache.py +116 -0
- quant1x-0.7.9.dev0/quant1x/data/chips.cpp +104 -0
- quant1x-0.7.9.dev0/quant1x/data/chips.h +34 -0
- quant1x-0.7.9.dev0/quant1x/data/datasource.go +63 -0
- quant1x-0.7.9.dev0/quant1x/data/datasource.py +156 -0
- quant1x-0.7.9.dev0/quant1x/data/f10.go +38 -0
- {quant1x-0.7.5/quant1x/cache → quant1x-0.7.9.dev0/quant1x/data}/f10.py +51 -48
- quant1x-0.7.9.dev0/quant1x/data/feature.go +1 -0
- quant1x-0.7.9.dev0/quant1x/data/kline.cpp +208 -0
- quant1x-0.7.9.dev0/quant1x/data/kline.go +48 -0
- quant1x-0.7.9.dev0/quant1x/data/kline.h +70 -0
- {quant1x-0.7.5/quant1x/datasets → quant1x-0.7.9.dev0/quant1x/data}/kline.py +326 -286
- quant1x-0.7.9.dev0/quant1x/data/kline.rs +318 -0
- quant1x-0.7.9.dev0/quant1x/data/kline_minute.cpp +356 -0
- quant1x-0.7.9.dev0/quant1x/data/kline_minute.h +86 -0
- quant1x-0.7.9.dev0/quant1x/data/kline_minute.rs +444 -0
- quant1x-0.7.9.dev0/quant1x/data/kline_raw.cpp +213 -0
- quant1x-0.7.9.dev0/quant1x/data/kline_raw.go +116 -0
- quant1x-0.7.9.dev0/quant1x/data/kline_raw.h +146 -0
- quant1x-0.7.9.dev0/quant1x/data/kline_raw.py +354 -0
- quant1x-0.7.9.dev0/quant1x/data/kline_raw.rs +153 -0
- quant1x-0.7.9.dev0/quant1x/data/layout.py +19 -0
- quant1x-0.7.9.dev0/quant1x/data/market.go +22 -0
- quant1x-0.7.9.dev0/quant1x/data/market.py +303 -0
- quant1x-0.7.5/quant1x/cache/market.py → quant1x-0.7.9.dev0/quant1x/data/market_old.py +153 -136
- quant1x-0.7.9.dev0/quant1x/data/meta/__init__.py +15 -0
- quant1x-0.7.9.dev0/quant1x/data/meta/asset_class.py +133 -0
- quant1x-0.7.9.dev0/quant1x/data/meta/cache.go +67 -0
- quant1x-0.7.9.dev0/quant1x/data/meta/calendar.go +347 -0
- quant1x-0.7.9.dev0/quant1x/data/meta/calendar.py +486 -0
- quant1x-0.7.9.dev0/quant1x/data/meta/calendar_test.go +67 -0
- quant1x-0.7.9.dev0/quant1x/data/meta/exchange.go +234 -0
- quant1x-0.7.9.dev0/quant1x/data/meta/exchange.py +197 -0
- quant1x-0.7.9.dev0/quant1x/data/meta/forex.py +233 -0
- quant1x-0.7.9.dev0/quant1x/data/meta/frequency.go +194 -0
- quant1x-0.7.9.dev0/quant1x/data/meta/frequency.py +165 -0
- quant1x-0.7.9.dev0/quant1x/data/meta/fund.md +83 -0
- quant1x-0.7.9.dev0/quant1x/data/meta/fund.py +82 -0
- quant1x-0.7.9.dev0/quant1x/data/meta/instrument.go +259 -0
- quant1x-0.7.9.dev0/quant1x/data/meta/instrument.py +286 -0
- quant1x-0.7.9.dev0/quant1x/data/meta/region.go +77 -0
- quant1x-0.7.9.dev0/quant1x/data/meta/region.py +54 -0
- quant1x-0.7.9.dev0/quant1x/data/meta/session.go +805 -0
- quant1x-0.7.9.dev0/quant1x/data/meta/session.py +739 -0
- quant1x-0.7.9.dev0/quant1x/data/meta/session_test.go +40 -0
- quant1x-0.7.9.dev0/quant1x/data/meta/sina/__init__.py +0 -0
- quant1x-0.7.9.dev0/quant1x/data/meta/sina/decode_test.go +28 -0
- quant1x-0.7.9.dev0/quant1x/data/meta/sina/decoder.go +611 -0
- quant1x-0.7.9.dev0/quant1x/data/meta/sina/decoder.h +358 -0
- quant1x-0.7.9.dev0/quant1x/data/meta/sina/decoder.py +473 -0
- quant1x-0.7.9.dev0/quant1x/data/meta/sina/decoder.rs +759 -0
- quant1x-0.7.9.dev0/quant1x/data/meta/sina/mod.rs +2 -0
- quant1x-0.7.9.dev0/quant1x/data/meta/ticker_rules/__init__.py +0 -0
- quant1x-0.7.9.dev0/quant1x/data/meta/ticker_rules/market_bse.py +32 -0
- quant1x-0.7.9.dev0/quant1x/data/meta/ticker_rules/market_hkex.py +224 -0
- quant1x-0.7.9.dev0/quant1x/data/meta/ticker_rules/market_sse.py +252 -0
- quant1x-0.7.9.dev0/quant1x/data/meta/ticker_rules/market_szse.py +81 -0
- quant1x-0.7.9.dev0/quant1x/data/meta/ticker_rules/market_usa.py +49 -0
- quant1x-0.7.9.dev0/quant1x/data/meta/ticker_rules/rule.py +24 -0
- quant1x-0.7.9.dev0/quant1x/data/meta/timestamp.go +406 -0
- quant1x-0.7.9.dev0/quant1x/data/meta/timestamp.py +246 -0
- quant1x-0.7.9.dev0/quant1x/data/meta/timestamp_test.go +368 -0
- quant1x-0.7.9.dev0/quant1x/data/minute.cpp +72 -0
- quant1x-0.7.9.dev0/quant1x/data/minute.h +24 -0
- quant1x-0.7.9.dev0/quant1x/data/mod.rs +94 -0
- quant1x-0.7.9.dev0/quant1x/data/schema/__init__.py +26 -0
- quant1x-0.7.9.dev0/quant1x/data/schema/adjustment.py +152 -0
- quant1x-0.7.9.dev0/quant1x/data/schema/bar.py +180 -0
- quant1x-0.7.9.dev0/quant1x/data/schema/company.py +18 -0
- quant1x-0.7.9.dev0/quant1x/data/schema/dividend.py +530 -0
- quant1x-0.7.9.dev0/quant1x/data/schema/sector.py +16 -0
- quant1x-0.7.9.dev0/quant1x/data/schema/trade.py +41 -0
- {quant1x-0.7.5/quant1x/cache → quant1x-0.7.9.dev0/quant1x/data}/sector.py +77 -77
- {quant1x-0.7.5/quant1x/cache → quant1x-0.7.9.dev0/quant1x/data}/security.py +59 -56
- quant1x-0.7.9.dev0/quant1x/data/status.py +55 -0
- quant1x-0.7.9.dev0/quant1x/data/storage/__init__.py +11 -0
- quant1x-0.7.9.dev0/quant1x/data/storage/csv.go +58 -0
- quant1x-0.7.9.dev0/quant1x/data/storage/csv.py +141 -0
- quant1x-0.7.9.dev0/quant1x/data/storage/storage.py +70 -0
- quant1x-0.7.9.dev0/quant1x/data/trans.cpp +348 -0
- quant1x-0.7.9.dev0/quant1x/data/trans.go +55 -0
- quant1x-0.7.9.dev0/quant1x/data/trans.h +65 -0
- {quant1x-0.7.5/quant1x/datasets → quant1x-0.7.9.dev0/quant1x/data}/trans.py +482 -462
- quant1x-0.7.9.dev0/quant1x/data/trans.rs +297 -0
- quant1x-0.7.9.dev0/quant1x/data/update.go +237 -0
- quant1x-0.7.9.dev0/quant1x/data/xdxr.cpp +94 -0
- quant1x-0.7.9.dev0/quant1x/data/xdxr.go +56 -0
- quant1x-0.7.9.dev0/quant1x/data/xdxr.h +33 -0
- quant1x-0.7.9.dev0/quant1x/data/xdxr.md +144 -0
- {quant1x-0.7.5/quant1x/datasets → quant1x-0.7.9.dev0/quant1x/data}/xdxr.py +111 -94
- quant1x-0.7.9.dev0/quant1x/data/xdxr.rs +94 -0
- quant1x-0.7.9.dev0/quant1x/datasets.cpp +61 -0
- quant1x-0.7.9.dev0/quant1x/datasets.h +12 -0
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/quant1x/device.py +28 -25
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/quant1x/devp.py +29 -26
- quant1x-0.7.9.dev0/quant1x/encoding/__init__.py +0 -0
- quant1x-0.7.9.dev0/quant1x/encoding/base64/base64.go +71 -0
- quant1x-0.7.9.dev0/quant1x/encoding/base64/base64_test.go +28 -0
- quant1x-0.7.9.dev0/quant1x/encoding/binary/README.md +7 -0
- quant1x-0.7.9.dev0/quant1x/encoding/binary/cstruct/FORK.md +1 -0
- quant1x-0.7.9.dev0/quant1x/encoding/binary/cstruct/LICENSE +21 -0
- quant1x-0.7.9.dev0/quant1x/encoding/binary/cstruct/README.md +247 -0
- quant1x-0.7.9.dev0/quant1x/encoding/binary/cstruct/buffer.go +917 -0
- quant1x-0.7.9.dev0/quant1x/encoding/binary/cstruct/common.go +13 -0
- quant1x-0.7.9.dev0/quant1x/encoding/binary/cstruct/decode.go +5 -0
- quant1x-0.7.9.dev0/quant1x/encoding/binary/cstruct/encode.go +10 -0
- quant1x-0.7.9.dev0/quant1x/encoding/binary/cstruct/pointer_unsafe.go +243 -0
- quant1x-0.7.9.dev0/quant1x/encoding/binary/cstruct/properties.go +222 -0
- quant1x-0.7.9.dev0/quant1x/encoding/binary/cstruct/struct_test.go +47 -0
- quant1x-0.7.9.dev0/quant1x/encoding/binary/cstruct/tests/array_test.go +81 -0
- quant1x-0.7.9.dev0/quant1x/encoding/binary/cstruct/tests/nil_test.go +107 -0
- quant1x-0.7.9.dev0/quant1x/encoding/binary/cstruct/tests/slice_ignore_nil_test.go +72 -0
- quant1x-0.7.9.dev0/quant1x/encoding/binary/cstruct/tests/slice_struct_test.go +71 -0
- quant1x-0.7.9.dev0/quant1x/encoding/binary/cstruct/tests/x_test.go +433 -0
- quant1x-0.7.9.dev0/quant1x/encoding/binary/struc/LICENSE +19 -0
- quant1x-0.7.9.dev0/quant1x/encoding/binary/struc/README.md +103 -0
- quant1x-0.7.9.dev0/quant1x/encoding/binary/struc/bench_test.go +203 -0
- quant1x-0.7.9.dev0/quant1x/encoding/binary/struc/binary.go +52 -0
- quant1x-0.7.9.dev0/quant1x/encoding/binary/struc/custom.go +33 -0
- quant1x-0.7.9.dev0/quant1x/encoding/binary/struc/custom_float16.go +78 -0
- quant1x-0.7.9.dev0/quant1x/encoding/binary/struc/custom_float16_test.go +56 -0
- quant1x-0.7.9.dev0/quant1x/encoding/binary/struc/custom_test.go +317 -0
- quant1x-0.7.9.dev0/quant1x/encoding/binary/struc/field.go +288 -0
- quant1x-0.7.9.dev0/quant1x/encoding/binary/struc/field_test.go +77 -0
- quant1x-0.7.9.dev0/quant1x/encoding/binary/struc/fields.go +177 -0
- quant1x-0.7.9.dev0/quant1x/encoding/binary/struc/fields_test.go +81 -0
- quant1x-0.7.9.dev0/quant1x/encoding/binary/struc/legacy.go +16 -0
- quant1x-0.7.9.dev0/quant1x/encoding/binary/struc/packable_test.go +123 -0
- quant1x-0.7.9.dev0/quant1x/encoding/binary/struc/packer.go +13 -0
- quant1x-0.7.9.dev0/quant1x/encoding/binary/struc/parse.go +230 -0
- quant1x-0.7.9.dev0/quant1x/encoding/binary/struc/parse_test.go +62 -0
- quant1x-0.7.9.dev0/quant1x/encoding/binary/struc/struc.go +122 -0
- quant1x-0.7.9.dev0/quant1x/encoding/binary/struc/struc_test.go +310 -0
- quant1x-0.7.9.dev0/quant1x/encoding/binary/struc/test_pack_init/doc.go +4 -0
- quant1x-0.7.9.dev0/quant1x/encoding/binary/struc/test_pack_init/pack_init_test.go +30 -0
- quant1x-0.7.9.dev0/quant1x/encoding/binary/struc/types.go +136 -0
- quant1x-0.7.9.dev0/quant1x/encoding/binary/struc/types_test.go +53 -0
- quant1x-0.7.9.dev0/quant1x/encoding/charsets.cpp +142 -0
- quant1x-0.7.9.dev0/quant1x/encoding/charsets.go +23 -0
- quant1x-0.7.9.dev0/quant1x/encoding/charsets.h +15 -0
- quant1x-0.7.9.dev0/quant1x/encoding/csv.go +58 -0
- quant1x-0.7.9.dev0/quant1x/encoding/csv.h +208 -0
- quant1x-0.7.9.dev0/quant1x/encoding/json.cpp +41 -0
- quant1x-0.7.9.dev0/quant1x/encoding/json.h +498 -0
- quant1x-0.7.9.dev0/quant1x/encoding/json.md +160 -0
- quant1x-0.7.9.dev0/quant1x/encoding/yaml.h +463 -0
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/quant1x/encoding/yaml.py +103 -101
- quant1x-0.7.9.dev0/quant1x/encoding.rs +66 -0
- quant1x-0.7.9.dev0/quant1x/engine/rule_context.h +25 -0
- quant1x-0.7.9.dev0/quant1x/engine/rule_engine.cpp +78 -0
- quant1x-0.7.9.dev0/quant1x/engine/rule_engine.h +71 -0
- quant1x-0.7.9.dev0/quant1x/engine/rule_error.h +32 -0
- quant1x-0.7.9.dev0/quant1x/engine/strategy.cpp +16 -0
- quant1x-0.7.9.dev0/quant1x/engine/strategy.h +224 -0
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/quant1x/exchange/__init__.py +60 -62
- quant1x-0.7.9.dev0/quant1x/exchange/calendar.cpp +308 -0
- quant1x-0.7.9.dev0/quant1x/exchange/calendar.go +347 -0
- quant1x-0.7.9.dev0/quant1x/exchange/calendar.h +92 -0
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/quant1x/exchange/calendar.py +518 -336
- quant1x-0.7.9.dev0/quant1x/exchange/calendar.rs +539 -0
- quant1x-0.7.9.dev0/quant1x/exchange/calendar_test.go +67 -0
- quant1x-0.7.9.dev0/quant1x/exchange/code.cpp +366 -0
- quant1x-0.7.9.dev0/quant1x/exchange/code.go +230 -0
- quant1x-0.7.9.dev0/quant1x/exchange/code.h +214 -0
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/quant1x/exchange/code.py +453 -363
- quant1x-0.7.9.dev0/quant1x/exchange/code.rs +494 -0
- quant1x-0.7.9.dev0/quant1x/exchange/code_deprecated.go +272 -0
- quant1x-0.7.9.dev0/quant1x/exchange/exchange.go +124 -0
- quant1x-0.7.9.dev0/quant1x/exchange/instrument.go +204 -0
- quant1x-0.7.9.dev0/quant1x/exchange/margin_trading.cpp +433 -0
- quant1x-0.7.9.dev0/quant1x/exchange/margin_trading.h +18 -0
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/quant1x/exchange/margin_trading.py +180 -177
- quant1x-0.7.9.dev0/quant1x/exchange/mod.rs +18 -0
- quant1x-0.7.9.dev0/quant1x/exchange/rule.cpp +484 -0
- quant1x-0.7.9.dev0/quant1x/exchange/rule.go +548 -0
- quant1x-0.7.9.dev0/quant1x/exchange/rule.h +27 -0
- quant1x-0.7.9.dev0/quant1x/exchange/rule.py +485 -0
- quant1x-0.7.9.dev0/quant1x/exchange/rule.rs +840 -0
- quant1x-0.7.9.dev0/quant1x/exchange/rule_test.go +70 -0
- quant1x-0.7.9.dev0/quant1x/exchange/session.cpp +119 -0
- quant1x-0.7.9.dev0/quant1x/exchange/session.go +327 -0
- quant1x-0.7.9.dev0/quant1x/exchange/session.h +279 -0
- quant1x-0.7.9.dev0/quant1x/exchange/session.md +78 -0
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/quant1x/exchange/session.py +471 -348
- quant1x-0.7.9.dev0/quant1x/exchange/session.rs +393 -0
- quant1x-0.7.9.dev0/quant1x/exchange/sina/decode_test.go +28 -0
- quant1x-0.7.9.dev0/quant1x/exchange/sina/decoder.go +611 -0
- quant1x-0.7.9.dev0/quant1x/exchange/sina/decoder.h +358 -0
- quant1x-0.7.9.dev0/quant1x/exchange/sina/decoder.py +473 -0
- quant1x-0.7.9.dev0/quant1x/exchange/sina/decoder.rs +759 -0
- quant1x-0.7.9.dev0/quant1x/exchange/sina/mod.rs +2 -0
- quant1x-0.7.9.dev0/quant1x/exchange/status.cpp +42 -0
- quant1x-0.7.9.dev0/quant1x/exchange/status.go +67 -0
- quant1x-0.7.9.dev0/quant1x/exchange/status.h +45 -0
- quant1x-0.7.9.dev0/quant1x/exchange/status.py +63 -0
- quant1x-0.7.9.dev0/quant1x/exchange/status.rs +45 -0
- quant1x-0.7.9.dev0/quant1x/exchange/timestamp.cpp +268 -0
- quant1x-0.7.9.dev0/quant1x/exchange/timestamp.go +406 -0
- quant1x-0.7.9.dev0/quant1x/exchange/timestamp.h +148 -0
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/quant1x/exchange/timestamp.py +219 -216
- quant1x-0.7.9.dev0/quant1x/exchange/timestamp.rs +699 -0
- quant1x-0.7.9.dev0/quant1x/exchange/timestamp_test.go +235 -0
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/quant1x/factors/__init__.py +24 -21
- quant1x-0.7.9.dev0/quant1x/factors/base.cpp +289 -0
- quant1x-0.7.9.dev0/quant1x/factors/base.go +276 -0
- quant1x-0.7.9.dev0/quant1x/factors/base.h +171 -0
- quant1x-0.7.9.dev0/quant1x/factors/base.py +443 -0
- quant1x-0.7.9.dev0/quant1x/factors/base.rs +507 -0
- quant1x-0.7.9.dev0/quant1x/factors/base_test.go +233 -0
- quant1x-0.7.9.dev0/quant1x/factors/doc.go +4 -0
- quant1x-0.7.9.dev0/quant1x/factors/f10.cpp +380 -0
- quant1x-0.7.9.dev0/quant1x/factors/f10.h +151 -0
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/quant1x/factors/f10.py +303 -301
- quant1x-0.7.9.dev0/quant1x/factors/f10.rs +299 -0
- quant1x-0.7.9.dev0/quant1x/factors/factory.h +84 -0
- quant1x-0.7.9.dev0/quant1x/factors/financial_report.cpp +1465 -0
- quant1x-0.7.9.dev0/quant1x/factors/financial_report.h +101 -0
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/quant1x/factors/financial_report.py +343 -340
- quant1x-0.7.9.dev0/quant1x/factors/financial_report.rs +292 -0
- quant1x-0.7.9.dev0/quant1x/factors/history.cpp +229 -0
- quant1x-0.7.9.dev0/quant1x/factors/history.h +90 -0
- quant1x-0.7.9.dev0/quant1x/factors/mod.rs +17 -0
- quant1x-0.7.9.dev0/quant1x/factors/notice.cpp +665 -0
- quant1x-0.7.9.dev0/quant1x/factors/notice.h +98 -0
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/quant1x/factors/notice.py +458 -455
- quant1x-0.7.9.dev0/quant1x/factors/notice.rs +500 -0
- quant1x-0.7.9.dev0/quant1x/factors/safety_score.cpp +226 -0
- quant1x-0.7.9.dev0/quant1x/factors/safety_score.h +42 -0
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/quant1x/factors/safety_score.py +132 -129
- quant1x-0.7.9.dev0/quant1x/factors/safety_score.rs +203 -0
- quant1x-0.7.9.dev0/quant1x/factors/share_holder.cpp +274 -0
- quant1x-0.7.9.dev0/quant1x/factors/share_holder.h +47 -0
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/quant1x/factors/share_holder.py +144 -141
- quant1x-0.7.9.dev0/quant1x/factors/share_holder.rs +326 -0
- quant1x-0.7.9.dev0/quant1x/formula/README-MyTT.md +394 -0
- quant1x-0.7.9.dev0/quant1x/formula/__init__.py +6 -0
- quant1x-0.7.9.dev0/quant1x/formula/formula.ipynb +1125 -0
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/quant1x/formula/formula.py +997 -993
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/quant1x/formula/formula_plus.py +195 -191
- quant1x-0.7.9.dev0/quant1x/formula.cpp +41 -0
- quant1x-0.7.9.dev0/quant1x/formula.h +938 -0
- quant1x-0.7.9.dev0/quant1x/indicators/README.md +13 -0
- quant1x-0.7.9.dev0/quant1x/indicators/__init__.py +4 -0
- quant1x-0.7.9.dev0/quant1x/indicators/cdtd.md +33 -0
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/quant1x/indicators/cdtd.py +83 -80
- quant1x-0.7.9.dev0/quant1x/indicators/f89k.md +80 -0
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/quant1x/indicators/f89k.py +165 -162
- quant1x-0.7.9.dev0/quant1x/indicators/hjk.md +27 -0
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/quant1x/indicators/hjk.py +75 -72
- quant1x-0.7.9.dev0/quant1x/indicators/ma1x.md +124 -0
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/quant1x/indicators/ma1x.py +195 -193
- quant1x-0.7.9.dev0/quant1x/indicators/p2fb.md +35 -0
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/quant1x/indicators/p2fb.py +99 -96
- quant1x-0.7.9.dev0/quant1x/indicators/winner.md +40 -0
- quant1x-0.7.9.dev0/quant1x/io/__init__.py +5 -0
- quant1x-0.7.9.dev0/quant1x/io/base.h +58 -0
- quant1x-0.7.9.dev0/quant1x/io/connection_pool.go +352 -0
- quant1x-0.7.9.dev0/quant1x/io/connection_pool.h +559 -0
- quant1x-0.7.9.dev0/quant1x/io/connection_pool.md +219 -0
- {quant1x-0.7.5/quant1x/net → quant1x-0.7.9.dev0/quant1x/io}/connection_pool.py +361 -344
- quant1x-0.7.9.dev0/quant1x/io/connection_pool.rs +537 -0
- quant1x-0.7.9.dev0/quant1x/io/connection_pool_test.go +99 -0
- quant1x-0.7.9.dev0/quant1x/io/connection_pool_test.rs +387 -0
- quant1x-0.7.9.dev0/quant1x/io/csv-reader.LICENSE +28 -0
- quant1x-0.7.9.dev0/quant1x/io/csv-reader.h +1204 -0
- quant1x-0.7.9.dev0/quant1x/io/csv-reader.md +279 -0
- quant1x-0.7.9.dev0/quant1x/io/csv-writer.h +149 -0
- quant1x-0.7.9.dev0/quant1x/io/endpoint.go +191 -0
- quant1x-0.7.9.dev0/quant1x/io/endpoint.h +193 -0
- {quant1x-0.7.5/quant1x/net → quant1x-0.7.9.dev0/quant1x/io}/endpoint.py +96 -92
- quant1x-0.7.9.dev0/quant1x/io/endpoint.rs +143 -0
- quant1x-0.7.9.dev0/quant1x/io/endpoint_test.go +89 -0
- quant1x-0.7.9.dev0/quant1x/io/file.cpp +313 -0
- quant1x-0.7.9.dev0/quant1x/io/file.h +73 -0
- quant1x-0.7.9.dev0/quant1x/io/http.cpp +51 -0
- quant1x-0.7.9.dev0/quant1x/io/http.go +233 -0
- quant1x-0.7.9.dev0/quant1x/io/http.h +13 -0
- quant1x-0.7.9.dev0/quant1x/io/http_test.go +51 -0
- quant1x-0.7.9.dev0/quant1x/io/mod.rs +7 -0
- quant1x-0.7.9.dev0/quant1x/io/operation_handler.go +25 -0
- quant1x-0.7.9.dev0/quant1x/io/operation_handler.h +56 -0
- {quant1x-0.7.5/quant1x/net → quant1x-0.7.9.dev0/quant1x/io}/operation_handler.py +54 -50
- quant1x-0.7.9.dev0/quant1x/io/operation_handler.rs +28 -0
- quant1x-0.7.9.dev0/quant1x/learn/bayesian/naive.go +90 -0
- quant1x-0.7.9.dev0/quant1x/learn/bayesian/naive_test.go +36 -0
- quant1x-0.7.9.dev0/quant1x/learn/cluster/cluster.go +204 -0
- quant1x-0.7.9.dev0/quant1x/learn/cluster/cluster_trade_tick.go +251 -0
- quant1x-0.7.9.dev0/quant1x/learn/cluster/cluster_trade_transaction.go +6 -0
- quant1x-0.7.9.dev0/quant1x/learn/cluster/dbscan.go +157 -0
- quant1x-0.7.9.dev0/quant1x/learn/cluster/dbscan_test.go +486 -0
- quant1x-0.7.9.dev0/quant1x/learn/cluster/k-means.go +396 -0
- quant1x-0.7.9.dev0/quant1x/learn/cluster/k-means_analysis.go +183 -0
- quant1x-0.7.9.dev0/quant1x/learn/cluster/k-means_test.go +56 -0
- quant1x-0.7.9.dev0/quant1x/learn/doc.go +2 -0
- quant1x-0.7.9.dev0/quant1x/learn/fpgrowth/README.md +60 -0
- quant1x-0.7.9.dev0/quant1x/learn/fpgrowth/fp_growth.cpp +78 -0
- quant1x-0.7.9.dev0/quant1x/learn/fpgrowth/fp_growth.go +70 -0
- quant1x-0.7.9.dev0/quant1x/learn/fpgrowth/fp_growth.h +50 -0
- quant1x-0.7.9.dev0/quant1x/learn/fpgrowth/fp_growth.md +243 -0
- quant1x-0.7.9.dev0/quant1x/learn/fpgrowth/fp_growth.rs +557 -0
- quant1x-0.7.9.dev0/quant1x/learn/fpgrowth/fp_growth_core.cpp +293 -0
- quant1x-0.7.9.dev0/quant1x/learn/fpgrowth/fp_growth_core.go +326 -0
- quant1x-0.7.9.dev0/quant1x/learn/fpgrowth/fp_growth_core.h +115 -0
- quant1x-0.7.9.dev0/quant1x/learn/fpgrowth/fp_growth_example.py +64 -0
- quant1x-0.7.9.dev0/quant1x/learn/fpgrowth/fp_growth_test.go +51 -0
- quant1x-0.7.9.dev0/quant1x/learn/fpgrowth/mod.rs +2 -0
- quant1x-0.7.9.dev0/quant1x/learn/mod.rs +1 -0
- quant1x-0.7.9.dev0/quant1x/learn/nn/neural-network.go +197 -0
- quant1x-0.7.9.dev0/quant1x/learn/nn/neural-network_test.go +38 -0
- quant1x-0.7.9.dev0/quant1x/learn/preprocessing/standard_scaler.go +136 -0
- quant1x-0.7.9.dev0/quant1x/level1/__init__.py +7 -0
- quant1x-0.7.9.dev0/quant1x/level1/block_info.go +78 -0
- quant1x-0.7.9.dev0/quant1x/level1/block_info.h +100 -0
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/quant1x/level1/block_info.py +71 -68
- quant1x-0.7.9.dev0/quant1x/level1/block_info.rs +141 -0
- quant1x-0.7.9.dev0/quant1x/level1/block_meta.go +70 -0
- quant1x-0.7.9.dev0/quant1x/level1/block_meta.h +86 -0
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/quant1x/level1/block_meta.py +72 -69
- quant1x-0.7.9.dev0/quant1x/level1/block_meta.rs +44 -0
- quant1x-0.7.9.dev0/quant1x/level1/client.cpp +71 -0
- quant1x-0.7.9.dev0/quant1x/level1/client.go +290 -0
- quant1x-0.7.9.dev0/quant1x/level1/client.h +87 -0
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/quant1x/level1/client.py +187 -185
- quant1x-0.7.9.dev0/quant1x/level1/client.rs +366 -0
- quant1x-0.7.9.dev0/quant1x/level1/client_test.go +290 -0
- quant1x-0.7.9.dev0/quant1x/level1/company_category.h +20 -0
- quant1x-0.7.9.dev0/quant1x/level1/company_category.rs +16 -0
- quant1x-0.7.9.dev0/quant1x/level1/company_content.h +20 -0
- quant1x-0.7.9.dev0/quant1x/level1/company_content.rs +15 -0
- quant1x-0.7.9.dev0/quant1x/level1/config.cpp +322 -0
- quant1x-0.7.9.dev0/quant1x/level1/config.go +219 -0
- quant1x-0.7.9.dev0/quant1x/level1/config.h +27 -0
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/quant1x/level1/config.py +328 -321
- quant1x-0.7.9.dev0/quant1x/level1/config.rs +1140 -0
- quant1x-0.7.9.dev0/quant1x/level1/finance_info.go +327 -0
- quant1x-0.7.9.dev0/quant1x/level1/finance_info.h +346 -0
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/quant1x/level1/finance_info.py +169 -164
- quant1x-0.7.9.dev0/quant1x/level1/finance_info.rs +381 -0
- quant1x-0.7.9.dev0/quant1x/level1/finance_info_test.go +31 -0
- quant1x-0.7.9.dev0/quant1x/level1/heartbeat.go +43 -0
- quant1x-0.7.9.dev0/quant1x/level1/heartbeat.h +56 -0
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/quant1x/level1/heartbeat.py +50 -47
- quant1x-0.7.9.dev0/quant1x/level1/heartbeat.rs +93 -0
- quant1x-0.7.9.dev0/quant1x/level1/hello1.go +68 -0
- quant1x-0.7.9.dev0/quant1x/level1/hello1.h +95 -0
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/quant1x/level1/hello1.py +48 -45
- quant1x-0.7.9.dev0/quant1x/level1/hello1.rs +107 -0
- quant1x-0.7.9.dev0/quant1x/level1/hello2.go +44 -0
- quant1x-0.7.9.dev0/quant1x/level1/hello2.h +67 -0
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/quant1x/level1/hello2.py +48 -45
- quant1x-0.7.9.dev0/quant1x/level1/hello2.rs +87 -0
- quant1x-0.7.9.dev0/quant1x/level1/helpers.go +260 -0
- quant1x-0.7.9.dev0/quant1x/level1/helpers.h +297 -0
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/quant1x/level1/helpers.py +191 -138
- quant1x-0.7.9.dev0/quant1x/level1/helpers.rs +102 -0
- quant1x-0.7.9.dev0/quant1x/level1/minute_time.h +132 -0
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/quant1x/level1/minute_time.py +94 -91
- quant1x-0.7.9.dev0/quant1x/level1/minute_time.rs +219 -0
- quant1x-0.7.9.dev0/quant1x/level1/mod.rs +42 -0
- quant1x-0.7.9.dev0/quant1x/level1/protocol.cpp +41 -0
- quant1x-0.7.9.dev0/quant1x/level1/protocol.go +287 -0
- quant1x-0.7.9.dev0/quant1x/level1/protocol.h +270 -0
- quant1x-0.7.9.dev0/quant1x/level1/protocol.py +88 -0
- quant1x-0.7.9.dev0/quant1x/level1/protocol.rs +311 -0
- quant1x-0.7.9.dev0/quant1x/level1/security_bars.go +284 -0
- quant1x-0.7.9.dev0/quant1x/level1/security_bars.h +250 -0
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/quant1x/level1/security_bars.py +175 -172
- quant1x-0.7.9.dev0/quant1x/level1/security_bars.rs +304 -0
- quant1x-0.7.9.dev0/quant1x/level1/security_count.h +78 -0
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/quant1x/level1/security_count.py +51 -45
- quant1x-0.7.9.dev0/quant1x/level1/security_count.rs +125 -0
- quant1x-0.7.9.dev0/quant1x/level1/security_list.go +132 -0
- quant1x-0.7.9.dev0/quant1x/level1/security_list.h +110 -0
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/quant1x/level1/security_list.py +175 -173
- quant1x-0.7.9.dev0/quant1x/level1/security_list.rs +203 -0
- quant1x-0.7.9.dev0/quant1x/level1/security_list_old.h +96 -0
- quant1x-0.7.9.dev0/quant1x/level1/security_list_test.go +59 -0
- quant1x-0.7.9.dev0/quant1x/level1/security_quote.go +388 -0
- quant1x-0.7.9.dev0/quant1x/level1/security_quote.h +511 -0
- quant1x-0.7.9.dev0/quant1x/level1/security_quote.md +204 -0
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/quant1x/level1/security_quote.py +394 -391
- quant1x-0.7.9.dev0/quant1x/level1/security_quote.rs +504 -0
- quant1x-0.7.9.dev0/quant1x/level1/transaction.go +38 -0
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/quant1x/level1/transaction.py +223 -220
- quant1x-0.7.9.dev0/quant1x/level1/transaction_data.go +153 -0
- quant1x-0.7.9.dev0/quant1x/level1/transaction_data.h +161 -0
- quant1x-0.7.9.dev0/quant1x/level1/transaction_data.rs +223 -0
- quant1x-0.7.9.dev0/quant1x/level1/transaction_history.go +162 -0
- quant1x-0.7.9.dev0/quant1x/level1/transaction_history.h +139 -0
- quant1x-0.7.9.dev0/quant1x/level1/transaction_history.rs +246 -0
- quant1x-0.7.9.dev0/quant1x/level1/xdxr_info.go +299 -0
- quant1x-0.7.9.dev0/quant1x/level1/xdxr_info.h +316 -0
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/quant1x/level1/xdxr_info.py +230 -227
- quant1x-0.7.9.dev0/quant1x/level1/xdxr_info.rs +307 -0
- quant1x-0.7.9.dev0/quant1x/lib.rs +130 -0
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/quant1x/log/__init__.py +19 -16
- quant1x-0.7.9.dev0/quant1x/log/lazy_daily_sink.cpp +26 -0
- quant1x-0.7.9.dev0/quant1x/log/lazy_daily_sink.h +36 -0
- quant1x-0.7.9.dev0/quant1x/log/logger.go +177 -0
- quant1x-0.7.9.dev0/quant1x/log/logger.h +15 -0
- quant1x-0.7.9.dev0/quant1x/log/logger.py +75 -0
- quant1x-0.7.9.dev0/quant1x/log/logger_config.go +179 -0
- quant1x-0.7.9.dev0/quant1x/log/logger_monitor.go +20 -0
- quant1x-0.7.9.dev0/quant1x/log/logger_test.go +25 -0
- quant1x-0.7.9.dev0/quant1x/log/logger_wapper.go +41 -0
- quant1x-0.7.9.dev0/quant1x/log/router_sink.cpp +34 -0
- quant1x-0.7.9.dev0/quant1x/log/router_sink.h +34 -0
- quant1x-0.7.9.dev0/quant1x/log4rs.yaml +32 -0
- quant1x-0.7.9.dev0/quant1x/market/__init__.py +0 -0
- quant1x-0.7.9.dev0/quant1x/market/blocks.cpp +591 -0
- quant1x-0.7.9.dev0/quant1x/market/blocks.go +458 -0
- quant1x-0.7.9.dev0/quant1x/market/blocks.h +39 -0
- quant1x-0.7.9.dev0/quant1x/market/blocks.py +528 -0
- quant1x-0.7.9.dev0/quant1x/market/blocks.rs +729 -0
- quant1x-0.7.9.dev0/quant1x/market/blocks_test.go +24 -0
- quant1x-0.7.9.dev0/quant1x/market/doc.go +2 -0
- quant1x-0.7.9.dev0/quant1x/market/finance.go +3 -0
- quant1x-0.7.9.dev0/quant1x/market/instruments.cpp +115 -0
- quant1x-0.7.9.dev0/quant1x/market/instruments.go +165 -0
- quant1x-0.7.9.dev0/quant1x/market/instruments.h +38 -0
- quant1x-0.7.5/quant1x/exchange/markets.py → quant1x-0.7.9.dev0/quant1x/market/instruments.py +116 -102
- quant1x-0.7.9.dev0/quant1x/market/instruments.rs +143 -0
- quant1x-0.7.9.dev0/quant1x/market/instruments_test.go +11 -0
- quant1x-0.7.9.dev0/quant1x/market/mod.rs +8 -0
- quant1x-0.7.9.dev0/quant1x/market/security.cpp +153 -0
- quant1x-0.7.9.dev0/quant1x/market/security.go +170 -0
- quant1x-0.7.9.dev0/quant1x/market/security.h +28 -0
- {quant1x-0.7.5/quant1x/exchange → quant1x-0.7.9.dev0/quant1x/market}/security.py +217 -213
- quant1x-0.7.9.dev0/quant1x/market/security.rs +210 -0
- quant1x-0.7.9.dev0/quant1x/market/security_test.go +24 -0
- quant1x-0.7.9.dev0/quant1x/net/__init__.py +7 -0
- quant1x-0.7.9.dev0/quant1x/net/conn.py +119 -0
- quant1x-0.7.9.dev0/quant1x/net/endpoint.py +90 -0
- quant1x-0.7.9.dev0/quant1x/net/handler.py +49 -0
- quant1x-0.7.9.dev0/quant1x/net/tcp_client_pool.py +275 -0
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/quant1x/network.py +62 -59
- quant1x-0.7.9.dev0/quant1x/pandas/dataframe.h +291 -0
- quant1x-0.7.9.dev0/quant1x/pandas/ewm.h +192 -0
- quant1x-0.7.9.dev0/quant1x/pandas/mod.rs +43 -0
- quant1x-0.7.9.dev0/quant1x/pandas/periods.h +50 -0
- quant1x-0.7.9.dev0/quant1x/pandas/rule.cpp +93 -0
- quant1x-0.7.9.dev0/quant1x/pandas/rule.h +14 -0
- quant1x-0.7.9.dev0/quant1x/pandas/series.h +245 -0
- quant1x-0.7.9.dev0/quant1x/plugins/plugin_api.h +23 -0
- quant1x-0.7.9.dev0/quant1x/plugins/plugin_loader.cpp +70 -0
- quant1x-0.7.9.dev0/quant1x/plugins/plugin_loader.h +17 -0
- quant1x-0.7.9.dev0/quant1x/proto/README.md +1 -0
- quant1x-0.7.9.dev0/quant1x/proto/chips.pb.cc +832 -0
- quant1x-0.7.9.dev0/quant1x/proto/chips.pb.h +789 -0
- quant1x-0.7.9.dev0/quant1x/proto/data.h +9 -0
- quant1x-0.7.9.dev0/quant1x/proto/security_info.pb.go +496 -0
- quant1x-0.7.9.dev0/quant1x/proto/security_info.proto +100 -0
- quant1x-0.7.9.dev0/quant1x/proto/snapshot.capnp.c++ +1080 -0
- quant1x-0.7.9.dev0/quant1x/proto/snapshot.capnp.h +1459 -0
- quant1x-0.7.9.dev0/quant1x/proto/trans.pb.cc +461 -0
- quant1x-0.7.9.dev0/quant1x/proto/trans.pb.h +437 -0
- quant1x-0.7.9.dev0/quant1x/proto/xdxr.pb.cc +878 -0
- quant1x-0.7.9.dev0/quant1x/proto/xdxr.pb.h +786 -0
- quant1x-0.7.9.dev0/quant1x/quant1x.cpp +90 -0
- quant1x-0.7.9.dev0/quant1x/quant1x.h +27 -0
- quant1x-0.7.9.dev0/quant1x/realtime/snapshot.cpp +354 -0
- quant1x-0.7.9.dev0/quant1x/realtime/snapshot.h +37 -0
- quant1x-0.7.9.dev0/quant1x/resources/README.md +9 -0
- quant1x-0.7.9.dev0/quant1x/resources/meta/blocks.h +37 -0
- quant1x-0.7.9.dev0/quant1x/resources/meta/tdxhy.inc +14 -0
- quant1x-0.7.9.dev0/quant1x/resources/meta/tdxzs.inc +14 -0
- quant1x-0.7.9.dev0/quant1x/resources/meta/tdxzs3.inc +14 -0
- quant1x-0.7.9.dev0/quant1x/runtime/__init__.py +0 -0
- quant1x-0.7.9.dev0/quant1x/runtime/application.go +24 -0
- quant1x-0.7.9.dev0/quant1x/runtime/cache1d.h +42 -0
- quant1x-0.7.9.dev0/quant1x/runtime/compile.go +13 -0
- quant1x-0.7.9.dev0/quant1x/runtime/compile_debug.go +9 -0
- quant1x-0.7.9.dev0/quant1x/runtime/compile_release.go +9 -0
- quant1x-0.7.9.dev0/quant1x/runtime/context.go +108 -0
- quant1x-0.7.9.dev0/quant1x/runtime/context_log.go +17 -0
- quant1x-0.7.9.dev0/quant1x/runtime/context_test.go +10 -0
- quant1x-0.7.9.dev0/quant1x/runtime/core.cpp +318 -0
- quant1x-0.7.9.dev0/quant1x/runtime/core.go +40 -0
- quant1x-0.7.9.dev0/quant1x/runtime/core.h +33 -0
- quant1x-0.7.9.dev0/quant1x/runtime/core.rs +36 -0
- quant1x-0.7.9.dev0/quant1x/runtime/cpu.go +12 -0
- quant1x-0.7.9.dev0/quant1x/runtime/crash.cpp +339 -0
- quant1x-0.7.9.dev0/quant1x/runtime/crash.go +58 -0
- quant1x-0.7.9.dev0/quant1x/runtime/crash.h +17 -0
- quant1x-0.7.9.dev0/quant1x/runtime/crash_test.go +37 -0
- quant1x-0.7.9.dev0/quant1x/runtime/daemon_macosx.cpp +297 -0
- quant1x-0.7.9.dev0/quant1x/runtime/daemon_service.cpp +527 -0
- quant1x-0.7.9.dev0/quant1x/runtime/daemon_systemd.cpp +274 -0
- quant1x-0.7.9.dev0/quant1x/runtime/mod.rs +13 -0
- quant1x-0.7.9.dev0/quant1x/runtime/once.go +189 -0
- quant1x-0.7.9.dev0/quant1x/runtime/once.h +161 -0
- quant1x-0.7.9.dev0/quant1x/runtime/once.py +76 -0
- quant1x-0.7.9.dev0/quant1x/runtime/once.rs +234 -0
- quant1x-0.7.9.dev0/quant1x/runtime/ringbuffer.go +208 -0
- quant1x-0.7.9.dev0/quant1x/runtime/ringbuffer.h +288 -0
- quant1x-0.7.9.dev0/quant1x/runtime/ringbuffer.md +79 -0
- quant1x-0.7.9.dev0/quant1x/runtime/ringbuffer.rs +328 -0
- quant1x-0.7.9.dev0/quant1x/runtime/ringbuffer_test.go +489 -0
- quant1x-0.7.9.dev0/quant1x/runtime/ringbuffer_tests.rs +111 -0
- quant1x-0.7.9.dev0/quant1x/runtime/scheduler.cpp +250 -0
- quant1x-0.7.9.dev0/quant1x/runtime/scheduler.go +313 -0
- quant1x-0.7.9.dev0/quant1x/runtime/scheduler.h +83 -0
- quant1x-0.7.9.dev0/quant1x/runtime/scheduler.md +60 -0
- quant1x-0.7.9.dev0/quant1x/runtime/scheduler.py +708 -0
- quant1x-0.7.9.dev0/quant1x/runtime/scheduler.rs +596 -0
- quant1x-0.7.9.dev0/quant1x/runtime/scheduler_test.go +154 -0
- quant1x-0.7.9.dev0/quant1x/runtime/service.h +30 -0
- quant1x-0.7.9.dev0/quant1x/runtime/stdlib.go +66 -0
- quant1x-0.7.9.dev0/quant1x/runtime/stdlib_test.go +27 -0
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/quant1x/std/__init__.py +17 -13
- quant1x-0.7.9.dev0/quant1x/std/affinity.cpp +160 -0
- quant1x-0.7.9.dev0/quant1x/std/affinity.h +29 -0
- quant1x-0.7.9.dev0/quant1x/std/algo.h +114 -0
- quant1x-0.7.9.dev0/quant1x/std/api.h +9 -0
- quant1x-0.7.9.dev0/quant1x/std/argparse/argparse.go +2647 -0
- quant1x-0.7.9.dev0/quant1x/std/argparse/argparse_test.go +1339 -0
- quant1x-0.7.9.dev0/quant1x/std/atomic.h +55 -0
- quant1x-0.7.9.dev0/quant1x/std/base.go +2 -0
- quant1x-0.7.9.dev0/quant1x/std/base.h +109 -0
- quant1x-0.7.9.dev0/quant1x/std/bits.go +51 -0
- quant1x-0.7.9.dev0/quant1x/std/bits_amd64.s +32 -0
- quant1x-0.7.9.dev0/quant1x/std/bits_arm64.s +33 -0
- quant1x-0.7.9.dev0/quant1x/std/bits_test.go +139 -0
- quant1x-0.7.9.dev0/quant1x/std/buffer.h +294 -0
- quant1x-0.7.9.dev0/quant1x/std/buffer.rs +290 -0
- quant1x-0.7.9.dev0/quant1x/std/cache/cache.go +313 -0
- quant1x-0.7.9.dev0/quant1x/std/cache/cache_test.go +64 -0
- quant1x-0.7.9.dev0/quant1x/std/cache/embed.go +43 -0
- quant1x-0.7.9.dev0/quant1x/std/cache/embed_test.go +20 -0
- quant1x-0.7.9.dev0/quant1x/std/cache/mmap_common.go +15 -0
- quant1x-0.7.9.dev0/quant1x/std/cache/mmap_posix.go +46 -0
- quant1x-0.7.9.dev0/quant1x/std/cache/mmap_windows.go +91 -0
- quant1x-0.7.9.dev0/quant1x/std/cache/pool.go +39 -0
- quant1x-0.7.9.dev0/quant1x/std/cache/pool_test.go +39 -0
- quant1x-0.7.9.dev0/quant1x/std/closer.go +10 -0
- quant1x-0.7.9.dev0/quant1x/std/concurrent.go +1 -0
- quant1x-0.7.9.dev0/quant1x/std/cpu/cache_line_size.go +8 -0
- quant1x-0.7.9.dev0/quant1x/std/cpu_info.cpp +170 -0
- quant1x-0.7.9.dev0/quant1x/std/cpu_info.h +55 -0
- quant1x-0.7.9.dev0/quant1x/std/cron.go +440 -0
- quant1x-0.7.9.dev0/quant1x/std/cron_test.go +133 -0
- quant1x-0.7.9.dev0/quant1x/std/dataclass_utils.py +56 -0
- quant1x-0.7.9.dev0/quant1x/std/embed.go +59 -0
- quant1x-0.7.9.dev0/quant1x/std/embed.go.copy +59 -0
- quant1x-0.7.9.dev0/quant1x/std/embed_test.go +20 -0
- quant1x-0.7.9.dev0/quant1x/std/except.go +39 -0
- quant1x-0.7.9.dev0/quant1x/std/except.h +57 -0
- quant1x-0.7.9.dev0/quant1x/std/except.py +78 -0
- quant1x-0.7.9.dev0/quant1x/std/except.rs +34 -0
- quant1x-0.7.9.dev0/quant1x/std/feature_detection.h +187 -0
- quant1x-0.7.9.dev0/quant1x/std/filesystem.cpp +114 -0
- quant1x-0.7.9.dev0/quant1x/std/filesystem.go +233 -0
- quant1x-0.7.9.dev0/quant1x/std/filesystem.h +37 -0
- quant1x-0.7.9.dev0/quant1x/std/filesystem.py +98 -0
- quant1x-0.7.9.dev0/quant1x/std/filesystem.rs +134 -0
- quant1x-0.7.9.dev0/quant1x/std/filesystem_test.go +166 -0
- quant1x-0.7.9.dev0/quant1x/std/format.h +60 -0
- quant1x-0.7.9.dev0/quant1x/std/fs/filepath.go +63 -0
- quant1x-0.7.9.dev0/quant1x/std/fs/filepath_test.go +34 -0
- quant1x-0.7.9.dev0/quant1x/std/hex.go +13 -0
- quant1x-0.7.9.dev0/quant1x/std/hex_test.go +37 -0
- quant1x-0.7.9.dev0/quant1x/std/mem/page.go +23 -0
- quant1x-0.7.9.dev0/quant1x/std/mem/page_test.go +29 -0
- quant1x-0.7.9.dev0/quant1x/std/mem/pointer.go +1 -0
- quant1x-0.7.9.dev0/quant1x/std/mem/size.go +18 -0
- quant1x-0.7.9.dev0/quant1x/std/meta/tags.go +122 -0
- quant1x-0.7.9.dev0/quant1x/std/mimalloc_force.cpp +24 -0
- quant1x-0.7.9.dev0/quant1x/std/mmap.h +283 -0
- quant1x-0.7.9.dev0/quant1x/std/mod.rs +9 -0
- quant1x-0.7.9.dev0/quant1x/std/numeric.cpp +28 -0
- quant1x-0.7.9.dev0/quant1x/std/numeric.go +270 -0
- quant1x-0.7.9.dev0/quant1x/std/numeric.h +135 -0
- quant1x-0.7.9.dev0/quant1x/std/numeric.md +180 -0
- quant1x-0.7.9.dev0/quant1x/std/numeric.py +288 -0
- quant1x-0.7.9.dev0/quant1x/std/numeric.rs +49 -0
- quant1x-0.7.9.dev0/quant1x/std/numeric_test.go +64 -0
- quant1x-0.7.9.dev0/quant1x/std/object.h +210 -0
- quant1x-0.7.9.dev0/quant1x/std/parallel.go +1 -0
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/quant1x/std/pattern.py +23 -20
- quant1x-0.7.9.dev0/quant1x/std/routine.go +10 -0
- quant1x-0.7.9.dev0/quant1x/std/routine_test.go +11 -0
- quant1x-0.7.9.dev0/quant1x/std/safe.cpp +51 -0
- quant1x-0.7.9.dev0/quant1x/std/safe.h +47 -0
- quant1x-0.7.9.dev0/quant1x/std/signal/notify.go +16 -0
- quant1x-0.7.9.dev0/quant1x/std/signal/signal_posix.go +10 -0
- quant1x-0.7.9.dev0/quant1x/std/signal/signal_windows.go +10 -0
- quant1x-0.7.9.dev0/quant1x/std/simd.cpp +21 -0
- quant1x-0.7.9.dev0/quant1x/std/simd.h +27 -0
- quant1x-0.7.9.dev0/quant1x/std/singleton.py +677 -0
- quant1x-0.7.9.dev0/quant1x/std/slices.go +23 -0
- quant1x-0.7.9.dev0/quant1x/std/strings.cpp +455 -0
- quant1x-0.7.9.dev0/quant1x/std/strings.go +102 -0
- quant1x-0.7.9.dev0/quant1x/std/strings.h +593 -0
- quant1x-0.7.9.dev0/quant1x/std/strings.md +193 -0
- quant1x-0.7.9.dev0/quant1x/std/strings.py +31 -0
- quant1x-0.7.9.dev0/quant1x/std/strings.rs +68 -0
- quant1x-0.7.9.dev0/quant1x/std/strings_bytes_above_120.go +17 -0
- quant1x-0.7.9.dev0/quant1x/std/strings_bytes_below_120.go +23 -0
- quant1x-0.7.9.dev0/quant1x/std/strings_camel.go +37 -0
- quant1x-0.7.9.dev0/quant1x/std/strings_camel_test.go +56 -0
- quant1x-0.7.9.dev0/quant1x/std/strings_helper.go +71 -0
- quant1x-0.7.9.dev0/quant1x/std/strings_kebab.go +14 -0
- quant1x-0.7.9.dev0/quant1x/std/strings_kebab_test.go +56 -0
- quant1x-0.7.9.dev0/quant1x/std/strings_snake.go +58 -0
- quant1x-0.7.9.dev0/quant1x/std/strings_snake_test.go +56 -0
- quant1x-0.7.9.dev0/quant1x/std/strings_test.go +123 -0
- quant1x-0.7.9.dev0/quant1x/std/system.py +195 -0
- quant1x-0.7.9.dev0/quant1x/std/time.cpp +374 -0
- quant1x-0.7.9.dev0/quant1x/std/time.go +255 -0
- quant1x-0.7.9.dev0/quant1x/std/time.h +42 -0
- quant1x-0.7.9.dev0/quant1x/std/time.py +123 -0
- quant1x-0.7.9.dev0/quant1x/std/time_test.go +205 -0
- quant1x-0.7.9.dev0/quant1x/std/util.cpp +8 -0
- quant1x-0.7.9.dev0/quant1x/std/util.h +55 -0
- quant1x-0.7.9.dev0/quant1x/ta/README.md +88 -0
- quant1x-0.7.9.dev0/quant1x/ta/boll.h +66 -0
- quant1x-0.7.9.dev0/quant1x/ta/ema.h +64 -0
- quant1x-0.7.9.dev0/quant1x/ta/ma.h +60 -0
- quant1x-0.7.9.dev0/quant1x/ta/macd.h +77 -0
- quant1x-0.7.9.dev0/quant1x/ta/rolling.h +68 -0
- quant1x-0.7.9.dev0/quant1x/ta/rolling_window.h +45 -0
- quant1x-0.7.9.dev0/quant1x/ta/rsi.h +83 -0
- quant1x-0.7.9.dev0/quant1x/ta/sma.h +70 -0
- quant1x-0.7.9.dev0/quant1x/ta/ta.h +57 -0
- quant1x-0.7.9.dev0/quant1x/ta/trend.cpp +40 -0
- quant1x-0.7.9.dev0/quant1x/ta/trend.h +180 -0
- quant1x-0.7.9.dev0/quant1x/ta/type_default.h +62 -0
- quant1x-0.7.9.dev0/quant1x/ta/waves.cpp +76 -0
- quant1x-0.7.9.dev0/quant1x/ta/waves.h +582 -0
- quant1x-0.7.9.dev0/quant1x/test/test.h +11 -0
- quant1x-0.7.9.dev0/quant1x/tools/inspect_blocks.py +97 -0
- quant1x-0.7.9.dev0/quant1x/trader/account.cpp +128 -0
- quant1x-0.7.9.dev0/quant1x/trader/account.h +22 -0
- quant1x-0.7.9.dev0/quant1x/trader/constants.h +88 -0
- quant1x-0.7.9.dev0/quant1x/trader/fee.cpp +312 -0
- quant1x-0.7.9.dev0/quant1x/trader/fee.h +91 -0
- quant1x-0.7.9.dev0/quant1x/trader/holding.cpp +149 -0
- quant1x-0.7.9.dev0/quant1x/trader/holding.h +59 -0
- quant1x-0.7.9.dev0/quant1x/trader/order.cpp +32 -0
- quant1x-0.7.9.dev0/quant1x/trader/order.h +19 -0
- quant1x-0.7.9.dev0/quant1x/trader/order_cache.cpp +48 -0
- quant1x-0.7.9.dev0/quant1x/trader/order_cache.h +24 -0
- quant1x-0.7.9.dev0/quant1x/trader/order_state.cpp +181 -0
- quant1x-0.7.9.dev0/quant1x/trader/order_state.h +38 -0
- quant1x-0.7.9.dev0/quant1x/trader/position.cpp +184 -0
- quant1x-0.7.9.dev0/quant1x/trader/position.h +52 -0
- quant1x-0.7.9.dev0/quant1x/trader/tracker.cpp +218 -0
- quant1x-0.7.9.dev0/quant1x/trader/tracker.h +12 -0
- quant1x-0.7.9.dev0/quant1x/trader/trader.cpp +279 -0
- quant1x-0.7.9.dev0/quant1x/trader/trader.h +81 -0
- quant1x-0.7.9.dev0/quant1x/types.py +8 -0
- quant1x-0.7.9.dev0/quant1x/util/SimHei.ttf +0 -0
- quant1x-0.7.9.dev0/quant1x/util/__init__.py +8 -0
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/quant1x/util/chart.py +6 -3
- quant1x-0.7.9.dev0/quant1x/util/compress.go +157 -0
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/quant1x/util/font.py +42 -38
- quant1x-0.7.9.dev0/quant1x/util/gitcmd.go +98 -0
- quant1x-0.7.9.dev0/quant1x/util/shell.go +29 -0
- quant1x-0.7.9.dev0/quant1x/util/util-font.ipynb +57 -0
- quant1x-0.7.9.dev0/quant1x/util/version.go +45 -0
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/quant1x/version.py +81 -78
- quant1x-0.7.9.dev0/quant1x.cer +0 -0
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/quant1x.egg-info/PKG-INFO +621 -539
- quant1x-0.7.9.dev0/quant1x.egg-info/SOURCES.txt +1031 -0
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/quant1x.egg-info/not-zip-safe +1 -1
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/quant1x.egg-info/requires.txt +2 -7
- quant1x-0.7.9.dev0/quant1x.pfx +0 -0
- quant1x-0.7.9.dev0/requirements.txt +34 -0
- quant1x-0.7.9.dev0/rust-toolchain.toml +3 -0
- quant1x-0.7.9.dev0/scripts/fix_header.py +228 -0
- quant1x-0.7.9.dev0/scripts/run_module.py +78 -0
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/setup.cfg +4 -4
- quant1x-0.7.9.dev0/test_loop.sh +49 -0
- quant1x-0.7.9.dev0/tests/CMakeLists.txt +236 -0
- quant1x-0.7.9.dev0/tests/Cargo.lock +370 -0
- quant1x-0.7.9.dev0/tests/Cargo.toml +8 -0
- quant1x-0.7.9.dev0/tests/README.md +30 -0
- quant1x-0.7.9.dev0/tests/calendar_decode.go +617 -0
- quant1x-0.7.9.dev0/tests/calendar_decode.js +217 -0
- quant1x-0.7.9.dev0/tests/calendar_decode_test.go +31 -0
- quant1x-0.7.9.dev0/tests/calendar_integration.rs +112 -0
- quant1x-0.7.9.dev0/tests/calendar_unit_test.go +63 -0
- quant1x-0.7.9.dev0/tests/conftest.py +11 -0
- quant1x-0.7.9.dev0/tests/count_codes.rs +7 -0
- quant1x-0.7.9.dev0/tests/crash-linux.cpp +24 -0
- quant1x-0.7.9.dev0/tests/crash-windows.cpp +27 -0
- quant1x-0.7.9.dev0/tests/debug_snake_case.cpp +11 -0
- quant1x-0.7.9.dev0/tests/fetch_securities.rs +20 -0
- quant1x-0.7.9.dev0/tests/fixtures/heartbeat.hex +1 -0
- quant1x-0.7.9.dev0/tests/fixtures/hello1.hex +1 -0
- quant1x-0.7.9.dev0/tests/fixtures/hello2.hex +1 -0
- quant1x-0.7.9.dev0/tests/labs.h +98 -0
- quant1x-0.7.9.dev0/tests/makefile +4 -0
- quant1x-0.7.9.dev0/tests/mmap-read.cpp +32 -0
- quant1x-0.7.9.dev0/tests/mmap-write.cpp +35 -0
- quant1x-0.7.9.dev0/tests/print_blocks.rs +23 -0
- quant1x-0.7.9.dev0/tests/tdd-all.cpp +422 -0
- quant1x-0.7.9.dev0/tests/tdd-asio.cpp +681 -0
- quant1x-0.7.9.dev0/tests/tdd-backtest-ashare.cpp +660 -0
- quant1x-0.7.9.dev0/tests/tdd-backtest-order.cpp +64 -0
- quant1x-0.7.9.dev0/tests/tdd-backtest-release.cpp +151 -0
- quant1x-0.7.9.dev0/tests/tdd-backtest-result-compat.cpp +42 -0
- quant1x-0.7.9.dev0/tests/tdd-backtest-roundtrip-extra.cpp +73 -0
- quant1x-0.7.9.dev0/tests/tdd-backtest-roundtrip.cpp +54 -0
- quant1x-0.7.9.dev0/tests/tdd-calendar.cpp +35 -0
- quant1x-0.7.9.dev0/tests/tdd-charsets.cpp +158 -0
- quant1x-0.7.9.dev0/tests/tdd-chips.cpp +657 -0
- quant1x-0.7.9.dev0/tests/tdd-config.cpp +131 -0
- quant1x-0.7.9.dev0/tests/tdd-cron.cpp +200 -0
- quant1x-0.7.9.dev0/tests/tdd-dataframe-data.cpp +1001 -0
- quant1x-0.7.9.dev0/tests/tdd-dataframe-ewm.cpp +39 -0
- quant1x-0.7.9.dev0/tests/tdd-dataframe-release.cpp +423 -0
- quant1x-0.7.9.dev0/tests/tdd-datasets.cpp +733 -0
- quant1x-0.7.9.dev0/tests/tdd-encoding-csv.cpp +214 -0
- quant1x-0.7.9.dev0/tests/tdd-encoding-json.cpp +193 -0
- quant1x-0.7.9.dev0/tests/tdd-error.cpp +15 -0
- quant1x-0.7.9.dev0/tests/tdd-f10-capital.cpp +25 -0
- quant1x-0.7.9.dev0/tests/tdd-f10-margin-trading.cpp +13 -0
- quant1x-0.7.9.dev0/tests/tdd-f10-notices.cpp +42 -0
- quant1x-0.7.9.dev0/tests/tdd-f10-safety-score.cpp +264 -0
- quant1x-0.7.9.dev0/tests/tdd-filelock.cpp +33 -0
- quant1x-0.7.9.dev0/tests/tdd-formula.cpp +983 -0
- quant1x-0.7.9.dev0/tests/tdd-history.cpp +161 -0
- quant1x-0.7.9.dev0/tests/tdd-homedir.cpp +7 -0
- quant1x-0.7.9.dev0/tests/tdd-http.cpp +82 -0
- quant1x-0.7.9.dev0/tests/tdd-iconv.cpp +33 -0
- quant1x-0.7.9.dev0/tests/tdd-json.cpp +23 -0
- quant1x-0.7.9.dev0/tests/tdd-klines.cpp +61 -0
- quant1x-0.7.9.dev0/tests/tdd-lazy-log.cpp +104 -0
- quant1x-0.7.9.dev0/tests/tdd-level1-detect-server.cpp +240 -0
- quant1x-0.7.9.dev0/tests/tdd-level1-encoding.cpp +46 -0
- quant1x-0.7.9.dev0/tests/tdd-level1.cpp +307 -0
- quant1x-0.7.9.dev0/tests/tdd-linear-regression.cpp +79 -0
- quant1x-0.7.9.dev0/tests/tdd-logger-dist.cpp +61 -0
- quant1x-0.7.9.dev0/tests/tdd-logger.cpp +121 -0
- quant1x-0.7.9.dev0/tests/tdd-number-range.cpp +159 -0
- quant1x-0.7.9.dev0/tests/tdd-patterns-wave-release.cpp +149 -0
- quant1x-0.7.9.dev0/tests/tdd-peaks.cpp +542 -0
- quant1x-0.7.9.dev0/tests/tdd-rolling.cpp +297 -0
- quant1x-0.7.9.dev0/tests/tdd-rules.cpp +44 -0
- quant1x-0.7.9.dev0/tests/tdd-series.cpp +682 -0
- quant1x-0.7.9.dev0/tests/tdd-session.cpp +88 -0
- quant1x-0.7.9.dev0/tests/tdd-snapshot.cpp +450 -0
- quant1x-0.7.9.dev0/tests/tdd-std-util.cpp +8 -0
- quant1x-0.7.9.dev0/tests/tdd-strategies.cpp +686 -0
- quant1x-0.7.9.dev0/tests/tdd-strings.cpp +146 -0
- quant1x-0.7.9.dev0/tests/tdd-ta-dbscan.cpp +299 -0
- quant1x-0.7.9.dev0/tests/tdd-ta-ma.cpp +3 -0
- quant1x-0.7.9.dev0/tests/tdd-ta.cpp +105 -0
- quant1x-0.7.9.dev0/tests/tdd-template.cpp +84 -0
- quant1x-0.7.9.dev0/tests/tdd-tick.cpp +375 -0
- quant1x-0.7.9.dev0/tests/tdd-times.cpp +17 -0
- quant1x-0.7.9.dev0/tests/tdd-timestamp.cpp +166 -0
- quant1x-0.7.9.dev0/tests/tdd-touch.cpp +22 -0
- quant1x-0.7.9.dev0/tests/tdd-trader-order.cpp +57 -0
- quant1x-0.7.9.dev0/tests/tdd-trader-price.cpp +17 -0
- quant1x-0.7.9.dev0/tests/tdd-waves.cpp +76 -0
- quant1x-0.7.9.dev0/tests/tdd-xdxr.cpp +163 -0
- quant1x-0.7.9.dev0/tests/tdd-yaml-deserialize-config.cpp +18 -0
- quant1x-0.7.9.dev0/tests/tdd-yaml-deserialize.cpp +26 -0
- quant1x-0.7.9.dev0/tests/test-benchmark.cpp +23 -0
- quant1x-0.7.9.dev0/tests/test-calender.cpp +463 -0
- quant1x-0.7.9.dev0/tests/test-crash.cpp +23 -0
- quant1x-0.7.9.dev0/tests/test-iconv.cpp +141 -0
- quant1x-0.7.9.dev0/tests/test-mmap.h +17 -0
- quant1x-0.7.9.dev0/tests/test-multibar.cpp +40 -0
- quant1x-0.7.9.dev0/tests/test-progressbar.cpp +284 -0
- quant1x-0.7.9.dev0/tests/test-ringbuffer.cpp +71 -0
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/tests/test_cache.py +51 -48
- quant1x-0.7.9.dev0/tests/test_calendar_marker.py +47 -0
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/tests/test_connection_pool.py +77 -73
- quant1x-0.7.9.dev0/tests/test_fp_growth.cpp +78 -0
- quant1x-0.7.9.dev0/tests/test_go_strings_port.cpp +134 -0
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/tests/test_margin_trading.py +25 -22
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/tests/test_notice.py +56 -53
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/tests/test_real_kline.py +57 -53
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/tests/test_safety_score.py +32 -29
- quant1x-0.7.9.dev0/tests/test_security_quote_implicit_spread.cpp +74 -0
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/tests/test_share_holder.py +64 -61
- quant1x-0.7.9.dev0/tests/test_timestamp.cpp +166 -0
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/tests/test_trans.py +141 -137
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/tests/test_xdxr.py +88 -68
- quant1x-0.7.9.dev0/tools/mimalloc_check.cpp +58 -0
- quant1x-0.7.9.dev0/tools/tail/main.go +538 -0
- quant1x-0.7.9.dev0/tools/vyukov_perf.rs +80 -0
- quant1x-0.7.9.dev0/tools/vyukov_runner.rs +89 -0
- quant1x-0.7.9.dev0/user/no0.cpp +73 -0
- quant1x-0.7.9.dev0/user/no0.h +58 -0
- quant1x-0.7.9.dev0/user/strategy-no0.cpp +233 -0
- quant1x-0.7.9.dev0/user/strategy-no0.h +55 -0
- quant1x-0.7.9.dev0/vcpkg.json +19 -0
- quant1x-0.7.5/LICENSE +0 -201
- quant1x-0.7.5/quant1x/__init__.py +0 -1
- quant1x-0.7.5/quant1x/cache/__init__.py +0 -9
- quant1x-0.7.5/quant1x/config/__init__.py +0 -28
- quant1x-0.7.5/quant1x/config/config.py +0 -199
- quant1x-0.7.5/quant1x/datasets/__init__.py +0 -22
- quant1x-0.7.5/quant1x/factors/base.py +0 -169
- quant1x-0.7.5/quant1x/formula/__init__.py +0 -4
- quant1x-0.7.5/quant1x/indicators/__init__.py +0 -2
- quant1x-0.7.5/quant1x/level1/__init__.py +0 -3
- quant1x-0.7.5/quant1x/level1/protocol.py +0 -173
- quant1x-0.7.5/quant1x/log/logger.py +0 -63
- quant1x-0.7.5/quant1x/net/__init__.py +0 -2
- quant1x-0.7.5/quant1x/numerics.py +0 -58
- quant1x-0.7.5/quant1x/std/time.py +0 -40
- quant1x-0.7.5/quant1x/system.py +0 -141
- quant1x-0.7.5/quant1x/util/__init__.py +0 -4
- quant1x-0.7.5/quant1x.egg-info/SOURCES.txt +0 -97
- quant1x-0.7.5/setup.py +0 -74
- quant1x-0.7.5/tests/test_handshake.py +0 -94
- quant1x-0.7.5/tests/test_kline.py +0 -194
- quant1x-0.7.5/tests/test_protocol_fixtures.py +0 -35
- quant1x-0.7.5/tests/test_protocol_kline.py +0 -220
- quant1x-0.7.5/tests/test_protocol_real_network.py +0 -52
- {quant1x-0.7.5/quant1x/encoding → quant1x-0.7.9.dev0/quant1x/cli}/__init__.py +0 -0
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/quant1x.egg-info/dependency_links.txt +0 -0
- {quant1x-0.7.5 → quant1x-0.7.9.dev0}/quant1x.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
BasedOnStyle: Google
|
|
2
|
+
AccessModifierOffset: -4
|
|
3
|
+
AlignAfterOpenBracket: Align
|
|
4
|
+
AlignConsecutiveAssignments: true
|
|
5
|
+
AlignConsecutiveDeclarations: true
|
|
6
|
+
AlignEscapedNewlines: Left
|
|
7
|
+
AlignOperands: true
|
|
8
|
+
AlignTrailingComments: true
|
|
9
|
+
AllowAllArgumentsOnNextLine: true
|
|
10
|
+
AllowAllParametersOfDeclarationOnNextLine: true
|
|
11
|
+
AllowShortBlocksOnASingleLine: false
|
|
12
|
+
AllowShortCaseLabelsOnASingleLine: false
|
|
13
|
+
AllowShortFunctionsOnASingleLine: InlineOnly
|
|
14
|
+
AllowShortIfStatementsOnASingleLine: false
|
|
15
|
+
AllowShortLoopsOnASingleLine: false
|
|
16
|
+
AlwaysBreakAfterDefinitionReturnType: None
|
|
17
|
+
AlwaysBreakAfterReturnType: None
|
|
18
|
+
AlwaysBreakBeforeMultilineStrings: false
|
|
19
|
+
AlwaysBreakTemplateDeclarations: Yes
|
|
20
|
+
BinPackArguments: false
|
|
21
|
+
BinPackParameters: false
|
|
22
|
+
BraceWrapping:
|
|
23
|
+
AfterClass: true
|
|
24
|
+
AfterControlStatement: Never
|
|
25
|
+
AfterEnum: true
|
|
26
|
+
AfterFunction: true
|
|
27
|
+
AfterNamespace: false
|
|
28
|
+
AfterObjCDeclaration: false
|
|
29
|
+
AfterStruct: true
|
|
30
|
+
AfterUnion: true
|
|
31
|
+
BeforeElse: true
|
|
32
|
+
IndentBraces: false
|
|
33
|
+
SplitEmptyFunction: true
|
|
34
|
+
SplitEmptyRecord: true
|
|
35
|
+
SplitEmptyNamespace: true
|
|
36
|
+
BreakBeforeBinaryOperators: None
|
|
37
|
+
BreakBeforeTernaryOperators: true
|
|
38
|
+
BreakConstructorInitializers: BeforeComma
|
|
39
|
+
ColumnLimit: 120
|
|
40
|
+
CommentPragmas: '^ IWYU pragma:'
|
|
41
|
+
CompactNamespaces: false
|
|
42
|
+
ConstructorInitializerIndentWidth: 4
|
|
43
|
+
ContinuationIndentWidth: 4
|
|
44
|
+
Cpp11BracedListStyle: true
|
|
45
|
+
DerivePointerAlignment: false
|
|
46
|
+
DisableFormat: false
|
|
47
|
+
ExperimentalAutoDetectBinPacking: false
|
|
48
|
+
FixNamespaceComments: true
|
|
49
|
+
ForEachMacros:
|
|
50
|
+
- foreach
|
|
51
|
+
- qForeach
|
|
52
|
+
IncludeCategories:
|
|
53
|
+
- Regex: '^<.*\.h>'
|
|
54
|
+
Priority: 1
|
|
55
|
+
- Regex: '^<.*'
|
|
56
|
+
Priority: 2
|
|
57
|
+
- Regex: '.*'
|
|
58
|
+
Priority: 3
|
|
59
|
+
IncludeIsMainRegex: '(test|main)\.cpp'
|
|
60
|
+
IndentCaseLabels: true
|
|
61
|
+
IndentWidth: 4
|
|
62
|
+
IndentWrappedFunctionNames: false
|
|
63
|
+
JavaScriptQuotes: Leave
|
|
64
|
+
#JavaScriptRegExp: false
|
|
65
|
+
KeepEmptyLinesAtTheStartOfBlocks: true
|
|
66
|
+
MacroBlockBegin: ''
|
|
67
|
+
MacroBlockEnd: ''
|
|
68
|
+
MaxEmptyLinesToKeep: 1
|
|
69
|
+
NamespaceIndentation: All # namespace 内部内容也缩进
|
|
70
|
+
PenaltyBreakAssignment: 40
|
|
71
|
+
PenaltyBreakBeforeFirstCallParameter: 19
|
|
72
|
+
PenaltyBreakComment: 300
|
|
73
|
+
PenaltyBreakFirstLessLess: 120
|
|
74
|
+
PenaltyBreakString: 1000
|
|
75
|
+
PenaltyExcessCharacter: 1000000
|
|
76
|
+
PenaltyReturnTypeOnItsOwnLine: 60
|
|
77
|
+
PointerAlignment: Right
|
|
78
|
+
ReflowComments: true
|
|
79
|
+
SortIncludes: true
|
|
80
|
+
SortUsingDeclarations: true
|
|
81
|
+
SpaceAfterCStyleCast: false
|
|
82
|
+
SpaceAfterLogicalNot: false
|
|
83
|
+
SpaceAfterTemplateKeyword: true
|
|
84
|
+
SpaceBeforeAssignmentOperators: true
|
|
85
|
+
SpaceBeforeCpp11BracedList: false
|
|
86
|
+
#SpaceBeforeCtorColon: true
|
|
87
|
+
SpaceBeforeInheritanceColon: true
|
|
88
|
+
SpaceBeforeParens: ControlStatements
|
|
89
|
+
SpaceBeforeRangeBasedForLoopColon: true
|
|
90
|
+
SpaceInEmptyParentheses: false
|
|
91
|
+
SpacesBeforeTrailingComments: 2
|
|
92
|
+
SpacesInAngles: false
|
|
93
|
+
SpacesInContainerLiterals: false
|
|
94
|
+
SpacesInCStyleCastParentheses: false
|
|
95
|
+
SpacesInParentheses: false
|
|
96
|
+
SpacesInSquareBrackets: false
|
|
97
|
+
Standard: c++20
|
|
98
|
+
TabWidth: 4
|
|
99
|
+
UseTab: Never
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
# Generated from CLion Inspection settings
|
|
2
|
+
---
|
|
3
|
+
Checks: '-*,
|
|
4
|
+
bugprone-argument-comment,
|
|
5
|
+
bugprone-assert-side-effect,
|
|
6
|
+
bugprone-bad-signal-to-kill-thread,
|
|
7
|
+
bugprone-branch-clone,
|
|
8
|
+
bugprone-copy-constructor-init,
|
|
9
|
+
bugprone-dangling-handle,
|
|
10
|
+
bugprone-dynamic-static-initializers,
|
|
11
|
+
bugprone-fold-init-type,
|
|
12
|
+
bugprone-forward-declaration-namespace,
|
|
13
|
+
bugprone-forwarding-reference-overload,
|
|
14
|
+
bugprone-inaccurate-erase,
|
|
15
|
+
bugprone-incorrect-roundings,
|
|
16
|
+
bugprone-integer-division,
|
|
17
|
+
bugprone-lambda-function-name,
|
|
18
|
+
bugprone-macro-parentheses,
|
|
19
|
+
bugprone-macro-repeated-side-effects,
|
|
20
|
+
bugprone-misplaced-operator-in-strlen-in-alloc,
|
|
21
|
+
bugprone-misplaced-pointer-arithmetic-in-alloc,
|
|
22
|
+
bugprone-misplaced-widening-cast,
|
|
23
|
+
bugprone-move-forwarding-reference,
|
|
24
|
+
bugprone-multiple-statement-macro,
|
|
25
|
+
bugprone-no-escape,
|
|
26
|
+
bugprone-parent-virtual-call,
|
|
27
|
+
bugprone-posix-return,
|
|
28
|
+
bugprone-reserved-identifier,
|
|
29
|
+
bugprone-sizeof-container,
|
|
30
|
+
bugprone-sizeof-expression,
|
|
31
|
+
bugprone-spuriously-wake-up-functions,
|
|
32
|
+
bugprone-string-constructor,
|
|
33
|
+
bugprone-string-integer-assignment,
|
|
34
|
+
bugprone-string-literal-with-embedded-nul,
|
|
35
|
+
bugprone-suspicious-enum-usage,
|
|
36
|
+
bugprone-suspicious-include,
|
|
37
|
+
bugprone-suspicious-memset-usage,
|
|
38
|
+
bugprone-suspicious-missing-comma,
|
|
39
|
+
bugprone-suspicious-semicolon,
|
|
40
|
+
bugprone-suspicious-string-compare,
|
|
41
|
+
bugprone-suspicious-memory-comparison,
|
|
42
|
+
bugprone-suspicious-realloc-usage,
|
|
43
|
+
bugprone-swapped-arguments,
|
|
44
|
+
bugprone-terminating-continue,
|
|
45
|
+
bugprone-throw-keyword-missing,
|
|
46
|
+
bugprone-too-small-loop-variable,
|
|
47
|
+
bugprone-undefined-memory-manipulation,
|
|
48
|
+
bugprone-undelegated-constructor,
|
|
49
|
+
bugprone-unhandled-self-assignment,
|
|
50
|
+
bugprone-unused-raii,
|
|
51
|
+
bugprone-unused-return-value,
|
|
52
|
+
bugprone-use-after-move,
|
|
53
|
+
bugprone-virtual-near-miss,
|
|
54
|
+
cert-dcl21-cpp,
|
|
55
|
+
cert-dcl58-cpp,
|
|
56
|
+
cert-err34-c,
|
|
57
|
+
cert-err52-cpp,
|
|
58
|
+
cert-err60-cpp,
|
|
59
|
+
cert-flp30-c,
|
|
60
|
+
cert-msc50-cpp,
|
|
61
|
+
cert-msc51-cpp,
|
|
62
|
+
cert-str34-c,
|
|
63
|
+
cppcoreguidelines-interfaces-global-init,
|
|
64
|
+
cppcoreguidelines-narrowing-conversions,
|
|
65
|
+
cppcoreguidelines-pro-type-member-init,
|
|
66
|
+
cppcoreguidelines-pro-type-static-cast-downcast,
|
|
67
|
+
cppcoreguidelines-slicing,
|
|
68
|
+
google-default-arguments,
|
|
69
|
+
google-explicit-constructor,
|
|
70
|
+
google-runtime-operator,
|
|
71
|
+
hicpp-exception-baseclass,
|
|
72
|
+
hicpp-multiway-paths-covered,
|
|
73
|
+
misc-misplaced-const,
|
|
74
|
+
misc-new-delete-overloads,
|
|
75
|
+
misc-no-recursion,
|
|
76
|
+
misc-non-copyable-objects,
|
|
77
|
+
misc-throw-by-value-catch-by-reference,
|
|
78
|
+
misc-unconventional-assign-operator,
|
|
79
|
+
misc-uniqueptr-reset-release,
|
|
80
|
+
modernize-avoid-bind,
|
|
81
|
+
modernize-concat-nested-namespaces,
|
|
82
|
+
modernize-deprecated-headers,
|
|
83
|
+
modernize-deprecated-ios-base-aliases,
|
|
84
|
+
modernize-loop-convert,
|
|
85
|
+
modernize-make-shared,
|
|
86
|
+
modernize-make-unique,
|
|
87
|
+
modernize-pass-by-value,
|
|
88
|
+
modernize-raw-string-literal,
|
|
89
|
+
modernize-redundant-void-arg,
|
|
90
|
+
modernize-replace-auto-ptr,
|
|
91
|
+
modernize-replace-disallow-copy-and-assign-macro,
|
|
92
|
+
modernize-replace-random-shuffle,
|
|
93
|
+
modernize-return-braced-init-list,
|
|
94
|
+
modernize-shrink-to-fit,
|
|
95
|
+
modernize-unary-static-assert,
|
|
96
|
+
modernize-use-auto,
|
|
97
|
+
modernize-use-bool-literals,
|
|
98
|
+
modernize-use-emplace,
|
|
99
|
+
modernize-use-equals-default,
|
|
100
|
+
modernize-use-equals-delete,
|
|
101
|
+
modernize-use-nodiscard,
|
|
102
|
+
modernize-use-noexcept,
|
|
103
|
+
modernize-use-nullptr,
|
|
104
|
+
modernize-use-override,
|
|
105
|
+
modernize-use-transparent-functors,
|
|
106
|
+
modernize-use-uncaught-exceptions,
|
|
107
|
+
mpi-buffer-deref,
|
|
108
|
+
mpi-type-mismatch,
|
|
109
|
+
openmp-use-default-none,
|
|
110
|
+
performance-faster-string-find,
|
|
111
|
+
performance-for-range-copy,
|
|
112
|
+
performance-implicit-conversion-in-loop,
|
|
113
|
+
performance-inefficient-algorithm,
|
|
114
|
+
performance-inefficient-string-concatenation,
|
|
115
|
+
performance-inefficient-vector-operation,
|
|
116
|
+
performance-move-const-arg,
|
|
117
|
+
performance-move-constructor-init,
|
|
118
|
+
performance-no-automatic-move,
|
|
119
|
+
performance-noexcept-move-constructor,
|
|
120
|
+
performance-trivially-destructible,
|
|
121
|
+
performance-type-promotion-in-math-fn,
|
|
122
|
+
performance-unnecessary-copy-initialization,
|
|
123
|
+
performance-unnecessary-value-param,
|
|
124
|
+
portability-simd-intrinsics,
|
|
125
|
+
readability-avoid-const-params-in-decls,
|
|
126
|
+
readability-const-return-type,
|
|
127
|
+
readability-container-size-empty,
|
|
128
|
+
readability-convert-member-functions-to-static,
|
|
129
|
+
readability-delete-null-pointer,
|
|
130
|
+
readability-deleted-default,
|
|
131
|
+
readability-inconsistent-declaration-parameter-name,
|
|
132
|
+
readability-make-member-function-const,
|
|
133
|
+
readability-misleading-indentation,
|
|
134
|
+
readability-misplaced-array-index,
|
|
135
|
+
readability-non-const-parameter,
|
|
136
|
+
readability-redundant-control-flow,
|
|
137
|
+
readability-redundant-declaration,
|
|
138
|
+
readability-redundant-function-ptr-dereference,
|
|
139
|
+
readability-redundant-smartptr-get,
|
|
140
|
+
readability-redundant-string-cstr,
|
|
141
|
+
readability-redundant-string-init,
|
|
142
|
+
readability-simplify-subscript-expr,
|
|
143
|
+
readability-static-accessed-through-instance,
|
|
144
|
+
readability-static-definition-in-anonymous-namespace,
|
|
145
|
+
readability-string-compare,
|
|
146
|
+
readability-uniqueptr-delete-release,
|
|
147
|
+
readability-use-anyofallof'
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# 顶层配置(对所有文件生效)
|
|
2
|
+
root = true
|
|
3
|
+
|
|
4
|
+
[*] # 所有文件
|
|
5
|
+
charset = utf-8 # 编码
|
|
6
|
+
end_of_line = lf # 换行符(Linux/macOS风格)
|
|
7
|
+
insert_final_newline = true # 文件末尾保留空行
|
|
8
|
+
trim_trailing_whitespace = true # 删除行尾空格
|
|
9
|
+
|
|
10
|
+
# 针对 Windows 批处理文件的配置
|
|
11
|
+
[*.{bat,cmd}]
|
|
12
|
+
charset = gbk # 编码
|
|
13
|
+
end_of_line = crlf # 强制使用 CRLF(Windows 风格)
|
|
14
|
+
trim_trailing_whitespace = false # 避免破坏批处理命令中的空格
|
|
15
|
+
insert_final_newline = true # 文件末尾保留空行(可选)
|
|
16
|
+
|
|
17
|
+
# Python 文件特定配置
|
|
18
|
+
[*.py]
|
|
19
|
+
indent_style = space # 缩进风格:空格
|
|
20
|
+
indent_size = 4 # 缩进大小:4空格(符合PEP 8)
|
|
21
|
+
max_line_length = 120 # 行长度限制(可自定义)
|
|
22
|
+
|
|
23
|
+
# 测试文件可能允许稍长行宽
|
|
24
|
+
[*/tests/*.py]
|
|
25
|
+
max_line_length = 160
|
|
26
|
+
|
|
27
|
+
# 配置文件(如YAML/JSON)
|
|
28
|
+
[*.{yml,yaml,json}]
|
|
29
|
+
indent_style = space
|
|
30
|
+
indent_size = 2 # 通常为2空格
|
|
31
|
+
|
|
32
|
+
# Markdown文件
|
|
33
|
+
[*.md]
|
|
34
|
+
trim_trailing_whitespace = false # 允许行尾空格(用于换行)
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
*.bat text working-tree-encoding=GBK eol=crlf
|
|
2
|
+
*.py text eol=lf
|
|
3
|
+
*.go text eol=lf
|
|
4
|
+
*.rs text eol=lf
|
|
5
|
+
*.toml text eol=lf
|
|
6
|
+
*.md text eol=lf
|
|
7
|
+
*.yml text eol=lf
|
|
8
|
+
*.yaml text eol=lf
|
|
9
|
+
*.cmake text eol=lf
|
|
10
|
+
*.cpp text eol=lf
|
|
11
|
+
*.h text eol=lf
|
|
12
|
+
*.proto text eol=lf
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# Binaries for programs and plugins
|
|
2
|
+
*.exe
|
|
3
|
+
*.exe~
|
|
4
|
+
*.dll
|
|
5
|
+
*.so
|
|
6
|
+
*.dylib
|
|
7
|
+
|
|
8
|
+
# Test binary, built with `go test -c`
|
|
9
|
+
*.test
|
|
10
|
+
|
|
11
|
+
# Output of the go coverage tool, specifically when used with LiteIDE
|
|
12
|
+
*.out
|
|
13
|
+
|
|
14
|
+
*.csv
|
|
15
|
+
__pycache__/
|
|
16
|
+
.eggs/
|
|
17
|
+
build/
|
|
18
|
+
dist/
|
|
19
|
+
*.egg-info/
|
|
20
|
+
|
|
21
|
+
*.png
|
|
22
|
+
*.pkl
|
|
23
|
+
|
|
24
|
+
#visual studio
|
|
25
|
+
.vs/
|
|
26
|
+
out/
|
|
27
|
+
|
|
28
|
+
# CMake specific
|
|
29
|
+
*build*/
|
|
30
|
+
cmake-build*/
|
|
31
|
+
|
|
32
|
+
# vcpkg specific
|
|
33
|
+
vcpkg_installed/
|
|
34
|
+
|
|
35
|
+
# Rust specific
|
|
36
|
+
target/
|
|
37
|
+
|
|
38
|
+
# CLion
|
|
39
|
+
.cache/
|
|
40
|
+
|
|
41
|
+
.env
|
|
42
|
+
|
|
43
|
+
# vscode
|
|
44
|
+
.vscode/launch.json
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
{
|
|
2
|
+
"testMate.cpp.test.advancedExecutables": [
|
|
3
|
+
{
|
|
4
|
+
// macOS / Linux: executables produced by CMake usually have no extension
|
|
5
|
+
"pattern": "build/tests/catch2-*",
|
|
6
|
+
"cwd": "${workspaceFolder}",
|
|
7
|
+
"env": {}
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
// Windows: keep the existing .exe pattern
|
|
11
|
+
"pattern": "build/tests/catch2-*.exe",
|
|
12
|
+
"cwd": "${workspaceFolder}",
|
|
13
|
+
"env": {}
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"testMate.cpp.debug.configTemplate": {
|
|
17
|
+
"type": "${assert:testMate.cpp.debug.configTemplate doesn't support this platform.}",
|
|
18
|
+
"linux": {
|
|
19
|
+
"type": "cppdbg",
|
|
20
|
+
"MIMode": "gdb"
|
|
21
|
+
},
|
|
22
|
+
"darwin": {
|
|
23
|
+
"type": "lldb",
|
|
24
|
+
"env": {
|
|
25
|
+
"ASAN_OPTIONS": "detect_leaks=1",
|
|
26
|
+
"LSAN_OPTIONS": "suppressions=leaksanitizer.supp",
|
|
27
|
+
"DYLD_LIBRARY_PATH": "${command:cmake.buildDirectory}/lib"
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
"win32": {
|
|
31
|
+
"type": "cppdbg"
|
|
32
|
+
},
|
|
33
|
+
"preLaunchTask": "CMake: build",
|
|
34
|
+
"program": "${exec}",
|
|
35
|
+
"args": "${argsArray}",
|
|
36
|
+
"cwd": "${command:cmake.launchTargetDirectory}",
|
|
37
|
+
"sourceFileMap": "${sourceFileMapObj}",
|
|
38
|
+
},
|
|
39
|
+
"testMate.cpp.debug.noThrow": false,
|
|
40
|
+
"python.analysis.autoImportCompletions": true,
|
|
41
|
+
"python.envFile": "${workspaceFolder}/.env",
|
|
42
|
+
"cmake.buildDirectory": "${workspaceFolder}/build",
|
|
43
|
+
"cmake.configureSettings": {
|
|
44
|
+
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
|
|
45
|
+
"CMAKE_BUILD_TYPE": "Debug"
|
|
46
|
+
},
|
|
47
|
+
"cmake.buildArgs": [
|
|
48
|
+
"--config",
|
|
49
|
+
"Debug"
|
|
50
|
+
],
|
|
51
|
+
"cmake.launchBehavior": "reuseTerminal",
|
|
52
|
+
"terminal.integrated.fontFamily": "'FiraCode Nerd Font Mono', 'Courier New', monospace",
|
|
53
|
+
"debug.console.fontFamily": "'Source Code Pro', 'Courier New', monospace",
|
|
54
|
+
"editor.inlayHints.fontFamily": "",
|
|
55
|
+
"editor.fontVariations": false,
|
|
56
|
+
"editor.fontFamily": "'Source Code Pro', 'Courier New', monospace",
|
|
57
|
+
"editor.inlineSuggest.fontFamily": "'Source Code Pro', 'Courier New', monospace",
|
|
58
|
+
"chat.editor.fontFamily": "default",
|
|
59
|
+
"chat.fontFamily": "default",
|
|
60
|
+
"terminal.integrated.scrollback": 10000,
|
|
61
|
+
"go.diagnostic.vulncheck": "Imports",
|
|
62
|
+
"code-runner.executorMap": {
|
|
63
|
+
"python": "python scripts/run_module.py $fullFileName"
|
|
64
|
+
},
|
|
65
|
+
"code-runner.runInTerminal": true,
|
|
66
|
+
}
|