From fb5779a64c8b81ea9c318d2887dfb42b559b0709 Mon Sep 17 00:00:00 2001 From: you-n-g Date: Mon, 18 Jul 2022 08:53:46 +0800 Subject: [PATCH] Update docs of strategy (#1209) --- qlib/contrib/strategy/signal_strategy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qlib/contrib/strategy/signal_strategy.py b/qlib/contrib/strategy/signal_strategy.py index 20b051cc7..d0e55c32a 100644 --- a/qlib/contrib/strategy/signal_strategy.py +++ b/qlib/contrib/strategy/signal_strategy.py @@ -104,9 +104,9 @@ class TopkDropoutStrategy(BaseSignalStrategy): only_tradable : bool will the strategy only consider the tradable stock when buying and selling. if only_tradable: - strategy will make buy sell decision without checking the tradable state of the stock. - else: strategy will make decision with the tradable state of the stock info and avoid buy and sell them. + else: + strategy will make buy sell decision without checking the tradable state of the stock. """ super().__init__(**kwargs) self.topk = topk