Dart wrapper of TA-Lib.

Warning

This package is not yet stable.

Almost all functions are not implemented. See Roadmap.

Getting started

dart pub add ta_lib

Warning

Linux users need to copy pre-compiled so file or build the ta-lib library from source, and put the binary file in the ta-lib directory.

Usage

You can call TA-Lib functions from TaLib class. About functions, see function list of TA-Lib.

final taLib = TaLib();
final result = taLib.ma(1, 4, [1, 2, 3, 4, 5], maType: MaType.sma, timePeriod: 3);
print(result); // [2.0, 3.0, 4.0]

Libraries

ta_lib
Support for doing something awesome.