From 4406e4a2eda286fba29e653968fde02e8761173e Mon Sep 17 00:00:00 2001 From: Albert King Date: Fri, 6 Sep 2024 06:17:45 +0800 Subject: [PATCH] Add ExecSignal and PosSizeContext class (#138) --- src/pybroker/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pybroker/__init__.py b/src/pybroker/__init__.py index 7e3d0aa..6bd504a 100644 --- a/src/pybroker/__init__.py +++ b/src/pybroker/__init__.py @@ -21,7 +21,7 @@ enable_model_cache, ) from pybroker.common import BarData, DataCol, Day, FeeMode, PriceType -from pybroker.context import ExecContext +from pybroker.context import ExecContext, ExecSignal, PosSizeContext from pybroker.config import StrategyConfig from pybroker.data import Alpaca, AlpacaCrypto, YFinance from pybroker.eval import EvalMetrics, BootstrapResult