https://github.com/markcheno/go-talib
A pure Go port of TA-Lib (http://ta-lib.org)
https://github.com/markcheno/go-talib
financial-analysis golang ta-lib technical-analysis technical-analysis-indicators technical-analysis-library
Last synced: 10 days ago
JSON representation
A pure Go port of TA-Lib (http://ta-lib.org)
- Host: GitHub
- URL: https://github.com/markcheno/go-talib
- Owner: markcheno
- License: mit
- Created: 2016-02-29T01:16:43.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2025-01-14T00:36:21.000Z (3 months ago)
- Last Synced: 2025-04-11T23:19:35.896Z (10 days ago)
- Topics: financial-analysis, golang, ta-lib, technical-analysis, technical-analysis-indicators, technical-analysis-library
- Language: Go
- Homepage:
- Size: 83 KB
- Stars: 826
- Watchers: 37
- Forks: 217
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-systematic-trading - Go Port
- awesome-go-quant - go-talib - A pure Go port of TA-Lib (Golang / Indicators)
README
# go-talib
[](http://godoc.org/github.com/markcheno/go-talib)
A pure [Go](http://golang.org/) port of [TA-Lib](http://ta-lib.org)
## Install
Install the package with:
```bash
go get github.com/markcheno/go-talib
```Import it with:
```go
import "github.com/markcheno/go-talib"
```and use `talib` as the package name inside the code.
## Example
```go
package mainimport (
"fmt"
"github.com/markcheno/go-quote"
"github.com/markcheno/go-talib"
)func main() {
spy, _ := quote.NewQuoteFromTiingo("spy", "2016-01-01", "2016-04-01", quote.Daily, true)
fmt.Print(spy.CSV())
rsi2 := talib.Rsi(spy.Close, 2)
fmt.Println(rsi2)
}
```## License
MIT License - see LICENSE for more details
# Contributors
- [Markcheno](https://github.com/markcheno)