diff --git a/examples/vn_trader/run.py b/examples/vn_trader/run.py index e55a1cef..1c15d1bc 100644 --- a/examples/vn_trader/run.py +++ b/examples/vn_trader/run.py @@ -36,7 +36,7 @@ from vnpy.gateway.bybit import BybitGateway # from vnpy.app.cta_strategy import CtaStrategyApp # from vnpy.app.csv_loader import CsvLoaderApp # from vnpy.app.algo_trading import AlgoTradingApp -# from vnpy.app.cta_backtester import CtaBacktesterApp +from vnpy.app.cta_backtester import CtaBacktesterApp # from vnpy.app.data_recorder import DataRecorderApp # from vnpy.app.risk_manager import RiskManagerApp # from vnpy.app.script_trader import ScriptTraderApp @@ -83,7 +83,7 @@ def main(): main_engine.add_gateway(BybitGateway) # main_engine.add_app(CtaStrategyApp) - # main_engine.add_app(CtaBacktesterApp) + main_engine.add_app(CtaBacktesterApp) # main_engine.add_app(CsvLoaderApp) # main_engine.add_app(AlgoTradingApp) # main_engine.add_app(DataRecorderApp) diff --git a/requirements.txt b/requirements.txt index fd5f8f45..5d69973c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -9,6 +9,7 @@ pymysql psycopg2 mongoengine numpy +pandas==0.24.2 matplotlib seaborn futu-api