Technical Analysis For Kotlin
Ta4k is an open source Kotlin library for technical analysis. It provides the basic components for creation, evaluation and execution of trading strategies.
- 100% Pure Kotlin - works on any Java Platform version 21 or later
- More than 130 technical indicators (Aroon, ATR, moving averages, parabolic SAR, RSI, etc.)
- A powerful engine for building custom trading strategies
- Utilities to run and compare strategies
- Live trading mode
- Observable mode - indicator changes may be propagated to persistent storage like TimescaleDB
- AI Strategy ready
- Minimal 3rd party dependencies
- Simple integration
- One more thing: it's MIT licensed
Ta4k is currently not available on Maven Central.
<dependency>
<groupId>org.ta4j</groupId>
<artifactId>ta4k-core</artifactId>
<version>0.16</version>
</dependency>For snapshots, add the following repository to your pom.xml file.
<repository>
<id>sonatype snapshots</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</repository>The current snapshot version is 0.16-SNAPSHOT from the develop branch.
<dependency>
<groupId>org.ta4j</groupId>
<artifactId>ta4k-core</artifactId>
<version>0.16-SNAPSHOT</version>
</dependency>You can also download example code from the maven central repository by adding the following dependency to your pom.xml:
<dependency>
<groupId>org.ta4j</groupId>
<artifactId>ta4k-examples</artifactId>
<version>0.16</version>
</dependency>The wiki is the best place to start learning about ta4j. For more detailed questions, please use the issues tracker.
Here are some ways for you to contribute to ta4k:
- Take a look at the Roadmap items
- Fork this repository and submit pull requests.
- Take a look at How to contribute
See also: the contribution policy and Code of Conduct
