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)
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)