"How do I get rid of the asterisks and Gain/loss calculations done?"
First, note the text - which begins with an asterisk - at the foot of the Portfolio display, just below the "Totals" row.
Second: go to Quicken Help > Search Quicken Help, key "placeholder", press Enter (or click "iSeek"), and read as many of the resulting topics as necessary. At a minimum, I suggest:
"About placeholder entries",
"How do I resolve placeholder entries" and
"How do I decide how to resolve placeholder entries