stockstats
stockstats copied to clipboard
Supply a wrapper ``StockDataFrame`` based on the ``pandas.DataFrame`` with inline stock statistics/indicators support.
Note: Some of the changes I have made to this file involve the implementation of the walrus operator --> := If you do not intend on running this code in...
http://pythondata.com/stockstats-python-module-various-stock-market-statistics-indicators/
Hi there, thanks for your wonderful lib, really like it. When using your lib together with other frameworks I run into the problem that a copy call in the other...
if high == low (say: high - low == 0.) in a row, df['kdj*'] raises exception: ZeroDivisionError: float division by zero. version: 0.6.2
``` from stockstats import wrap ``` does not work, it shows the following error messages. ``` 43 pass 46 _dft_windows = { 47 # sort alphabetically 48 'ao': (5, 34),...
`import yfinance as yf from stockstats import StockDataFrame ticker = "O" start = "2022-01-01" end = "2023-11-02" df = yf.download(ticker, start, end) stock_df = StockDataFrame.retype(df) stock_df = stock_df[ [ "open",...
If we compute the same indicators, with same code/data we obtain different results between branchs 0.5.X and 0.6.X. In this screen capture you have same code executing with 2 clone...
Hello :) Wondering if there is a wrapper for WMA (not Volume WMA) and Hull MA? If not, can I contribute? Thanks, your repository helps me so much.
Hello, I have switched my supertrend calculations from `pandas_ta` and I observe a inconsistency in supertrend values. The issue is (probably) caused by specific candle wicks. **I will continously work...
Adjusting supertrend evaluation by comparing previous close value instead of current Link to [the issue](https://github.com/jealous/stockstats/issues/125) (I am unable to link them direcly over github).