Esempio n. 1
0
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)
Esempio n. 2
0
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)