Fix incorrect assignment in SymbolPair constructor and work on processTransaction method of Portfolio