{"id":21121477,"url":"https://github.com/oneofone/ta","last_synced_at":"2025-07-08T21:32:50.539Z","repository":{"id":57541972,"uuid":"292627787","full_name":"OneOfOne/ta","owner":"OneOfOne","description":null,"archived":false,"fork":false,"pushed_at":"2022-10-02T20:35:26.000Z","size":126,"stargazers_count":38,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-04T11:25:40.725Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OneOfOne.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"OneOfOne"}},"created_at":"2020-09-03T16:50:16.000Z","updated_at":"2024-05-01T16:28:25.000Z","dependencies_parsed_at":"2022-09-08T23:51:15.305Z","dependency_job_id":null,"html_url":"https://github.com/OneOfOne/ta","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/OneOfOne/ta","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OneOfOne%2Fta","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OneOfOne%2Fta/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OneOfOne%2Fta/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OneOfOne%2Fta/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OneOfOne","download_url":"https://codeload.github.com/OneOfOne/ta/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OneOfOne%2Fta/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264352891,"owners_count":23594989,"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":[],"created_at":"2024-11-20T03:50:46.932Z","updated_at":"2025-07-08T21:32:45.524Z","avatar_url":"https://github.com/OneOfOne.png","language":"Go","funding_links":["https://github.com/sponsors/OneOfOne"],"categories":[],"sub_categories":[],"readme":"# go.oneofone.dev/ta\n\n[![Documentation](https://pkg.go.dev/badge/go.oneofone.dev/ta)](https://pkg.go.dev/go.oneofone.dev/ta@master?tab=doc#pkg-constants)\n[![Testing status](https://github.com/OneOfOne/ta/workflows/testing/badge.svg)](https://github.com/OneOfOne/ta/actions)\n[![Coverage Status](https://coveralls.io/repos/github/OneOfOne/ta/badge.svg?branch=master)](https://coveralls.io/github/OneOfOne/ta?branch=master)\n[![License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)\n[![Go Report Card](https://goreportcard.com/badge/go.oneofone.dev/ta)](https://goreportcard.com/report/go.oneofone.dev/ta)\n![stability-experimental](https://img.shields.io/badge/stability-experimental-orange.svg)\n\nA Go Technical Analysis library, mostly inspired by python's [TA-Lib](https://pypi.org/project/TA-Lib/) and the port by [markcheno](https://github.com/markcheno/go-talib).\nIt Can be used for backtesting or eventually creating strategies for live trading.\n\n## Features\n\n* Tries to be compatible with the python version for testing, however all the functions supports partial updates to help working with live data.\n* Going for a healthy mix of speed and accuracy.\n* Includes option related functions.\n\n## Install\n\n```bash\ngo get -u go.oneofone.dev/ta\n```\n\n## Status: **PRE ALPHA**\n\n* the API is not stable at all\n* Missing a lot of indicators compared to the python version or markcheno's port\n\n## TODO\n\n* Port more functions\n* More testing / benchmarks\n* Stablize the API\n* Documentation\n\n## Example\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\t\"github.com/markcheno/go-quote\"\n\t\"go.oneofone.dev/ta\"\n)\n\nfunc main() {\n\tspy, _ := quote.NewQuoteFromYahoo(\"spy\", \"2016-01-01\", \"2016-04-01\", quote.Daily, true)\n\tfmt.Print(spy.CSV())\n\tdema, _ := ta.New(spy.Close).DEMA(10)\n\tfmt.Println(dema)\n}\n```\n\n* all the `*_test.go` files should have more examples.\n\n## Dependencies\n\n* [gonum/gonum](https://github.com/gonum/gonum) (*BSD-3-Clause*)\n\n## References\n\nWithout those libraries and their documentation, this wouldn't have been possible.\n\n* [mrjbq7/ta-lib](https://github.com/mrjbq7/ta-lib) (*MIT?*)\n* [markcheno/go-talib](https://github.com/markcheno/go-talib) (M*IT*)\n* [TulipCharts/tulipindicators](https://github.com/TulipCharts/tulipindicators) (*LGPL v3.0*)\n* [greyblake/ta-rs](https://github.com/greyblake/ta-rs) (*MIT*)\n* [MattL922/black-scholes](https://github.com/MattL922/black-scholes) (*MIT*)\n* [MattL922/implied-volatility](https://github.com/MattL922/implied-volatility) (*MIT*)\n\n## License\n\n[BSD-3-Clause](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foneofone%2Fta","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foneofone%2Fta","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foneofone%2Fta/lists"}