ta

Technical analysis, in your language.

ta is a small, dependency-free technical-analysis library shipped in three flavors: ta.js for Node and the browser, ta.py for Python, and ta.go for Go. Same indicators, same names, idiomatic to each runtime.

ta.js

Node.js + browser. Distributed via npm.

npm install ta.js
View on GitHub →

ta.py

Python 3. Distributed via PyPI.

pip install ta.py
View on GitHub →

ta.go

Go modules. Idiomatic Go API.

go get github.com/Bitvested/ta.go
View on GitHub →

Recent posts about ta

See all →

ta v2.0.0: three libraries on one audited spec

ta v2.0.0 ships ta.js, ta.py, and ta.go on the same major version, with the same indicator set audited end-to-end against textbook formulas and a comparative benchmark in each language. Pure-JS ta.js wins 66 of 67 cross-library cases at 100k bars; pure-Go ta.go wins or ties everything in its field. The Python story is more complicated, and the post is honest about why.

A hundred technical indicator functions in JavaScript

ta.js is my first open-source project — around a hundred indicator functions in JavaScript, first commit 2020-08-24, v1.17.0 shipped earlier this week. I started it because I needed the indicator functions for my own work anyway and writing each of them turned out to be the cleanest way to learn them. I published it because if anyone actually used it, they might open issues on the ones I had gotten wrong, and that scrutiny loop was cheaper than anything I could have built for myself.