anchor.diff:  
   
   terminate(_Reason, State) ->
  +    gen_tcp:close(State#state.ticker_sock),
       {ok, State}.
   
   
  
positive.code: %% Internal
  %% ============================================================================
  
  get_quotes() ->
      {ok, Sock} = gen_tcp:connect("localhost", 7777, [binary]),
      Msg = "\n",
      ok = gen_tcp:send(Sock, Msg),
      receive
          {tcp, Sock, Data} ->
              ok = gen_tcp:close(Sock),
              binary_to_term(Data)
      end.
  
  
  
negative.code: -record(state, {name                   :: atom()
                 ,portfolio = dict:new() :: dict()
                 ,cashflow  = []         :: list()
                 ,ticker_sock            :: gen_tcp:socket()
                 }).
  
  
  