MCPcopy Create free account

hub / github.com/jealous/stockstats / functions

Functions317 in github.com/jealous/stockstats

↓ 257 callersFunctionnear_to
(value)
test.py:62
↓ 35 callersMethodget_stock_90days
(self)
test.py:107
↓ 26 callersMethodget_stock_20days
(self)
test.py:101
↓ 20 callersMethodema
(series, window, *, adjust=True, min_periods=1)
stockstats.py:1123
↓ 20 callersMethodto_series
(self, arr: Union[list, np.ndarray])
stockstats.py:1930
↓ 19 callersMethodsma
(cls, series, size)
stockstats.py:1042
↓ 13 callersMethods_shift
Shift the series When window is negative, shift the past period to current. Fill the gap with the first data available. When
stockstats.py:389
↓ 11 callersMethodname_ex
(self, ex)
stockstats.py:209
↓ 10 callersMethodparse_column_name
(name)
stockstats.py:1934
↓ 10 callersMethodroc
(series, size)
stockstats.py:1046
↓ 10 callersFunctionwrap
wraps a pandas DataFrame to StockDataFrame :param df: pandas DataFrame :param index_column: the name of the index column, default to ``date``
stockstats.py:221
↓ 9 callersMethodis_cross_columns
(cls, name)
stockstats.py:1949
↓ 8 callersMethodget_stock
(self)
test.py:110
↓ 8 callersMethodget_stock_30days
(self)
test.py:104
↓ 8 callersMethodmov_sum
(cls, series, size)
stockstats.py:1038
↓ 7 callersMethod_df_to_series
(column)
stockstats.py:253
↓ 7 callersMethod_rolling_sum
Compute rolling sum with min_periods=1 using numpy.
stockstats.py:422
↓ 7 callersMethod_tp
(self)
stockstats.py:972
↓ 7 callersMethodwithin
(self, start_date, end_date)
stockstats.py:2147
↓ 6 callersMethod_rolling
(series: pd.Series, window: int)
stockstats.py:1129
↓ 6 callersMethodcopy
(self, deep=True)
stockstats.py:2151
↓ 6 callersFunctionnot_has
(item)
test.py:66
↓ 6 callersMethodsmma
(series, window)
stockstats.py:588
↓ 5 callersMethodlinear_reg
(cls, series, window, correlation=False)
stockstats.py:1161
↓ 5 callersMethodmov_max
(cls, series, size)
stockstats.py:1034
↓ 5 callersMethodmov_min
(cls, series, size)
stockstats.py:1030
↓ 4 callersMethod_atr
(self, window)
stockstats.py:817
↓ 4 callersMethod_sym_wma4
(arr: np.ndarray)
stockstats.py:1673
↓ 4 callersMethoddrop_column
drop column by the name multiple names can be supplied in a list :return: StockDataFrame
stockstats.py:2025
↓ 4 callersMethodto_ints
(cls, shifts)
stockstats.py:325
↓ 3 callersMethod_col_diff
(self, col)
stockstats.py:1976
↓ 3 callersMethod_eri
(self, window)
stockstats.py:1291
↓ 3 callersMethod_get_int
(self, i)
stockstats.py:156
↓ 3 callersMethod_get_pdi_ndi
(self, window)
stockstats.py:916
↓ 3 callersMethod_get_pdm_ndm
(self, window)
stockstats.py:859
↓ 3 callersMethod_hl_mid
(self, period)
stockstats.py:1352
↓ 3 callersMethod_mad
Mean Absolute Deviation :param series: Series :param window: number of periods :return: Series
stockstats.py:1066
↓ 3 callersMethod_np_diff
(arr: np.ndarray)
stockstats.py:512
↓ 3 callersMethod_rsi
(self, window)
stockstats.py:517
↓ 3 callersMethod_set_nan_of_single_shift
(pd_obj, shift)
stockstats.py:358
↓ 3 callersMethod_shifted_cr_sma
(self, cr, window)
stockstats.py:968
↓ 3 callersMethod_tr
(self)
stockstats.py:658
↓ 3 callersMethod_wt1
wave trand 1 n1: period of EMA on typical price n2: period of EMA
stockstats.py:556
↓ 3 callersFunctionget_file
(filename)
test.py:57
↓ 3 callersMethodmov_std
(cls, series, window)
stockstats.py:1397
↓ 3 callersMethodparse_cross_column
(cls, name)
stockstats.py:1957
↓ 3 callersMethodretype
if the input is a `DataFrame`, convert it to this class. :param index_column: name of the index column, default to `date` :param valu
stockstats.py:2163
↓ 2 callersMethod__init_column
(self, key)
stockstats.py:2119
↓ 2 callersMethod_calc_kd
(self, column)
stockstats.py:986
↓ 2 callersFunction_call_handler
(handler: Callable)
stockstats.py:216
↓ 2 callersMethod_dx
(self, window)
stockstats.py:935
↓ 2 callersMethod_get_handler
(self, name: str)
stockstats.py:2060
↓ 2 callersMethod_ppo_and_pvo
(self, name: str, ser: pd.Series, meta: _Meta)
stockstats.py:1247
↓ 2 callersMethod_rolling_arg_index
(arr, window, mode="max")
stockstats.py:738
↓ 2 callersMethod_rsv
(self, window)
stockstats.py:495
↓ 2 callersMethod_rvgi
Relative Vigor Index (RVGI) The Relative Vigor Index (RVI) is a momentum indicator used in technical analysis that measures the stren
stockstats.py:1691
↓ 2 callersMethod_shift_arr
(arr: np.ndarray, window: int)
stockstats.py:376
↓ 2 callersMethod_shifted_columns
(self, column: pd.Series, shifts: list[int])
stockstats.py:463
↓ 2 callersMethoddrop_head
drop n rows from the beginning :return: StockDataFrame
stockstats.py:2049
↓ 2 callersMethoddrop_tail
drop n rows from the tail :return: StockDataFrame
stockstats.py:2038
↓ 2 callersMethodget_int_positive
(cls, windows)
stockstats.py:1343
↓ 2 callersMethodker
(self, column, window)
stockstats.py:1543
↓ 2 callersMethodlinear_wma
Linear Weighted Moving Average (WMA) using vectorized NumPy. Returns 0 for first window-1 positions.
stockstats.py:1133
↓ 1 callersMethod__init_not_exist_column
(self, key)
stockstats.py:2093
↓ 1 callersMethod_delta
(series, window)
stockstats.py:1023
↓ 1 callersMethod_divide
(a: np.ndarray, b: np.ndarray)
stockstats.py:485
↓ 1 callersMethod_ftr
(self, window: int)
stockstats.py:1612
↓ 1 callersMethod_get_compare
(self, key)
stockstats.py:2004
↓ 1 callersMethod_get_cross
(self, key)
stockstats.py:1987
↓ 1 callersMethod_get_delta
(self, key)
stockstats.py:1982
↓ 1 callersMethod_get_rvgi
(self, meta: _Meta)
stockstats.py:1733
↓ 1 callersMethod_inertia
Inertia Indicator https://theforexgeek.com/inertia-indicator/ In financial markets, the concept of inertia was given by Donald Dorse
stockstats.py:1741
↓ 1 callersMethod_kst
Know Sure Thing (kst) https://www.investopedia.com/terms/k/know-sure-thing-kst.asp The Know Sure Thing (KST) is a momentum oscillato
stockstats.py:1762
↓ 1 callersMethod_ndm
(self, window)
stockstats.py:878
↓ 1 callersMethod_pdm
(self, window)
stockstats.py:874
↓ 1 callersMethod_pgo
Pretty Good Oscillator (PGO) https://library.tradingtechnologies.com/trade/chrt-ti-pretty-good-oscillator.html The Pretty Good Oscil
stockstats.py:1789
↓ 1 callersMethod_psl
Psychological Line (PSL) The Psychological Line indicator is the ratio of the number of rising periods over the total number of perio
stockstats.py:1814
↓ 1 callersFunctiondft_column
(name: str)
stockstats.py:121
↓ 1 callersFunctiondft_windows
(name: str)
stockstats.py:112
↓ 1 callersMethodinit_all
initialize all stats. in the handler
stockstats.py:2020
↓ 1 callersMethodis_compare_columns
(cls, name)
stockstats.py:1953
↓ 1 callersMethodmov_var
(cls, series, window)
stockstats.py:1405
↓ 1 callersMethodparse_compare_column
(cls, name)
stockstats.py:1965
↓ 1 callersMethodset_name
(self, name: str)
stockstats.py:205
↓ 1 callersMethodset_nan
(cls, pd_obj, shift)
stockstats.py:346
↓ 1 callersMethodstart_from
(self, start_date)
stockstats.py:2144
↓ 1 callersMethodsym_wma4
(cls, series: pd.Series)
stockstats.py:1687
↓ 1 callersMethodtill
(self, end_date)
stockstats.py:2141
↓ 1 callersMethodto_int
(cls, shifts)
stockstats.py:330
↓ 1 callersFunctionunwrap
convert a StockDataFrame back to a pandas DataFrame
stockstats.py:231
Method__getitem__
(self, item)
stockstats.py:2126
Method__init__
(self, name, *, column=None, windows=None)
stockstats.py:128
Method_ensure_type
override the method in pandas, omit the check This patch is not the perfect way but could make the lib work.
stockstats.py:2155
Method_get_ao
get awesome oscillator The AO indicator is a good indicator for measuring the market dynamics, it reflects specific changes in the dr
stockstats.py:1481
Method_get_aroon
Aroon Oscillator The Aroon Oscillator measures the strength of a trend and the likelihood that it will continue. The default
stockstats.py:762
Method_get_atr
Average True Range The average true range is an N-day smoothed moving average (SMMA) of the true range values. Default to 14 periods
stockstats.py:821
Method_get_boll
Get Bollinger bands. boll_ub means the upper band of the Bollinger bands boll_lb means the lower band of the Bollinger bands
stockstats.py:1207
Method_get_bop
get balance of power The Balance of Power indicator measures the strength of the bulls. https://school.stockcharts.com/doku.php?id=te
stockstats.py:1502
Method_get_c
get the count of column in range (shifts) example: change_20_c :return: result series
stockstats.py:434
Method_get_cci
Commodity Channel Index CCI = (Typical Price - 20-period SMA of TP) / (.015 x Mean Deviation) * when amount is not available:
stockstats.py:641
next →1–100 of 317, ranked by callers