Python talib.CDLXSIDEGAP3METHODS Examples
The following are 4
code examples of talib.CDLXSIDEGAP3METHODS().
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example.
You may also want to check out all available functions/classes of the module
talib
, or try the search function
.
Example #1
Source File: talib_indicators.py From QUANTAXIS with MIT License | 5 votes |
def CDLXSIDEGAP3METHODS(DataFrame): res = talib.CDLXSIDEGAP3METHODS( DataFrame.open.values, DataFrame.high.values, DataFrame.low.values, DataFrame.close.values) return pd.DataFrame({'CDLXSIDEGAP3METHODS': res}, index=DataFrame.index)
Example #2
Source File: ta_cdl_mixin.py From strategy with Apache License 2.0 | 5 votes |
def xside_gap_3methods(self, sym, frequency): if not self.kbars_ready(sym, frequency): return [] opens = self.open(sym, frequency) highs = self.high(sym, frequency) lows = self.low(sym, frequency) closes = self.close(sym, frequency) cdl = ta.CDLXSIDEGAP3METHODS(opens, highs, lows, closes) return cdl
Example #3
Source File: talib_wrapper.py From tia with BSD 3-Clause "New" or "Revised" License | 5 votes |
def CDLXSIDEGAP3METHODS(frame, open_col='open', high_col='high', low_col='low', close_col='close'): return _frame_to_series(frame, [open_col, high_col, low_col, close_col], talib.CDLXSIDEGAP3METHODS)
Example #4
Source File: talib_indicators.py From qtpylib with Apache License 2.0 | 5 votes |
def CDLXSIDEGAP3METHODS(data, **kwargs): _check_talib_presence() popen, phigh, plow, pclose, _ = _extract_ohlc(data) return talib.CDLXSIDEGAP3METHODS(popen, phigh, plow, pclose, **kwargs) # --------------------------------------------- # Statistic Functions # ---------------------------------------------