Skip to content

ta4g/ta4g

Repository files navigation

ta4g

CircleCI

Github

Technical Analysis For Go

Ta4g is an open source library for technical analysis.

It provides the basic components for creation, evaluation and execution of trading strategies.

This is a port of the popular technical analysis library ta4j from Java -> Golang.


Why convert this library to Golang?

  1. Just for fun, I enjoy learning about new subjects and this is an area I'm not familiar with (yet).
  2. I predominately write Golang CLIs, GRPC services, and other applications so using Golang over Java is my preference.
  3. To contribute the open source community by converting one of the best libraries for technical analysis to enable more developers to leverage their good work.

Features

  1. 100% Pure GO, targeting go 1.16+
  2. More than 130 technical indicators (Aroon, ATR, moving averages, parabolic SAR, RSI, etc.)
  3. A powerful engine for building custom trading strategies
  4. Utilities to run and compare strategies
  5. Minimal 3rd party dependencies
  6. Simple integration
  7. GRPC server/client libraries for easy cross-platform integration.
  8. One more thing: it's Apache License 2.0 licensed

Roadmap

  1. Initial Repo Setup
  2. CI/CD configuration
  3. GO Releaser configuration
  4. Document project layout and usage
  5. Implement core structs: Bar, Series, Indicator, Order, Rule, Trade, TradeRecord
  6. Implement backtest framework
  7. Implement feature: charts [go-chart](with https://github.com/wcharczuk/go-chart)
  8. Implement feature: aggregator
  9. Implement feature: analysis
  10. Implement feature: cost
  11. Implement feature: indicators
  12. Implement feature: num
  13. Implement feature: tradereport
  14. Implement feature: tradingrules
  15. Documentation and cleanup