Result formula and example
Result = quantity × (sell price − buy price) − fees
Example: you buy 0.1 BTC at 60,000 USDT, paying 6,000 USDT. The price rises to 66,000 and you sell for 6,600 USDT: a result of +600 USDT, or +10%, before fees. If the price drops to 54,000 instead, the position is worth 5,400 USDT — down 600, but the coins are still yours and nobody closes them.
Spot vs perpetual futures
| Spot | Perpetual futures | |
|---|---|---|
| What you hold | the coin itself | a contract on its price |
| Leverage | none (plain spot) | yes |
| Liquidation | no | yes |
| Funding | no | you pay or receive it |
| Profit from a fall | no, you can only sell what you own | yes, with a short |
The same trade on a perpetual future at 10x leverage needs 600 USDT of margin. A rise to 66,000 brings the same +600 USDT — that is +100% on the margin. But a fall to 54,000 wipes out the whole margin, and liquidation comes even earlier: the exchange closes the position once the margin drops to the maintenance level. On spot the same fall is just a paper loss.
Cost basis: FIFO or average
If you bought in parts, the result of a sale depends on which buy price you use. You bought 0.1 BTC at 60,000 and 0.1 BTC at 64,000, then sold 0.1 BTC at 66,000. Under FIFO (first bought, first sold) the result is +600 USDT; at the 62,000 average it is +400 USDT. Both methods are valid — the point is to stick to one. More in «Crypto portfolio tracking». The average price of several buys is worked out by the average down calculator.
Common mistakes
- Counting the growth of your coins' value as return without subtracting deposits.
- Ignoring fees: with frequent trades they cut the result noticeably.
- Mixing up the spot and futures balance: they carry different risks and accounting.
- Giving third-party services an API key that can withdraw funds.
Spot in Davinchu
- Journal. For a Bybit account with the «Spot» market, sells are matched against buys under FIFO and every trade lands in the journal with its result. Pairs quoted in USDT and USDC are counted, and history is loaded for up to two years back.
- Portfolio. Spot balances from Bybit, Binance, OKX, BingX and HTX arrive in the «Portfolio» section every 15 minutes.
- Security. You connect with an API key; a key that can withdraw funds is rejected at connection. How to issue a read-only key — «Read-only API key».
More on the journal and portfolio for crypto — «Davinchu for crypto traders».
Frequently asked questions
How is spot different from futures?
On spot you own the coin; with futures you hold a contract on its price, with margin and leverage. Perpetual futures have funding and liquidation; plain spot has neither.
Can I lose more than I put in on spot?
Not on plain spot without leverage: the worst case is the coin going to zero. Losing more than you invested takes borrowed funds.
How is profit counted if I bought in parts?
You need a cost basis: under FIFO a sale uses the price of the earliest buys, under average cost the average of all of them. Davinchu matches Bybit spot trades under FIFO.