We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The first non-zero +DI14 is missing when try to calculating them using ADXIndicator.adx_pos. Same problem with -DI14 and ADXIndicator.adx_neg.
ADXIndicator.adx_pos
ADXIndicator.adx_neg
After inserting the following test function to TestADXIndicator in ./test/unit/trend.py, the test should pass
TestADXIndicator
./test/unit/trend.py
# ... def test_adx_pos3(self): target = "+DI14" result = adx_pos(**self._params) pd.testing.assert_series_equal( self._df[target].head(15), result.head(15), check_names=False ) def test_adx_neg3(self): target = "-DI14" result = self._indicator.adx_neg() pd.testing.assert_series_equal( self._df[target].head(16), result.head(16), check_names=False ) # ...
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Problem
The first non-zero +DI14 is missing when try to calculating them using
ADXIndicator.adx_pos
.Same problem with -DI14 and
ADXIndicator.adx_neg
.Expectation:
After inserting the following test function to
TestADXIndicator
in./test/unit/trend.py
, the test should passThe text was updated successfully, but these errors were encountered: