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

Add support for IOC or FOK order types. #80

Open
ningsuhen opened this issue Jun 10, 2024 · 2 comments
Open

Add support for IOC or FOK order types. #80

ningsuhen opened this issue Jun 10, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@ningsuhen
Copy link

Alpaca now supports IOC or FOK orders which cancels if it can't be filled. Not sure if the downstream Alpaca-java supports it but it is in the V2 API. Roboquant has a check which only allows DAY/GTC orders.

@jbaron
Copy link
Collaborator

jbaron commented Jun 10, 2024

Roboquant itself already support these TimeInForce policies but indeed doesn't map them yet to Alpaca orders. So should be easy to add them also for Alpaca.

@jbaron
Copy link
Collaborator

jbaron commented Jun 19, 2024

In the latest unstable 3.0 this has been added. So once that is released, should be included.

@jbaron jbaron added the enhancement New feature or request label Jun 29, 2024
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