def build(bld): add_lint_ignore('external') add_lint_ignore('backend') if bld.cmd == "all": run_all(bld) return if bld.cmd == "pricer": run_pricer(bld) return if bld.cmd == "mid_data": run_mid_data(bld) return if bld.cmd == "proxy": run_proxy(bld) return if bld.cmd == "ctpdata": run_ctpdata(bld) return if bld.cmd == "ctporder": run_ctporder(bld) return if bld.cmd == "manual_ctp": run_manual_ctp(bld) return if bld.cmd == "getins": run_getins(bld) return if bld.cmd == "simplemaker": run_simplemaker(bld) return if bld.cmd == "simplearb": run_simplearb(bld) return if bld.cmd == "simplearb2": run_simplearb2(bld) return if bld.cmd == "pairtrading": run_pairtrading(bld) return if bld.cmd == "backtest": run_backtest(bld) return if bld.cmd == "backtest2": run_backtest2(bld) return if bld.cmd == "backtestpr": run_backtestpr(bld) return if bld.cmd == "order_matcher": run_order_matcher(bld) return if bld.cmd == "demostrat": run_demostrat(bld) return if bld.cmd == "simdata": run_simdata(bld) return else: print "error! " + str(bld.cmd) return
def build(bld): add_lint_ignore('external') add_lint_ignore('backend') #add_lint_ignore('src/simtrade/common') bld.read_shlib('zbackend', ['external/common/lib']) if bld.cmd == "init_test": run_init_test(bld) return if bld.cmd == "tools": run_tools(bld) return if bld.cmd == "simtrade": run_simtrade(bld) return if bld.cmd == "fake_sim": run_fake_sim(bld) return else: print "error! " + str(bld.cmd) return
def build(bld): add_lint_ignore('external') add_lint_ignore('backend') if bld.cmd == "all": run_all(bld) return if bld.cmd == "strat": run_strat(bld) return if bld.cmd == "strat_ma": run_strat_ma(bld) return if bld.cmd == "pricer": run_pricer(bld) return if bld.cmd == "mid_data": run_mid_data(bld) return if bld.cmd == "simdata": run_simdata(bld) return if bld.cmd == "simorder": run_simdata(bld) return if bld.cmd == "proxy": run_proxy(bld) return if bld.cmd == "ctpdata": run_ctpdata(bld) return if bld.cmd == "ctporder": run_ctporder(bld) return if bld.cmd == "getins": run_getins(bld) return if bld.cmd == "arbmaker": run_arbmaker(bld) return if bld.cmd == "simplemaker": run_simplemaker(bld) return if bld.cmd == "simplearb": run_simplearb(bld) return if bld.cmd == "backtest": run_backtest(bld) return if bld.cmd == "dt": run_dt(bld) return if bld.cmd == "convert_to_binary_data": run_convert_to_binary_data(bld) return if bld.cmd == "datatools": run_datatools(bld) return if bld.cmd == "order_matcher": run_order_matcher(bld) return if bld.cmd == "demostrat": run_demostrat(bld) return if bld.cmd == "update_active_contract": run_update_active_contract(bld) return else: print "error! " + str(bld.cmd) return