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
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:
@@ -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()))
|
||||
|
||||
Reference in New Issue
Block a user