anchor.diff:                  CashFlow
               ),
   
  -            % Send to scribe for recording
  +            % Log transaction to file
               scribe_proc ! {transaction, TransactionData},
   
  +            % Print accumulated values to stdout
               NewPortfolioList = dict:to_list(NewPortfolio),
               io:format("~p PORTFOLIO:~p~n", [ProcName, NewPortfolioList]),
               io:format("~p CASH BALANCE:~p~n", [ProcName, CashBalance]),
               io:format("~n"),
   
  +            % Now do it all over again! :)
               broker(NewPortfolio, NewCashFlow);
   
           stop ->
  
positive.code:                 price = Price
              },
  
              % Perform transaction
              {
                  {portfolio, NewPortfolio}, {cashflow, NewCashFlow}
              } = market_lib:transaction(
  
negative.code: 
      receive
          {ticker, {prices, Prices}} ->
  
              % Decide what to do
              {Symbol, Price} = market_lib:choice(Prices),
              TransactionType = market_lib:choice([buy, sell]),
              NumberOfShares = market_lib:choice(
                  lists:seq(1, ?MAX_SHARES_PER_TRANSACTION)
              ),
  
              % Pack transaction data
              TransactionData = #transaction{
                  timestamp = market_lib:timestamp(),
                  broker = ProcName,
  