More market examples

Olympia: The Age of Gods PBEM (Oct 4 2000)

### 7.2.6: More market examples

A buyer who desires three iron at no more than five gold each orders:

      > buy 79 3 5
      Try to buy three iron [79] for 5 gold each.

Suppose the only seller of iron in this city had ordered:

      > sell 79 5 6
      Try to sell five iron [79] for 6 gold each.

The trade will not take place, because the seller's price exceeds the buyer's. Later, the buyer travels to a different city, where another seller has previously issued:

      > sell 79 10 4
      Try to sell ten iron [79] for 4 gold each.

At the end of the day, the trade will be matched:

      Bought three iron [79] for 12 gold.

Note that the trade takes place at the seller's price (because there were no other buyers), and that the seller will still be offering seven iron at four gold each.

If the seller had only one unit of iron for sale, the trade would have executed, but the buyer would still be looking for two more iron to buy, at five gold each or better.