So I put BTC in my wallet. Noticed a bug in the UI Trade Portal when I couldn't edit my offer with the cursor and text so I overpaid for a total of 6 Qortal like 8 offers higher than the current to test if I could buy with my BTC from within the Trade Portal. It's stuck on "TRADING" status and has yet to give me my 6 overpriced QORT
I've had this happen before. Typically means the Qort seller was not online, which presently locks your buy in trading. BTC will be refunded in about 7-10 days if it runs it own course and ultimately fails to trade. Word to the wise, do not delete your db until you have btc returned, in fact, you might want to backup the db.
I might be mistaken, but I believe you can shorten this time by cancelling via the API. Should have API and API Documentation enabled in settings.json
I would suggest going into the support channel in discord to get exact directions how to cancel via API.
If I'm not mistaken, the exact scenario you describe may addressed in the next release.