liquidateExistingHoldings flag needs improvement
Opened this issue · 0 comments
DerekMelchin commented
Expected Behavior
These two algorithms produce the same result:
- https://www.quantconnect.com/terminal/processCache?request=embedded_backtest_e465b6684d8f1600119d56327c61a12c.html
- https://www.quantconnect.com/terminal/processCache?request=embedded_backtest_2e4aa32cb635e83e519c7df012cca173.html
Actual Behavior
They produce different results. The second algorithm ends up in a short position.
Potential Solution
N/A
Reproducing the Problem
Run the algorithms above
System Information
QC Cloud
Checklist
- I have completely filled out this template
- I have confirmed that this issue exists on the current
master
branch - I have confirmed that this is not a duplicate issue by searching issues
- I have provided detailed steps to reproduce the issue