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)

Lists

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 main

import (
"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)