 The broker gives the money to exchange and the shares are transferred to B.But the exchange keeps the shares with itself on behalf of B.Now, say one month later, when A has enough money, he gives this money to B and takes the shares.