{"id":13672416,"url":"https://github.com/yutiansut/qaaccount-rs","last_synced_at":"2025-04-12T20:32:44.941Z","repository":{"id":37178006,"uuid":"236689896","full_name":"yutiansut/qaaccount-rs","owner":"yutiansut","description":"rewrite quantaxis in rust / backtest/ trading/ ","archived":false,"fork":false,"pushed_at":"2023-02-04T01:04:32.000Z","size":1654,"stargazers_count":99,"open_issues_count":7,"forks_count":56,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-06T08:35:13.298Z","etag":null,"topics":["quantaxis"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yutiansut.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-01-28T08:32:51.000Z","updated_at":"2025-02-04T11:04:21.000Z","dependencies_parsed_at":"2022-08-17T23:45:36.430Z","dependency_job_id":null,"html_url":"https://github.com/yutiansut/qaaccount-rs","commit_stats":null,"previous_names":["yutiansut/quantaxis-rs"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yutiansut%2Fqaaccount-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yutiansut%2Fqaaccount-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yutiansut%2Fqaaccount-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yutiansut%2Fqaaccount-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yutiansut","download_url":"https://codeload.github.com/yutiansut/qaaccount-rs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248630259,"owners_count":21136405,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["quantaxis"],"created_at":"2024-08-02T09:01:34.905Z","updated_at":"2025-04-12T20:32:42.304Z","avatar_url":"https://github.com/yutiansut.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# QUANTAXIS-RS 这是你没有见过的QUANTAXIS的全新版本\n\n本项目已经迁移至 QUANTAXIS 主项目中  :  github.com/quantaxis/quantaxis\n\n![Rust](https://github.com/yutiansut/quantaxis-rs/workflows/Rust/badge.svg)\n\n## 特性\n- 完整的quantaxis Account/Data/Indicator功能 支持快速的回测\n- 单票分钟线2年回测在500ms\n- 单指标计算在70ns\n- 完整的测试工具，对于每个函数都有完整对应的测试\n- 完整的benchmark工具链\n\n## 兼容性\n\n- 兼容python版本的QUANTAXIS回测\n- 兼容基于QIFI协议的所有项目\n\n\npower by yutiansut/somewheve\n\n2020\n\n\n### update MARKET_PRESET\n```python\n\nimport QUANTAXIS as QA\n\n\nmp = QA.QAARP.MARKET_PRESET()\nfor k,i in mp.table.items():\n    print(f\"\"\"market_preset.insert(\n            \"{k}\".to_string(),\n            CodePreset {{\n                name: \"{i['name']}\".to_string(),\n                unit_table: {int(i['unit_table'])},\n                price_tick: {float(i['price_tick'])},\n                buy_frozen_coeff: {i['buy_frozen_coeff']},\n                sell_frozen_coeff:{i['sell_frozen_coeff']},\n                exchange: \"{i['exchange']}\".to_string(),\n                commission_coeff_peramount: {float(i['commission_coeff_peramount'])},\n                commission_coeff_pervol:{float(i['commission_coeff_pervol'])},\n                commission_coeff_today_peramount: {float(i['commission_coeff_today_peramount'])},\n                commission_coeff_today_pervol: {float(i['commission_coeff_today_pervol'])},\n            }},\n        );\"\"\")\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyutiansut%2Fqaaccount-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyutiansut%2Fqaaccount-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyutiansut%2Fqaaccount-rs/lists"}