{"id":13843747,"url":"https://github.com/X0Leon/XQuant","last_synced_at":"2025-07-11T19:33:39.044Z","repository":{"id":62590136,"uuid":"67332844","full_name":"X0Leon/XQuant","owner":"X0Leon","description":"Simple backtester for human.","archived":false,"fork":false,"pushed_at":"2017-07-17T14:26:13.000Z","size":342,"stargazers_count":75,"open_issues_count":7,"forks_count":39,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-11-02T05:08:32.596Z","etag":null,"topics":["backtesting","pandas","quant","strategy"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/X0Leon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-09-04T08:00:45.000Z","updated_at":"2023-02-09T22:35:50.000Z","dependencies_parsed_at":"2022-11-04T07:16:30.555Z","dependency_job_id":null,"html_url":"https://github.com/X0Leon/XQuant","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/X0Leon%2FXQuant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/X0Leon%2FXQuant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/X0Leon%2FXQuant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/X0Leon%2FXQuant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/X0Leon","download_url":"https://codeload.github.com/X0Leon/XQuant/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225755126,"owners_count":17519206,"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":["backtesting","pandas","quant","strategy"],"created_at":"2024-08-04T17:02:26.090Z","updated_at":"2024-11-21T15:31:30.143Z","avatar_url":"https://github.com/X0Leon.png","language":"Python","readme":"# XQuant\n\nBacktest frame for equity/futures market with Python 3.x/pandas.\n\nA股市场股票、股指期货、商品期货的量化投资回测框架。当前版本：Version 0.5 (2016/12)\n\n## Dependencies：\n\n* Python 3.x/2.7 (建议3.5及以上)\n* Numpy\n* Pandas\n* Matplotlib\n\n## Install：\n\n* 方式1：python setup.py install\n* 方式2：pip install xquant (推荐)\n\n## Document：\n\n快速入门：[document for xquant](http://www.domuse.com/XQuant/) (适用于v0.5.2及以上版本)\n\nA示例: 参考demo文件夹中的移动双均线策略（Moving Average Cross Strategy）\n\n## Changelog:\n\n2016年12月06日，Version 0.5\n\n* 回测结束强制平仓；可选择回测区间；分品种详细交易记录\n* 更新chart绘图；增加蒙特卡洛模拟历史；增加入场优势率评估\n* 通过config文件控制logger等\n\n2016年11月18日，Version 0.4\n\n* 回测引擎engine模块更加鲁棒和完善，支持滑点和手续费模型\n* 兼容python 2.7并保持一段时间\n* 持续完善finance/visual/utils，尤其是utils模块\n\n2016年9月22日，Version 0.3\n\n* 创建finance模块：回测结果分析和策略评估、金融工具等\n* 创建visual模块：可视化功能，包括回测分析和实时监控\n* 创建utils模块：其他功能，如回测性能分析、并行计算、贝叶斯优化等\n\n2016年9月11日，Version 0.2\n\n* 完整的事件驱动引擎\n* 双均线策略示例\n\n注：非重要的子版本不列出，一般为Bugfix或者小的文本/注释调整\n\n交流：QQ群 518444516\n\nCopyright (c) 2016-2017 X0Leon (Leon Zhang) Email: pku09zl[at]gmail[dot]com\n\n持续活跃更新中，在Version 1.0前不保证API稳定。欢迎讨论、PR和Star!\n","funding_links":[],"categories":["Python (1887)","Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FX0Leon%2FXQuant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FX0Leon%2FXQuant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FX0Leon%2FXQuant/lists"}