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

Enable Custom Exchange to Route Orders #108

Open
4 tasks done
AlexCatarino opened this issue Apr 26, 2024 · 3 comments
Open
4 tasks done

Enable Custom Exchange to Route Orders #108

AlexCatarino opened this issue Apr 26, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@AlexCatarino
Copy link
Member

Expected Behavior

Be able to use a custom exchange via order properties.

Actual Behavior

The default exchange the Symbol should be routed to is hard-coded as "Smart," and we might need to send it to another.

Potential Solution

Implement PreferredExchange in InteractiveBrokerOrderProperties and use this value as default.

Reproducing the Problem

N/A

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
@AlexCatarino AlexCatarino added the enhancement New feature or request label Apr 26, 2024
@violet-day
Copy link

any progress?

@violet-day
Copy link

violet-day commented Jul 26, 2024

can u give me some advise to implment this feature @AlexCatarino

@AlexCatarino
Copy link
Member Author

Hi @violet-day,
The OrderProperties has the Exchange property. We can use this property to set the contract.Exchange.

We have an example on how to use order properties here.

Good luck!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants