Remove outdated comments (#8601)
Research Regression Tests / build (push) Has been cancelled
Python Virtual Environments / build (push) Has been cancelled
API Tests / build (push) Has been cancelled
Benchmarks / build (push) Has been cancelled
Build & Test Lean / build (push) Has been cancelled
Regression Tests / build (push) Has been cancelled
Report Generator Tests / build (push) Has been cancelled

* remove oudated comments

* remove outdated comments

---------

Co-authored-by: Zekun Wang <zekun.wang@uwaterloo.ca>
This commit is contained in:
Zekun Wang
2025-02-21 08:55:54 -05:00
committed by GitHub
parent bd144e021d
commit f9d84a6893
2 changed files with 0 additions and 8 deletions
@@ -135,11 +135,7 @@ class BasicTemplateCryptoAlgorithm(QCAlgorithm):
self.buy("LTCUSD", 10)
else:
if self.portfolio.cash_book["LTC"].amount > 0:
# The following two statements currently behave differently if we have initial holdings:
# https://github.com/QuantConnect/Lean/issues/1860
self.liquidate("LTCUSD")
# self.set_holdings("LTCUSD", 0)
def on_order_event(self, order_event):
self.debug("{} {}".format(self.time, order_event.to_string()))