LocalBitcoins has shut down, but if you still have an old CSV file, you can import your historical deposit and withdrawal transactions into CoinTracking.
How do I import LocalBitcoins CSV data?
Visit the Custom Exchange Import page.
Upload your LocalBitcoins CSV file.
Apply the appropriate settings for deposits and withdrawals only
You can save these settings for future use if needed.
This method allows you to retain historical data for portfolio and tax reporting purposes, even after the exchange closure.