Пример #1
0
def getTestCases():
	ret = []

	ret += technical_test.getTestCases()
	ret += technical_ma_test.getTestCases()
	ret += technical_vwap_test.getTestCases()
	ret += technical_linebreak_test.getTestCases()
	ret += technical_ratio_test.getTestCases()
	ret += technical_trend_test.getTestCases()
	ret += technical_rsi_test.getTestCases()
	ret += technical_cross_test.getTestCases()
	ret += technical_roc_test.getTestCases()
	ret += technical_stoch_test.getTestCases()
	ret += technical_stats_test.getTestCases()
	ret += technical_bollinger_test.getTestCases()
	ret += dataseries_test.getTestCases()
	ret += csvbarfeed_test.getTestCases()
	ret += dbfeed_test.getTestCases()
	ret += broker_test.getTestCases()
	ret += strategy_test.getTestCases(includeExternal=False)
	ret += position_test.getTestCases()
	ret += smacrossover_strategy_test.getTestCases()
	ret += multi_instrument_strategy_test.getTestCases()
	ret += talib_test.getTestCases()
	ret += observer_test.getTestCases()
	ret += returns_analyzer_test.getTestCases()
	ret += trades_analyzer_test.getTestCases()
	ret += sharpe_analyzer_test.getTestCases()
	ret += drawdown_analyzer_test.getTestCases()
	ret += utils_test.getTestCases()
	ret += doc_test.getTestCases()

	return ret
Пример #2
0
def getTestCases():
    ret = []

    ret += technical_test.getTestCases()
    ret += technical_ma_test.getTestCases()
    ret += technical_vwap_test.getTestCases()
    ret += technical_linebreak_test.getTestCases()
    ret += technical_ratio_test.getTestCases()
    ret += technical_trend_test.getTestCases()
    ret += technical_rsi_test.getTestCases()
    ret += technical_cross_test.getTestCases()
    ret += technical_roc_test.getTestCases()
    ret += technical_stoch_test.getTestCases()
    ret += technical_stats_test.getTestCases()
    ret += technical_bollinger_test.getTestCases()
    ret += technical_highlow_test.getTestCases()
    ret += technical_cumret_test.getTestCases()
    ret += dataseries_test.getTestCases()
    ret += csvbarfeed_test.getTestCases()
    ret += dbfeed_test.getTestCases()
    ret += broker_test.getTestCases()
    ret += strategy_test.getTestCases()
    ret += position_test.getTestCases()
    ret += smacrossover_strategy_test.getTestCases()
    ret += multi_instrument_strategy_test.getTestCases()
    ret += talib_test.getTestCases()
    ret += observer_test.getTestCases()
    ret += returns_analyzer_test.getTestCases()
    ret += trades_analyzer_test.getTestCases()
    ret += sharpe_analyzer_test.getTestCases()
    ret += drawdown_analyzer_test.getTestCases()
    ret += utils_test.getTestCases()
    ret += doc_test.getTestCases()
    ret += mtgox_test.getTestCases()
    ret += yahoo_test.getTestCases()
    ret += resample_test.getTestCases()

    return ret