Repository navigation
abstract: describe TA-Lib's bar index, segmented and color pattern output flags - #793
Merged
Merged
Conversation
…tput flags TA-Lib 0.8.4 adds TA_OUT_PATTERN_COLOR (0x40000) for a candlestick output whose sign is the candle's color, and drops the Line hint from every pattern output. TA_OUT_BAR_INDEX (0x10000) and TA_OUT_SEGMENTED (0x20000) had no description yet either.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TA-Lib C dev adds
TA_OUT_PATTERN_COLOR(0x40000) for a candlestick output whose sign is the candle's color (CDLSPINNINGTOP, CDLHIGHWAVE, CDLSHORTLINE), and dropsTA_OUT_LINEfrom every pattern output (TA-Lib/ta-lib@d6b668f9a5, TA-Lib/ta-lib@db0ac992b4). This describes that bit, and the two from TA-Lib/ta-lib#585 that had none yet (TA_OUT_BAR_INDEX,TA_OUT_SEGMENTED).test_flags_newer_than_0_8_1expectsLineon a pattern output only before C 0.8.4 and pins CDLSPINNINGTOP's color flag.talib/_ta_lib.cis regenerated with.venv/bin/cython talib/_ta_lib.pyx(Cython 3.3.0, numpy 2.2.0, the numpy that reproduces dev's committed file byte for byte); the diff is Cython renumbering its string table for the three new strings.