-
Notifications
You must be signed in to change notification settings - Fork 299
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GH-148] Add Correlation Trend Indicator
Correlation Trend Indicator is a study that estimates the current direction and strength of a trend. Implementation is based on the following code: https://github.com/twopirllc/pandas-ta/blob/main/pandas_ta/momentum/cti.py Examples: * `df['cti']` returns the CTI of close price with window 14 * `df['high_5_cti']` returns the CTI of high price with window 5 Add dependency numpy>=1.20.0 for the `as_strided` function. Update the version to 0.6.0.
- Loading branch information
Showing
4 changed files
with
154 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
numpy>=1.16.6 | ||
pandas>=0.24.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters