roq-trading / roq-issues

Issue tracker for Roq's software solutions.
https://roq-trading.com/
1 stars 0 forks source link

[roq-api] CancelAllOrders / CancelAllOrdersAck #414

Closed thraneh closed 11 months ago

thraneh commented 11 months ago

To better support various use-cases, it has been decided to improve the workflow around CancelAllOrders.

thraneh commented 11 months ago
  • Adding exchange/symbol and side to the request. Potentially useful when forwarding a cancel order "filter" to an exchange.

Done

  • Adding fields to GatewaySettings to inform clients what filters are supported. This can potentially be used to avoid a round-trip to learn if a filter is supported. The FIX Bridge can benefit from this.

Done

20231011

thraneh commented 11 months ago
  • Adding CancelAllOrdersAck to notify the client about "forward" (to exchange) or immediate reject (if not connected or required filter not supported).

20231012

thraneh commented 11 months ago

Have reviewed and updated all gateways.

There are complications making it difficult to create a proper workflow:

The roq-server library has been reviewed:

This is currently how far we can support request/response style CancelAllOrders / CancelAllOrdersAck with filters.

Next steps will depend on actual use-cases and the experienced learned from this change. Closing this issue for now.