Armed with the additional information it sounds like you have a good plan. Your long term path to wealth appears to be through equity trading and you happened to enjoy extraordinary appreciation this year which will be close to impossible to duplicate. Thus your plan to invest your procreeds in something with which you are more comfortable with makes sense for you.
RE in general is a slow plod unless you are good at flipping
. In my case I lose when I venture to equities so the RE path works for me but that is just me. I would point out to you that leveraging in RE is easy and raising cash in what is a phenomally low environment may be something for you to consider. Given the significant appreciation it would seem you could cash out refi and then keep the asset and raise funds for equity but this is a bit riskier and is not for everyone.
Best of luck.
As for transaction costs you can easily predict them as lidting agent commission plus selling agent commission. Then add another half to one percent of sales price for othernon recurring fees.