In sandbox mode the tradeship does not take the resources from your ship. Open trade ship menu and sell 50 iron. 50 iron is taken from the ship at this instance. Once the trade ship arrives 30s later the balance goes up and the iron reappears in the ship.