You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Liquidate method can place asynchronous orders not set the order properties.
Actual Behavior
Liquidate once place synchronous orders or set their properties.
Potential Solution
Option 1: The signature of the order methods in QCAlgorithm has the asynchronous parameter before the tag, so we should not add a parameter at the end. Instead, we need more method overloads.
Option 2: If the first argument is null, Liquidate should be asynchronous.
Reproducing the Problem
N/A. I noticed that a live algorithm wanted to open and close positions asynchronously. While there is an option using market orders to open the positions, it used Liquidate to close them and the orders were synchronous.
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
The text was updated successfully, but these errors were encountered:
Expected Behavior
The
Liquidate
method can place asynchronous orders not set the order properties.Actual Behavior
Liquidate
once place synchronous orders or set their properties.Potential Solution
Option 1: The signature of the order methods in QCAlgorithm has the asynchronous parameter before the tag, so we should not add a parameter at the end. Instead, we need more method overloads.
Option 2: If the first argument is
null
, Liquidate should be asynchronous.Reproducing the Problem
N/A. I noticed that a live algorithm wanted to open and close positions asynchronously. While there is an option using market orders to open the positions, it used Liquidate to close them and the orders were synchronous.
Checklist
master
branchThe text was updated successfully, but these errors were encountered: