As far as I can tell the game only tracks profit on trades and awards xp based on that. However, when you reload a save I believe the game has "forgotten" the price that you bought your goods. When you go to sell your goods, even if you make a huge profit, you won't get any xp. There is also...