{"id":19151738,"url":"https://github.com/zhs007/trdb2py","last_synced_at":"2026-06-16T12:32:20.287Z","repository":{"id":49132618,"uuid":"319575872","full_name":"zhs007/trdb2py","owner":"zhs007","description":"tradingdb2 for python","archived":false,"fork":false,"pushed_at":"2021-06-27T13:47:34.000Z","size":198,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-05-21T17:17:52.799Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zhs007.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":"2020-12-08T08:34:04.000Z","updated_at":"2021-06-27T13:47:11.000Z","dependencies_parsed_at":"2022-09-26T20:30:57.206Z","dependency_job_id":null,"html_url":"https://github.com/zhs007/trdb2py","commit_stats":null,"previous_names":[],"tags_count":114,"template":false,"template_full_name":null,"purl":"pkg:github/zhs007/trdb2py","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhs007%2Ftrdb2py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhs007%2Ftrdb2py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhs007%2Ftrdb2py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhs007%2Ftrdb2py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zhs007","download_url":"https://codeload.github.com/zhs007/trdb2py/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhs007%2Ftrdb2py/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34406820,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-16T02:00:06.860Z","response_time":126,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-09T08:15:34.750Z","updated_at":"2026-06-16T12:32:20.268Z","avatar_url":"https://github.com/zhs007.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# trdb2py\n\n这是 ``tradingdb2`` 的python库，初衷是希望有一个更方便的研究工具，能在 ``jupyter`` 里使用。\n\n大量的运算，都是通过 ``tradingdb2`` 发送给 ``tradingnode2`` 节点进行分布式运算，而 ``tradingdb2`` 负责负载均衡 和 结果缓存，这样就算 ``jupyter`` 有什么问题，也不至于要重新运算。\n\n图形化选择的是 ``plotly`` 。\n\n注意：\n- ``jupyter``运行效率有些低，如果不在研究阶段，建议直接python运行脚本更合适。\n- 如果进行非常大数据量的运算，在``jupyter``里很容易内核挂掉，这种脚本需要自己处理好内存管理，直接python运行脚本更合适。\n- 提供了vscode可用的``devcontainer``，建议用这个配置开发，避免污染本地环境。\n\n# 安装\n\n直接用 ``pip`` 安装即可。\n\n```\npip install trdb2py\n```\n\n# 更新日志\n\n### v0.3\n\n- 需要搭配 ``TradingDB2`` v0.6 以上版本使用。\n\n### v0.2\n\n- 加入更多本地分析功能，不会把所有计算都放云端。\n\n### v0.1\n\n- 实现了基本功能。\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhs007%2Ftrdb2py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzhs007%2Ftrdb2py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhs007%2Ftrdb2py/lists"}