{"id":19282696,"url":"https://github.com/tensorchen/quant","last_synced_at":"2025-08-24T19:20:30.480Z","repository":{"id":225457427,"uuid":"765999054","full_name":"tensorchen/quant","owner":"tensorchen","description":null,"archived":false,"fork":false,"pushed_at":"2024-04-13T09:50:17.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-09T07:04:06.253Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/tensorchen.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-02T04:10:31.000Z","updated_at":"2024-03-02T06:40:16.000Z","dependencies_parsed_at":"2024-06-21T13:07:12.964Z","dependency_job_id":"1b624223-680f-4c49-a3cf-b69eedfb6c6f","html_url":"https://github.com/tensorchen/quant","commit_stats":null,"previous_names":["tensorchen/quant"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tensorchen/quant","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tensorchen%2Fquant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tensorchen%2Fquant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tensorchen%2Fquant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tensorchen%2Fquant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tensorchen","download_url":"https://codeload.github.com/tensorchen/quant/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tensorchen%2Fquant/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271930760,"owners_count":24845475,"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","status":"online","status_checked_at":"2025-08-24T02:00:11.135Z","response_time":111,"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-09T21:28:00.140Z","updated_at":"2025-08-24T19:20:30.435Z","avatar_url":"https://github.com/tensorchen.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# quant\n\n## 安装\n\n```bash\ngo install github.com/tensorchen/quant/cmd/quant@latest\n```\n\n## 配置\n\n```yaml\ntquant:\n  port:\n  token:\n\nlong_bridge:\n  app_key:\n  app_secret:\n  access_token:\n\ndiscord:\n  id:\n  token:\n```\n\n## 使用\n\n| 字段                             | 解释   | 备注 |\n|--------------------------------|------|----|\n| token                          | 密钥   |    |\n| trade.ticker                   | 股票代码 |    |\n| trade.exchange                 | 交易所  |    |\n| trade.strategy.order.action    | 交易操作 |    |\n| trade.strategy.order.contracts | 交易数量 |    |\n\n```json\n{\n  \"token\": \"{{token}}\",\n  \"trade\": {\n    \"ticker\": \"{{ticker}}\",\n    \"exchange\":\"{{exchange}}\",\n    \"strategy\": {\n      \"order\": {\n        \"action\": \"{{strategy.order.action}}\",\n        \"contracts\": \"{{strategy.order.contracts}}\"\n      }\n    }\n  }\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftensorchen%2Fquant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftensorchen%2Fquant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftensorchen%2Fquant/lists"}