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

Conditional orders #38

Closed
ebaioni opened this issue Sep 2, 2020 · 6 comments
Closed

Conditional orders #38

ebaioni opened this issue Sep 2, 2020 · 6 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@ebaioni
Copy link

ebaioni commented Sep 2, 2020

Hi there,
is there a way to transmit a conditional order? could you provide an example?
I'm referring to https://interactivebrokers.github.io/tws-api/order_conditions.html

https://www.interactivebrokers.com.au/en/index.php?f=584#:~:text=Conditional%20orders%20allow%20the%20user,or%20below%20a%20specified%20level.

Once again, thanks for the awesome api wrapper

@ceddybi
Copy link
Member

ceddybi commented Sep 2, 2020

Thank you very much for reporting this, I have very little knowledge on the core, this was opened a long time ago from the original library pilwon/node-ib#132, (we forked it in typescript as https://github.com/stoqey/ib) please feel free to contribute on this if you get any leads on this

@ceddybi ceddybi added enhancement New feature or request help wanted Extra attention is needed labels Sep 23, 2020
@ceddybi
Copy link
Member

ceddybi commented Feb 15, 2021

@mfrener just out of curiosity, how can we add this in the newer features of stoqey/ib#20 or we already have it?

@mfrener
Copy link

mfrener commented Feb 16, 2021

We already have it on https://github.com/stoqey/ib
Have a look at https://github.com/stoqey/ib/tree/master/src/api/order/condition and and pick the conditions you need.
Than set it to Oder.conditions (works similar to official TWS API Order.Conditions )

@ceddybi
Copy link
Member

ceddybi commented Feb 16, 2021

@mfrener Perfect, thank you very much, you're super awesome 🙏🙌💯

PS: @ebaioni I think moving forward you should use IB instead https://github.com/stoqey/ib, because this module uses it, but it's behind a lot of newer features from IB,

In the meantime, I'll mark this as a feature request for when we upgrade IBKR with the new version of IB

Thank you

@ceddybi
Copy link
Member

ceddybi commented Feb 20, 2021

Am closing this, as https://github.com/stoqey/ib already have this feature, what's left is to introduce it on here in IBKR

@ceddybi ceddybi closed this as completed Feb 20, 2021
@mulyoved
Copy link

mulyoved commented Mar 28, 2021

If anyone interested I am looking for help with this feature https://www.upwork.com/jobs/~01e19782e399a6c107

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

No branches or pull requests

4 participants