When we send a market / limit order with an attached TP / SL it is POSSIBLE for the Market / Limit to be processed successfully in the batch but the stop order to fail.
If that was to happen it would mean the user would not actually have the risk mgmt in place that they thought they would when they submitted the order, so we need to have some decent error messaging in this case.
Acceptance Criteria
[ ] Check the errors that are received on batch orders, we should have sensible errors for
[ ] Your limit / market order and your stop order both failed
[ ] Your limit / market order went through but your stop order failed so you have no TP / SL on your orde
[ ] Your limit / market order failed but the stop went through so you might want to cancel that because its pointless
[ ] These all need to be replayed to the user via the toasts and the toast should be orange in each case
The Chore
When we send a market / limit order with an attached TP / SL it is POSSIBLE for the Market / Limit to be processed successfully in the batch but the stop order to fail.
If that was to happen it would mean the user would not actually have the risk mgmt in place that they thought they would when they submitted the order, so we need to have some decent error messaging in this case.
Acceptance Criteria
Additional details / background info