mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-19 10:24:35 +08:00
Compare commits
1 Commits
f48bf813e3
...
you-n-g-pa
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
74cb26c38f |
@@ -104,9 +104,9 @@ class TopkDropoutStrategy(BaseSignalStrategy):
|
|||||||
only_tradable : bool
|
only_tradable : bool
|
||||||
will the strategy only consider the tradable stock when buying and selling.
|
will the strategy only consider the tradable stock when buying and selling.
|
||||||
if only_tradable:
|
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.
|
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)
|
super().__init__(**kwargs)
|
||||||
self.topk = topk
|
self.topk = topk
|
||||||
|
|||||||
Reference in New Issue
Block a user