Too many Koinly transactions from bots and daily rewards? Squeeze the CSV.
TxSqueeze merges bot fills and staking rewards into one row per day, week or month. The file keeps its format, so Koinly imports it as before.
Squeeze a CSV
What to merge
Rows merge when they fall in the same period and have the same value in every keep-apart column. Numbers in sum columns are added, average columns (prices) are averaged, and other columns keep the last row's value.
Result
Preview
How it works
Export the CSV
From the exchange or bot, or Koinly's universal format. Binance users can use the "Generate all statements" export.
Drop it in and check the roles
Pick per day, week or month. Each column is kept apart, summed, averaged or keeps the last value.
Import the squeezed file
Same header and column order as the original. Remove the original import first, or Koinly counts it twice.
What it merges in each file
Binance transaction history
Columns UTC_Time, Account, Operation, Coin, Change. Reward-type operations (Simple Earn interest, staking rewards, distributions, airdrops, Launchpool, cashback, commissions) merge per period, account, operation and coin. Trades, deposits, withdrawals and subscriptions or redemptions stay exactly as they are, because Koinly pairs them by timestamp.
Koinly universal CSV
Rows merge when they share label, currencies and period. Unlabeled one-sided rows (transfers between your own wallets) are left alone so Koinly can still match them. TxHash is cleared on merged rows and the description says how many rows were merged.
Anything else
KuCoin or Pionex bot fills, Bybit, OKX and so on: choose the date column, the columns that must match and the number columns to add. Amounts with the unit attached, such as 0.0012BTC, are summed per unit.
Delete or replace the original import in Koinly first. The squeezed file holds the same transactions, so importing both double counts them.
Why merge before you import
Koinly bills by transaction count, and every grid-bot fill, daily staking reward and Simple Earn interest payment counts as one. Koinly can bulk-aggregate deposits per day inside the app, but it can't merge trades, withdrawals or fees in bulk, or roll up by week or month. People have asked for bot-trade merging since 2022.
TxSqueeze merges the rows in the CSV before you import, the way Koinly support suggests ("tally up ... on a certain day/week/month"), and keeps the original format so Koinly's importer still reads it.
Questions
Something else? Email us.
Is merging rewards allowed for tax purposes?
Koinly's support team recommends it on its own forum for exactly this problem (example, example). Daily merging keeps each day's income at that day's prices; weekly or monthly merging is coarser. Rules differ by country, and this is not tax advice. If in doubt, ask your accountant which period to use.
Does my data leave my computer?
No. The CSV is parsed and merged by JavaScript in this page. To check, disconnect from the internet after the page loads; the tool keeps working.
Something looks wrong.
Email us with the header row of your file and what went wrong. Leave out amounts and addresses you would rather keep private.