talib 中文文檔(十五):Math Operator Functions 數學方法
阿新 • • 發佈:2018-08-12
lock dex tor over block period pytho nan str
Math Operator Functions
數學運算符函數
ADD - Vector Arithmetic Add
函數名:ADD
名稱:向量加法運算
real = ADD(high, low)
DIV - Vector Arithmetic Div
函數名:DIV
名稱:向量除法運算
real = DIV(high, low)
MAX - Highest value over a specified period
函數名:MAX
名稱:周期內最大值(未滿足周期返回nan)
real = MAX(close, timeperiod=30)
MAXINDEX - Index of highest value over a specified period
函數名:MAXINDEX
名稱:周期內最大值的索引
integer = MAXINDEX(close, timeperiod=30)
MIN - Lowest value over a specified period
函數名:MIN
名稱:周期內最小值 (未滿足周期返回nan)
real = MIN(close, timeperiod=30)
MININDEX - Index of lowest value over a specified period
函數名:MININDEX
名稱:周期內最小值的索引
integer = MININDEX(close, timeperiod=30)
MINMAX - Lowest and highest values over a specified period
函數名:MINMAX
名稱:周期內最小值和最大值(返回元組````元組(array【最小】,array【最大】)```)
min, max = MINMAX(close, timeperiod=30)
MINMAXINDEX - Indexes of lowest and highest values over a specified period
函數名:MINMAX
名稱:周期內最小值和最大值索引(返回元組````元組(array【最小】,array【最大】)```)
minidx, maxidx = MINMAXINDEX(close, timeperiod=30)
MULT - Vector Arithmetic Mult
函數名:MULT
名稱:向量乘法運算
real = MULT(high, low)
SUB - Vector Arithmetic Substraction
函數名:SUB
名稱:向量減法運算
real = SUB(high, low)
SUM - Summation
函數名:SUM
名稱:周期內求和
real = SUM(close, timeperiod=30)
talib 中文文檔(十五):Math Operator Functions 數學方法