本文整理汇总了Python中BasicData.getTechData方法的典型用法代码示例。如果您正苦于以下问题:Python BasicData.getTechData方法的具体用法?Python BasicData.getTechData怎么用?Python BasicData.getTechData使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类BasicData
的用法示例。
在下文中一共展示了BasicData.getTechData方法的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: getDMI
# 需要导入模块: import BasicData [as 别名]
# 或者: from BasicData import getTechData [as 别名]
def getDMI(stock_code, date):
DMI_ADX = bd.getTechData("DMI_ADX", stock_code, date)
DMI_ATR = bd.getTechData("DMI_ATR", stock_code, date)
DMI_PDM = bd.getTechData("DMI_PDM", stock_code, date)
DMI_NDM = bd.getTechData("DMI_NDM", stock_code, date)
DMI_PDI = bd.getTechData("DMI_PDI", stock_code, date)
DMI_NDI = bd.getTechData("DMI_NDI", stock_code, date)
return [DMI_ADX, DMI_ATR, DMI_PDM, DMI_NDM, DMI_PDI, DMI_NDI]
示例2: getCCI
# 需要导入模块: import BasicData [as 别名]
# 或者: from BasicData import getTechData [as 别名]
def getCCI(stock_code, date):
return bd.getTechData("CCI", stock_code, date)
示例3: getKDJ
# 需要导入模块: import BasicData [as 别名]
# 或者: from BasicData import getTechData [as 别名]
def getKDJ(stock_code, date):
KDJ_K = bd.getTechData("KDJ_K", stock_code, date)
KDJ_D = bd.getTechData("KDJ_D", stock_code, date)
KDJ_J = bd.getTechData("KDJ_J", stock_code, date)
return [KDJ_K, KDJ_D, KDJ_J]
示例4: getAR
# 需要导入模块: import BasicData [as 别名]
# 或者: from BasicData import getTechData [as 别名]
def getAR(stock_code, date):
return bd.getTechData("BRAR_AR", stock_code, date)
示例5: getROC
# 需要导入模块: import BasicData [as 别名]
# 或者: from BasicData import getTechData [as 别名]
def getROC(stock_code, date):
return bd.getTechData("ROC", stock_code, date)
示例6: getBBI
# 需要导入模块: import BasicData [as 别名]
# 或者: from BasicData import getTechData [as 别名]
def getBBI(stock_code, date):
return bd.getTechData("BBI", stock_code, date)
示例7: getPSY
# 需要导入模块: import BasicData [as 别名]
# 或者: from BasicData import getTechData [as 别名]
def getPSY(stock_code, date):
return bd.getTechData("PSY", stock_code, date)
示例8: getWR
# 需要导入模块: import BasicData [as 别名]
# 或者: from BasicData import getTechData [as 别名]
def getWR(stock_code, date):
return bd.getTechData("WR", stock_code, date)
示例9: getVR
# 需要导入模块: import BasicData [as 别名]
# 或者: from BasicData import getTechData [as 别名]
def getVR(stock_code, date):
return bd.getTechData("VR", stock_code, date)
示例10: getRSI
# 需要导入模块: import BasicData [as 别名]
# 或者: from BasicData import getTechData [as 别名]
def getRSI(stock_code, date):
return bd.getTechData("RSI", stock_code, date)
示例11: getAMA
# 需要导入模块: import BasicData [as 别名]
# 或者: from BasicData import getTechData [as 别名]
def getAMA(stock_code, date):
return bd.getTechData("AMA", stock_code, date)
示例12: getOBV
# 需要导入模块: import BasicData [as 别名]
# 或者: from BasicData import getTechData [as 别名]
def getOBV(stock_code, date):
return bd.getTechData("OBV", stock_code, date)