anchor.diff:  -module(market).
   -compile(export_all).
  +
  +-define(MAX_LISTINGS, 5).
  +-define(MAX_BROKERS, 3).
   
   
   %%%----------------------------------------------------------------------------
  
positive.code: %%%----------------------------------------------------------------------------
  %%% Agents
  %%%----------------------------------------------------------------------------
  ticker(Listings, Interval) ->
      MaxBrokers = 3,
      Brokers = atoms_sequence("broker", "_", 1, MaxBrokers),
  
      receive
          stop ->
  
negative.code: 
  
  stop() ->
      Brokers = atoms_sequence("broker", "_", 1, ?MAX_BROKERS),
  
      lists:foreach(fun(Broker) -> Broker ! stop end, Brokers),
      ticker_proc ! stop.
  