1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-06-06 05:51:17 +08:00

Update signal_strategy.py (#1251)

This commit is contained in:
路旁的叶修
2022-08-22 17:45:54 +08:00
committed by GitHub
parent 8480407150
commit e78fe48a26

View File

@@ -222,9 +222,6 @@ class TopkDropoutStrategy(BaseSignalStrategy):
continue
# sell order
sell_amount = current_temp.get_stock_amount(code=code)
factor = self.trade_exchange.get_factor(
stock_id=code, start_time=trade_start_time, end_time=trade_end_time
)
# sell_amount = self.trade_exchange.round_amount_by_trade_unit(sell_amount, factor)
sell_order = Order(
stock_id=code,