菜鳥學院
交易開拓者-附錄二:函數速查
時間 2021-06-10
標籤
# 量化交易
文章目錄
附錄二:函數速查
數學函數
abs
Acos和Acosh
Asinh、Asinh
Atan、Atan2、Atanh
ceiling
combin
cos、cosh、ctan
Even
Exp
Fact
Floor
Fracpart Inpart
Ln Log
Mod
Neg
Old
pi power rand round
rounddown roundup
sign
sqr sqrt
字符串函數
Exact left right len
lower mid
text trim
upper value
時間函數
currentData currentTime
dateadd datediff
DateTimeToString DateToString
day hour friday dayfromdatetime hourfromdatetime makedate
makedatetime maketime minute minutefromdatetime
monday month monthfromdatetime
saturday second secondfromdatetime stringtodate
stringtotime sunday systemdatetime
timediff timetostring
weekday weekdayfromdatetime year yearfromdatetime
數據函數
barcount barstatus c close currentbar d(date) h(high)
historydataexist
l(low) o(open)
openint
T(Time)V(vol)
交易函數
buy buytocover
sell sellshort
策略狀態
AvgEntryPrice BarsSinceEntry
BarsSinceExit BarsSinceLastEntry
ContractProfit CurrentContracts CurrentEntries
entrydate entryprice entrytime
exitdate exitprice exittime
LastEntryDate LastEntryPrice LastEntryTime
MarketPosition
MaxContracts MaxEntries
MaxPositionLoss MaxPositionProfit PositionProfit
內建函數
AdaptiveMovAvg Average
AverageD AverageFC AvgDeviation
AvgPrice AvgTrueRange BarsSinceToday
CloseD
CoefficientR Correlation
CountIf Covar
CrossOver CrossUnder
cum DataConvert
DEMA Detrend devsqrd extrems
Fisher FisherInv
HarmonicMean
HighD Highest HighestBar HighestBarFC HighestFC
Kurtosis
LinearReg
LinearRegAngle LinearRegSlope LinearRegValue
LowD Lowest
Momentum
openD openint
Summation
WAverage XAverage
附錄二:函數速查
數學函數
abs
Acos和Acosh
Asinh、Asinh
Atan、Atan2、Atanh
ceiling
combin
cos、cosh、ctan
Even
Exp
Fact
Floor
Fracpart Inpart
Ln Log
Mod
Neg
Old
pi power rand round
rounddown roundup
sign
sqr sqrt
字符串函數
Exact left right len
lower mid
text trim
upper value
時間函數
currentData currentTime
dateadd datediff
DateTimeToString DateToString
day hour friday dayfromdatetime hourfromdatetime makedate
makedatetime maketime minute minutefromdatetime
monday month monthfromdatetime
saturday second secondfromdatetime stringtodate
stringtotime sunday systemdatetime
timediff timetostring
weekday weekdayfromdatetime year yearfromdatetime
數據函數
barcount barstatus c close currentbar d(date) h(high)
historydataexist
l(low) o(open)
openint
T(Time)V(vol)
交易函數
buy buytocover
sell sellshort
策略狀態
AvgEntryPrice BarsSinceEntry
BarsSinceExit BarsSinceLastEntry
ContractProfit CurrentContracts CurrentEntries
entrydate entryprice entrytime
exitdate exitprice exittime
LastEntryDate LastEntryPrice LastEntryTime
MarketPosition
MaxContracts MaxEntries
MaxPositionLoss MaxPositionProfit PositionProfit
內建函數
AdaptiveMovAvg Average
AverageD AverageFC AvgDeviation
AvgPrice AvgTrueRange BarsSinceToday
CloseD
CoefficientR Correlation
CountIf Covar
CrossOver CrossUnder
cum DataConvert
DEMA Detrend devsqrd extrems
Fisher FisherInv
HarmonicMean
HighD Highest HighestBar HighestBarFC HighestFC
Kurtosis
LinearReg
LinearRegAngle LinearRegSlope LinearRegValue
LowD Lowest
Momentum
openD openint
Summation
WAverage XAverage
更多參考書籍: