Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 25 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 (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-09T08:21:34.000Z (over 1 year ago)
- Last Synced: 2024-04-15T03:56:12.758Z (2 months ago)
- Topics: financial-analysis, golang, ta-lib, technical-analysis, technical-analysis-indicators, technical-analysis-library
- Language: Go
- Homepage:
- Size: 82 KB
- Stars: 733
- Watchers: 37
- Forks: 210
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-go-quant - go-talib - A pure Go port of TA-Lib (Golang / Indicators)
- awesome-systematic-trading - Go Port
README
# go-talib
[![GoDoc](http://godoc.org/github.com/markcheno/go-talib?status.svg)](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.NewQuoteFromYahoo("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)
- [Alessandro Sanino AKA saniales](https://github.com/saniales)