Пример #1
0
def main():

    numbers = [ '1101', '0050' ]
    tester = Tester(numbers, exampleModel)
    tester.run( mode = 'tmrHold', dateFrom = date(2015,1,1))
Пример #2
0
def main():

    numbers = ['1101', '0050']
    tester = Tester(numbers, exampleModel)
    tester.run(mode='tmpHold', dateFrom=date(2015, 1, 1))
Пример #3
0
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)
Пример #4
0
def main():

    numbers = ['1101']  # 股票編號
    tester = Tester(numbers, exampleModel)  # 使用測試元件
    tester.run(dateFrom=date(2015, 1, 1))  # 模擬
Пример #5
0
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)
Пример #6
0
def main():

    numbers = ['1314']  # 股票編號
    tester = Tester(numbers, exampleModel)  # 使用測試元件
    tester.run()  # 模擬
Пример #7
0
def main():

    numbers = ['1101']# 股票編號
    tester = Tester(numbers, exampleModel)# 使用測試元件
    tester.run(dateFrom = date(2015,1,1))# 模擬