コード例 #1
0
ファイル: FCPO.py プロジェクト: slug404/Futures_Finally
def main():
    """
        用于测试的主函数
    """
    startCatchDate, endCatchDate, bWrite = readCommand()
    
    test = FCPO("O.FCPO", startCatchDate, endCatchDate, bWrite)
    
    print(test.exchange)
    print(test.startDate)
    print(test.endDate)
    print(test.bWrite)
コード例 #2
0
ファイル: DCE.py プロジェクト: slug404/Futures_Finally
def main():
    """
        用于测试的主函数
    """
    startCatchDate, endCatchDate, bWrite = readCommand()
    
    test = SHFE("D.DCE", startCatchDate, endCatchDate, bWrite)
    
    print(test.exchange)
    print(test.startDate)
    print(test.endDate)
    print(test.bWrite)