frontend-monorepo
frontend-monorepo copied to clipboard
Orders and fills on trading page to be market specific
The Chore
Orders and fills on the trading page should be market specific. Right now if you cancel all orders via the orders table then all orders across all markets will be cancelled. Instead lets only show orders (and fills) for the current market you are viewing.
Orders and fills on the portfolio page should remain the same and show everything across all markets
Tasks
- [ ] Update queries and variables so that trading page orders and fills only show orders for that market
- [ ] Ensure that the cancel all orders functionality passes in the right arguments so that only orders for the current market are cancelled
- [ ] Ensure that you only get subscription updates for this market
- [ ] Confirmation dialogue content is update to be clear that it is orders for this market that are being cancelled