Get your taxes done using TurboTax

you bought a Publicly Traded Partnership. it is not a fund.   you should get a k-1 in the year of sale. in addition, with it you should have gotten a supplemental schedule that allows you to compute capital gain and any ordinary income on disposition. 

the capital gain goes with other security sales on form 8949 type B or E. cost basis not reported to IRS.

the cost basis is determined by using that supplemental schedule

but if you want to do it yourself, (unadvisable) 

what you paid when you bought it + net income including any non-taxable income - net losses including any non-deductible losses and credits - distributions + ordinary income realized on the disposition

 

Sale Price - from the 1099B you got or should get from the broker

Selling Expense - $0

Partnership Basis by using the supplemental schedule

Ordinary Gain from that supplemental schedule

 

only the ordinary income portion of the disposition gain is reported through the K-1

sales price = ordinary income

cost = 0

ordinary income  = sales price above.

 

 

1250 Gain - unlikely but that too would be on the supplemental schedule. 

 

1250 gain is normally reported on line 9c of k-1