TA-Lib 简介: 这是一个Python 金融指数处理库TA-LIB,他是基于 Cython 而不是 SWIG. TA-Lib is widely used by trading software developers requiring to perform technical analysis of financial market data. TA-Lib广泛应用与交易软件,和金融市场数据进行技术分析. Includes 150+ indicators such as ADX, MACD
一.函数索引 重叠研究 BBANDS Bollinger Bands DEMA Double Exponential Moving Average EMA Exponential Moving Average HT_TRENDLINE Hilbert Transform - Instantaneous Trendline KAMA Kaufman Adaptive Moving Average MA Moving average MAMA MESA Adaptive Moving Average
Function API Examples Similar to TA-Lib, the function interface provides a lightweight wrapper of the exposed TA-Lib indicators. 类似于TA库,对函数接口进行了一个轻量级的封装,用于公开的ta-lib的指标. Each function returns an output array and have default values for their parameter
Cycle Indicator Functions 不是很懂,欢迎指教 HT_DCPERIOD - Hilbert Transform - Dominant Cycle Period 函数名:HT_DCPERIOD 名称: 希尔伯特变换-主导周期 简介:将价格作为信息信号,计算价格处在的周期的位置,作为择时的依据. 文库文档 NOTE: The HT_DCPERIOD function has an unstable period. real = HT_DCPERIOD(close) Learn
Price Transform Functions AVGPRICE - Average Price 函数名:AVGPRICE 名称:平均价格函数 real = AVGPRICE(open, high, low, close) Learn more about the Average Price at tadoc.org. MEDPRICE - Median Price 函数名:MEDPRICE 名称:中位数价格 real = MEDPRICE(high, low) Learn more abo
import tkinter as tk from tkinter import ttk import matplotlib.pyplot as plt import numpy as np import talib as ta series = np.random.choice([1, -1], size=200) close = np.cumsum(series).astype(float) # 重叠指标 def overlap_process(event): print(event.wid
import tkinter as tk from tkinter import ttk import matplotlib.pyplot as plt import numpy as np import talib as ta series = np.random.choice([1, -1], size=200) close = np.cumsum(series).astype(float) # 重叠指标 def overlap_process(event): print(event.wid