Currently the trade will simply not go through with a warning, but I can definitely see the importance. I did start sketching out an idea for this change previously, but quickly realised that this would involve migrating existing trades to the new system and that could be messy in practice.
The possibilities for migration are:
- deduct the embargoed currency from pre-existing trades there and then when the update is made (bound to fail in many ways and also not be very good user experience)
- provide a button to migrate the trade to the new system when clicked, deducting it then (the back-end would have to handle two cases for trades then - check if the trade is migrated)
- create all new trades in the new system but keep old trades with the old system. Again this would mean handling two cases of trades, plus ample notice in the UI of whether a certain trade is old vs new.
Not that that means it can't be done, but that it would be a much more involved change than I anticipated...which is why I put it on the backburner 😅 I will look into it again though, since it has been suggested a few times!