Skip to content

Commit

Permalink
Update signal_strategy.py (microsoft#1251)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChengzhenDu authored Aug 22, 2022
1 parent 08d828a commit cce6b6a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions qlib/contrib/strategy/signal_strategy.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,9 +222,6 @@ def filter_stock(li):
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,
Expand Down

0 comments on commit cce6b6a

Please sign in to comment.