当前位置: 首页>>代码示例>>Python>>正文


Python BasicData.getTechData方法代码示例

本文整理汇总了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]
开发者ID:A1eXFei,项目名称:StockMarket,代码行数:10,代码来源:DMI.py

示例2: getCCI

# 需要导入模块: import BasicData [as 别名]
# 或者: from BasicData import getTechData [as 别名]
def getCCI(stock_code, date):
    return bd.getTechData("CCI", stock_code, date)
开发者ID:A1eXFei,项目名称:StockMarket,代码行数:4,代码来源:CCI.py

示例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]
开发者ID:A1eXFei,项目名称:StockMarket,代码行数:7,代码来源:KDJ.py

示例4: getAR

# 需要导入模块: import BasicData [as 别名]
# 或者: from BasicData import getTechData [as 别名]
def getAR(stock_code, date):
    return bd.getTechData("BRAR_AR", stock_code, date)
开发者ID:A1eXFei,项目名称:StockMarket,代码行数:4,代码来源:BRAR.py

示例5: getROC

# 需要导入模块: import BasicData [as 别名]
# 或者: from BasicData import getTechData [as 别名]
def getROC(stock_code, date):
    return bd.getTechData("ROC", stock_code, date)
开发者ID:A1eXFei,项目名称:StockMarket,代码行数:4,代码来源:ROC.py

示例6: getBBI

# 需要导入模块: import BasicData [as 别名]
# 或者: from BasicData import getTechData [as 别名]
def getBBI(stock_code, date):
    return bd.getTechData("BBI", stock_code, date)
开发者ID:A1eXFei,项目名称:StockMarket,代码行数:4,代码来源:BBI.py

示例7: getPSY

# 需要导入模块: import BasicData [as 别名]
# 或者: from BasicData import getTechData [as 别名]
def getPSY(stock_code, date):
    return bd.getTechData("PSY", stock_code, date)
开发者ID:A1eXFei,项目名称:StockMarket,代码行数:4,代码来源:PSY.py

示例8: getWR

# 需要导入模块: import BasicData [as 别名]
# 或者: from BasicData import getTechData [as 别名]
def getWR(stock_code, date):
    return bd.getTechData("WR", stock_code, date)
开发者ID:A1eXFei,项目名称:StockMarket,代码行数:4,代码来源:WR.py

示例9: getVR

# 需要导入模块: import BasicData [as 别名]
# 或者: from BasicData import getTechData [as 别名]
def getVR(stock_code, date):
    return bd.getTechData("VR", stock_code, date)
开发者ID:A1eXFei,项目名称:StockMarket,代码行数:4,代码来源:VR.py

示例10: getRSI

# 需要导入模块: import BasicData [as 别名]
# 或者: from BasicData import getTechData [as 别名]
def getRSI(stock_code, date):
    return bd.getTechData("RSI", stock_code, date)
开发者ID:A1eXFei,项目名称:StockMarket,代码行数:4,代码来源:RSI.py

示例11: getAMA

# 需要导入模块: import BasicData [as 别名]
# 或者: from BasicData import getTechData [as 别名]
def getAMA(stock_code, date):
    return bd.getTechData("AMA", stock_code, date)
开发者ID:A1eXFei,项目名称:StockMarket,代码行数:4,代码来源:DMA.py

示例12: getOBV

# 需要导入模块: import BasicData [as 别名]
# 或者: from BasicData import getTechData [as 别名]
def getOBV(stock_code, date):
    return bd.getTechData("OBV", stock_code, date)
开发者ID:A1eXFei,项目名称:StockMarket,代码行数:4,代码来源:OBV.py


注:本文中的BasicData.getTechData方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。