-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds Pre and Post Tradier Order Duration #17
Comments
How far back does the synchronization go? The error is pulling trade data back to "create_date":"2022-03-31T20:00:26.865Z" The error is not reliant on the trade being unfilled when LEAN is deployed. The Pre-market trade was placed and filled prior to starting LEAN. |
Hey @bryan78305! Sorry about that, issue should be solved now by PR QuantConnect/Lean#6281. Leaving this issue open as feature to add support for Pre and Post order duration for tradier. |
The error also happens if the order is placed and filled before deploying
LEAN. It doesn't have to be an open order.
…On Thu, Feb 16, 2023 at 10:57 AM Alexandre Catarino < ***@***.***> wrote:
Expected Behavior
Be able to place limit order outside market hours with Tradier:
https://blog.tradier.com/blog/2018/05/trading-in-the-pre-and-post-market-sessions-tradier-brokerage.html
Actual Behavior
It's not possible.
Additionally, if there is one of these orders in the account, Lean throws
an exception:
Error converting value "pre" to type 'QuantConnect.Brokerages.Tradier.TradierOrderDuration'
Potential Solution
N/A
Reproducing the Problem
Please a limit order with the pre duration:
[image: pre]
<https://user-images.githubusercontent.com/6889033/161293065-e13fa3ae-4124-4bf9-b9a6-b3d3515c3a5d.png>
and deploy LEAN before it is filled.
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 <https://github.com/QuantConnect/Lean/issues>
- I have provided detailed steps to reproduce the issue
—
Reply to this email directly, view it on GitHub
<#17>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKBGPX4AP3MQP46MAZODOSDWXZ2BJANCNFSM6AAAAAAU6ROFLE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Expected Behavior
Be able to place limit order outside market hours with Tradier:
https://blog.tradier.com/blog/2018/05/trading-in-the-pre-and-post-market-sessions-tradier-brokerage.html
Actual Behavior
It's not possible.
Additionally, if there is one of these orders in the account, Lean throws an exception:
Potential Solution
N/A
Reproducing the Problem
Please a limit order with the
pre
duration:and deploy LEAN before it is filled.
Checklist
master
branchThe text was updated successfully, but these errors were encountered: