Open ningsuhen opened 5 months ago
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.
In the latest unstable 3.0 this has been added. So once that is released, should be included.
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.