{"id":45447485,"url":"https://github.com/iamjinlei/go-tachart","last_synced_at":"2026-02-22T04:05:13.900Z","repository":{"id":44455636,"uuid":"373533425","full_name":"iamjinlei/go-tachart","owner":"iamjinlei","description":"Candlestick chart generator (with event mark and TA indicator) using go-echarts","archived":false,"fork":false,"pushed_at":"2022-07-12T11:09:30.000Z","size":5681,"stargazers_count":46,"open_issues_count":5,"forks_count":6,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-06-19T00:33:11.809Z","etag":null,"topics":["candlestick-chart","echarts","ta-charts","technical-analysis"],"latest_commit_sha":null,"homepage":"","language":"Go","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/iamjinlei.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":"2021-06-03T14:19:44.000Z","updated_at":"2024-06-07T06:41:39.000Z","dependencies_parsed_at":"2022-09-26T20:01:29.942Z","dependency_job_id":null,"html_url":"https://github.com/iamjinlei/go-tachart","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/iamjinlei/go-tachart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamjinlei%2Fgo-tachart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamjinlei%2Fgo-tachart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamjinlei%2Fgo-tachart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamjinlei%2Fgo-tachart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iamjinlei","download_url":"https://codeload.github.com/iamjinlei/go-tachart/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamjinlei%2Fgo-tachart/sbom","scorecard":{"id":477722,"data":{"date":"2025-08-11","repo":{"name":"github.com/iamjinlei/go-tachart","commit":"12052a3368c80b0f0934eab7c7e0a29568b2ac82"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/29 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-19T15:46:53.235Z","repository_id":44455636,"created_at":"2025-08-19T15:46:53.235Z","updated_at":"2025-08-19T15:46:53.235Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29704420,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-22T03:17:42.375Z","status":"ssl_error","status_checked_at":"2026-02-22T03:17:31.622Z","response_time":110,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["candlestick-chart","echarts","ta-charts","technical-analysis"],"created_at":"2026-02-22T04:05:13.850Z","updated_at":"2026-02-22T04:05:13.895Z","avatar_url":"https://github.com/iamjinlei.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n\t\u003cimg src=\"https://user-images.githubusercontent.com/19553554/52535979-c0d0e680-2d8f-11e9-85c8-2e9f659e7c6f.png\" width=300 height=300 /\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003ego-tachart\u003c/h1\u003e\n\n\u003c!--\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://travis-ci.org/go-echarts/go-echarts\"\u003e\n        \u003cimg src=\"https://travis-ci.org/go-echarts/go-echarts.svg?branch=master\" alt=\"Build Status\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://goreportcard.com/report/github.com/go-echarts/go-echarts\"\u003e\n        \u003cimg src=\"https://goreportcard.com/badge/github.com/go-echarts/go-echarts\" alt=\"Go Report Card\"\u003e\n    \u003c/a\u003e\n\t\u003ca href=\"https://github.com/go-echarts/go-echarts/pulls\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat\" alt=\"Contributions welcome\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://opensource.org/licenses/MIT\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/License-MIT-brightgreen.svg\" alt=\"MIT License\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://pkg.go.dev/github.com/go-echarts/go-echarts/v2\"\u003e\n        \u003cimg src=\"https://godoc.org/github.com/go-echarts/go-echarts?status.svg\" alt=\"GoDoc\"\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n--\u003e\n\nThis is a fork and extension to the beautiful [go-echarts](https://github.com/go-echarts/go-echarts) project.\nSome of the [go-echarts](https://github.com/go-echarts/go-echarts) code is modified to tailor to the needs of TA charts.\nTo keep iteration simple, [go-echarts](https://github.com/go-echarts/go-echarts) code is replicated in this repo.\nThis is still a work-in-progress.\nMore TA chart and event types will be added to support a wide-range of use cases.\n\n### How It Looks Like\n\n#### Candlestick chart with moving average overlay on top\n![Screen Shot 2021-06-08 at 12 05 22 PM](https://user-images.githubusercontent.com/6463139/121121323-f566e700-c851-11eb-9b54-9eb52b0a00d8.png)\n\n\n#### Candlestick chart with moving average overlay on top + additional indicators\n![Screen Shot 2021-06-08 at 12 04 45 PM](https://user-images.githubusercontent.com/6463139/121121350-ff88e580-c851-11eb-8857-8691c2bb7925.png)\n\n\n### Usage\n\nIn this example, a simple chart is created with a few lines of code. A complete code example can be found in the example folder.\n\n```golang\npackage main\n\nimport (\n\t\"github.com/iamjinlei/go-tachart/tachart\"\n)\n\nfunc main() {\n\tcdls := []tachart.Candle{\n\t\t{Label: \"2018/1/24\", O: 2320.26, C: 2320.26, L: 2287.3, H: 2362.94, V: 149092},\n\t\t{Label: \"2018/1/25\", O: 2300, C: 2291.3, L: 2288.26, H: 2308.38, V: 189092},\n\t\t{Label: \"2018/1/28\", O: 2295.35, C: 2346.5, L: 2295.35, H: 2346.92, V: 159034},\n\t\t{Label: \"2018/1/29\", O: 2347.22, C: 2358.98, L: 2337.35, H: 2363.8, V: 249910},\n\t\t{Label: \"2018/1/30\", O: 2360.75, C: 2382.48, L: 2347.89, H: 2383.76, V: 119910},\n\t\t{Label: \"2018/1/31\", O: 2383.43, C: 2385.42, L: 2371.23, H: 2391.82, V: 89940},\n                    ... // To fill more data\n\t\t{Label: \"2018/6/13\", O: 2190.1, C: 2148.35, L: 2126.22, H: 2190.1, V: 239510},\n\t}\n\n\tevents := []tachart.Event{\n\t\t{\n\t\t\tType:        tachart.Short,\n\t\t\tLabel:       cdls[40].Label,\n\t\t\tDescription: \"This is a demo event description. Randomly pick this candle to go short on \" + cdls[40].Label,\n\t\t},\n\t}\n\n\tcfg := tachart.NewConfig().\n\t\tSetWidth(1080).\n\t\tSetHeight(800).\n\t\tAddOverlay(\n\t\t\ttachart.NewSMA(5),\n\t\t\ttachart.NewSMA(20),\n\t\t).\n\t\tAddIndicator(\n\t\t\ttachart.NewMACD(12, 26, 9),\n\t\t).\n\t\tUseRepoAssets() // serving assets file from current repo, avoid network access\n\n\tc := tachart.New(*cfg)\n\tc.GenStatic(cdls, events, \"/Volumes/tmpfs/tmp/kline.html\")\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamjinlei%2Fgo-tachart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiamjinlei%2Fgo-tachart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamjinlei%2Fgo-tachart/lists"}