Skip to content
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

[Feature Request] Support for Bracket Order #8253

Open
3 of 4 tasks
fishstoryyy opened this issue Aug 14, 2024 · 0 comments
Open
3 of 4 tasks

[Feature Request] Support for Bracket Order #8253

fishstoryyy opened this issue Aug 14, 2024 · 0 comments

Comments

@fishstoryyy
Copy link

fishstoryyy commented Aug 14, 2024

Expected Behavior

Native support for bracket order (IBRK TWS Api bracket order example)

Currently, the workaround to emulate bracket orders is through onOrderEvent (discussion) However, brokerages such as IBKR supports submitting all orders as a bracket, which is not currently supported in Lean (IBKR plug in, bracket orders involves assigning parent orders). Attaching an order with a stop loss and take profit is common and the value of supporting bracket orders natively in Lean helps reduce code needed and avoid delays in order status transmissions. Also in live trading, being able to place bracket orders alleviates the unreliability by a huge degree as it eliminates possible issues such as server goes down, network issues, market data issues, etc. Please consider offer this! thank you.

related issue: #5219

Actual Behavior

No native support of bracket orders.

Potential Solution

Reproducing the Problem

System Information

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
@fishstoryyy fishstoryyy changed the title [Feature Request support for Bracket Order [Feature Request] Support for Bracket Order Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant