def main(): numbers = [ '1101', '0050' ] tester = Tester(numbers, exampleModel) tester.run( mode = 'tmrHold', dateFrom = date(2015,1,1))
def main(): numbers = ['1101', '0050'] tester = Tester(numbers, exampleModel) tester.run(mode='tmpHold', dateFrom=date(2015, 1, 1))
def main(): numbers = [ line.strip() for line in open('stocknumber.csv', 'rb') ] tester = Tester(numbers, exampleModel) tester.run( mode = 'tmpGood', dateFrom = date(2015,1,1), roiThr = -100)
def main(): numbers = ['1101'] # 股票編號 tester = Tester(numbers, exampleModel) # 使用測試元件 tester.run(dateFrom=date(2015, 1, 1)) # 模擬
def main(): numbers = [line.strip() for line in open('stocknumber.csv', 'rb')] tester = Tester(numbers, exampleModel) tester.run(mode='tmpGood', dateFrom=date(2015, 1, 1), roiThr=-100)
def main(): numbers = ['1314'] # 股票編號 tester = Tester(numbers, exampleModel) # 使用測試元件 tester.run() # 模擬
def main(): numbers = ['1101']# 股票編號 tester = Tester(numbers, exampleModel)# 使用測試元件 tester.run(dateFrom = date(2015,1,1))# 模擬