In Each purchase, a sale or keep comes out of that row's purchase. In By item, it comes out of your oldest purchase first. Profit is sale price minus what you paid, less the sale fee.
Live foreign stock and buy prices come from YATA's public travel feed. Restock times come from a community restock model that updates every few minutes. Sell prices use live item market prices when your API key is linked.
Columns are matched by header name (country, item, buy/cost, sell/value/market, stock). Without headers, the order above is assumed.
Item dividends you collect are added to your to-sell list as a reminder to sell them. They cost you nothing, so their full sale price counts as profit. Money payouts from stocks aren't tracked.
A trip is a group of purchases made in one country within a couple of hours. Profit per hour uses the round-trip flight time, and counts unsold stock at today's price.
Your data saves to your Torn account automatically. A backup is only needed if you want your own copy.