Spreadsheet: 736134d1623358431-calculate-profits-takeprofitexample
Sheet: Sheet1

Limits:
Trade Symbol | Transaction | Date | [NAME] | Quantity | Price | Total Cost | Buy Fees | Sell Fees |  | Current Balance (FIFO) |  | Take profit
 | Buy | 2021-02-16 00:00:00 |  | 18 | 0.053726 |  | 0 | 0
 |  |  |  | 1878 | 0.053258 |  | 0 | 0
 |  |  |  | 927 | 0.053937 |  | 0 | 0
 |  |  |  | 956 | 0.052265 |  | 0 | 0
 |  |  |  | 485 | 0.051456 |  | 0 | 0
 | Buy | 2021-02-17 00:00:00 |  | 492 | 0.050783 |  | 0 | 0
 |  |  |  | 494 | 0.050838 |  | 0 | 0
 |  |  |  | 499 | 0.050085 |  | 0 | 0
 |  |  |  | 502 | 0.049724 |  | 0 | 0
 |  |  |  | 504 | 0.049619 |  | 0 | 0
 |  |  |  | 1038 | 0.048157 |  | 0 | 0
 |  |  |  | 526 | 0.047515 |  | 0 | 0
 | Buy | 2021-02-19 00:00:00 |  | 466 | 0.053562 |  | 0 | 0
 |  |  |  | 466 | 0.053684 |  | 0 | 0
 |  |  |  | 467 | 0.053401 |  | 0 | 0
 | Buy | 2021-02-21 00:00:00 |  | 1792 | 0.055763 |  | 0 | 0
 |  |  |  | 452 | 0.055282 |  | 0 | 0
 | Buy | 2021-02-22 00:00:00 |  | 972 | 0.051346 |  | 0 | 0
 |  |  |  | 2002 | 0.049938 |  | 0 | 0
 |  |  |  | 1039 | 0.0481 |  | 0 | 0
 |  |  |  | 1160 | 0.0431 |  | 0 | 0
 | Buy | 2021-02-23 00:00:00 |  | 2063 | 0.048468 |  | 0 | 0
 |  |  |  | 2119 | 0.047188 |  | 0 | 0
 |  |  |  | 2141 | 0.046694 |  | 0 | 0
 |  |  |  | 4304 | 0.046412 |  | 0 | 0
 |  |  |  | 4423 | 0.045193 |  | 0 | 0
 |  |  |  | 1115 | 0.044863 |  | 0 | 0
 |  |  |  | 2341 | 0.042693 |  | 0 | 0
 |  |  |  | 1044 | 0.047848 |  | 0 | 0
 |  |  |  | 2130 | 0.04692 |  | 0 | 0
 |  |  |  | 1103 | 0.045282 |  | 0 | 0
 |  |  |  | 2247 | 0.04447 |  | 0 | 0
 |  |  |  | 2241 | 0.044633 |  | 0 | 0
 |  |  |  | 2249 | 0.04459 |  | 0 | 0
 |  |  |  | 2285 | 0.043624 |  | 0 | 0
 |  |  |  | 2321 | 0.043137 |  | 0 | 0
 |  |  |  | 2348 | 0.04252 |  | 0 | 0
 |  |  |  | 2349 | 0.042518 |  | 0 | 0
 |  |  |  | 2383 | 0.041881 |  | 0 | 0
 |  |  |  | 2359 | 0.042418 |  | 0 | 0
 |  |  |  | 2237 | 0.044743 |  | 0 | 0
 |  |  |  | 2267 | 0.044131 |  | 0 | 0
 |  |  |  | 2328 | 0.042926 |  | 0 | 0
 | Buy | 2021-02-28 00:00:00 |  | 2141 | 0.046662 |  | 0 | 0
 |  |  |  | 2198 | 0.045484 |  | 0 | 0
 | Buy | 2021-03-23 00:00:00 |  | 36918 | 0.054254 |  | 0 | 0
 |  |  |  | 9454 | 0.05294 |  | 0 | 0
 |  |  |  | 22519 | 0.053356 |  | 0 | 0
 |  |  |  | 18800 | 0.05321 |  | 0 | 0
 | Buy | 2021-03-24 00:00:00 |  | 18675 | 0.053553 |  | 0 | 0
 |  |  |  | 18636 | 0.053674 |  | 0 | 0
 |  |  |  | 18881 | 0.053026 |  | 0 | 0
 |  |  |  | 18881 | 0.053349 |  | 0 | 0
 |  |  |  | 19256 | 0.052001 |  | 0 | 0
 | Buy | 2021-03-25 00:00:00 |  | 34873 | 0.051643 |  | 0 | 0
 | Buy | 2021-03-26 00:00:00 |  | 22728 | 0.052847 |  | 0 | 0
 | Buy | 2021-03-28 00:00:00 |  | 37051 | 0.054056 |  | 0 | 0
 |  |  |  | 36999 | 0.054296 |  | 0 | 0
 |  |  |  | 37122 | 0.053924 |  | 0 | 0
 |  |  |  | 37180 | 0.053883 |  | 0 | 0
 |  |  |  | 37209 | 0.053779 |  | 0 | 0
 |  |  |  | 37327 | 0.053701 |  | 0 | 0
 |  |  |  | 37288 | 0.053875 |  | 0 | 0
 |  |  |  | 37573 | 0.05344 |  | 0 | 0
 | Sell | 2021-03-31 00:00:00 | Short | -609240 | 0.052981 |  | 0 | 0
 | Buy | 2021-04-01 00:00:00 |  | 169313 | 0.059573 |  | 0 | 0
 | Sell | 2021-04-01 00:00:00 | Short | -169313 | 0.059608 |  | 0 | 0
 | Buy | 2021-04-06 00:00:00 |  | 53449 | 0.065796 |  | 0 | 0
 |  |  |  | 763079 | 0.066144 |  | 0 | 0
 |  |  |  | 71514 | 0.065898 |  | 0 | 0
 | Sell | 2021-04-11 00:00:00 | Short | -888042 | 0.071222 |  | 0 | 0
 | Buy | 2021-04-11 00:00:00 |  | 26352 | 0.076026 |  | 0 | 0
 | Buy | 2021-04-12 00:00:00 |  | 27641 | 0.07253 |  | 0 | 0
 | Sell | 2021-04-12 00:00:00 | Short | -53993 | 0.078056 |  | 0 | 0
 | Buy | 2021-04-13 00:00:00 |  | 21578 | 0.092837 |  | 0 | 0
 |  |  |  | 110640 | 0.091214 |  | 0 | 0
 |  |  |  | 107107 | 0.094164 |  | 0 | 0
 |  |  |  | 23038 | 0.087102 |  | 0 | 0
 | Sell | 2021-04-13 00:00:00 | Short | -262363 | 0.116707 |  | 0 | 0
 | Buy | 2021-04-13 00:00:00 |  | 17770 | 0.11338 |  | 0 | 0
 | Buy | 2021-04-14 00:00:00 |  | 39939 | 0.126116 |  | 0 | 0
 |  |  |  | 23747 | 0.126617 |  | 0 | 0