Not tax advice. US federal rules only, summarized from IRS guidance as of September 30, 2026.
Short version: A trading bot doesn’t change the tax rules, it multiplies them. Every sell and every crypto-to-crypto swap is a disposal with its own gain or loss. Bot positions that close within a year are short-term. Your exchange’s 1099-DA won’t necessarily have the basis right, so keep your own trade log.
1. Every fill is a disposal
The IRS treats virtual currency as property (IRS FAQ 2). Exchanging it “for other property, including for goods or for another virtual currency” is a capital gain or loss event (FAQ 16). Gain or loss is the fair market value received minus your adjusted basis (FAQ 17).
For a bot, that means:
- BTC → USD: taxable.
- BTC → ETH (or any pair not quoted in USD): taxable, even though you never touched dollars.
- A strategy that opens and closes a position 20 times a month creates 20+ taxable disposals.
2. Short-term vs long-term
Held more than one year → long-term; otherwise short-term (IRS FAQ 6). Bot positions that close within days or weeks are short-term. A slow trend-follower that holds for months is still short-term if it exits before the one-year mark.
3. Wash sales
“The wash-sale rule in IRC Section 1091 typically doesn’t apply to crypto” because crypto isn’t treated as a security for federal tax purposes (TurboTax). So a bot that sells at a loss and re-buys minutes later is generally not caught by §1091 under current law. Check this again for the year you file.
4. Lot selection matters more at high frequency
You can choose which units are sold if you can specifically identify them (IRS FAQ 39), with records described in FAQ 40. If you don’t, units are treated as sold first in, first out (FAQ 41). With hundreds of fills, the method can change your gain materially, so pick it before you run reports and keep it consistent.
Basis is tracked per wallet or account now, not in one pool (The Tax Adviser, Mar 2026). A bot that trades on one exchange while you also hold coins elsewhere has separate basis pools.
5. What the 1099-DA will and won’t cover
- Tax year 2025: brokers report gross proceeds; basis optional (Form 1099-DA overview).
- Tax year 2026: basis required for covered assets (acquired after 2025) (IRS 1099-DA instructions).
- Assets transferred in may show blank basis (The Tax Adviser).
- DeFi and DEX bots: the current broker rules don’t reach decentralized, non-custodial platforms (The Crypto Basic).
Full explainer: Form 1099-DA explained.
6. Where it goes on the return
Each disposal goes on Form 8949, then Schedule D. Digital assets use boxes G/H/I (short-term) and J/K/L (long-term), not C or F (IRS Form 8949 instructions).
7. Recordkeeping for bot operators
The IRS says to keep records documenting receipts, sales, exchanges or other dispositions and fair market value (FAQ 46). For a bot, most of that can be automated:
- Keep the bot’s own trade database. Freqtrade stores trades in a SQLite database (Freqtrade SQL cheat-sheet); back it up monthly.
- Export the exchange history. Kraken exports are created from the Documents page (Kraken Support); do it at least quarterly. The exchange’s record is what its 1099-DA is built from.
- Reconcile the two. Fees, partial fills and dust conversions are where they drift.
- Tag deposits and withdrawals so they aren’t read as trades.
- Import everything into one tax tool before February. Bots can push you into higher transaction tiers; see Koinly vs CoinLedger vs CoinTracker pricing.
Our open-source Kraken trend bot (repo) is a slow daily trend-follower, which keeps fill counts low. Fewer trades means fewer taxable events and cheaper tax software tiers. That’s a side effect, not a reason to pick a strategy.
Estimate your bill: Kraken crypto tax estimator. Import and preview gains free: Koinly. More free tools and the bot setup kit: start here. We earn a commission if you sign up through this link.
Disclosure: /go/ links are affiliate links. If you buy, we may earn a commission at no extra cost to you. See the disclosure. Not tax or financial advice.
Sources
- IRS, Virtual currency FAQs (FAQs 2, 6, 16, 17, 39, 40, 41, 46): https://www.irs.gov/individuals/international-taxpayers/frequently-asked-questions-on-virtual-currency-transactions
- IRS, Instructions for Form 1099-DA: https://www.irs.gov/instructions/i1099da
- IRS, Instructions for Form 8949: https://www.irs.gov/instructions/i8949
- TurboTax, wash-sale rule and crypto: https://ttlc.intuit.com/turbotax-support/en-us/help-article/cryptocurrency/wash-sale-rule-cryptocurrency/L1d6BuQpH_US_en_US
- The Tax Adviser (Mar 2026): https://www.thetaxadviser.com/issues/2026/mar/navigating-the-form-1099-da-reporting-maze/
- The Crypto Basic (Sep 29, 2026): https://thecryptobasic.com/2026/09/29/understanding-the-1099-da-what-crypto-businesses-actually-need-to-know-before-it-hits/
- Wikipedia, Form 1099-DA: https://en.wikipedia.org/wiki/Form_1099-DA
- Freqtrade SQL cheat-sheet: https://www.freqtrade.io/en/stable/sql_cheatsheet/
- Kraken Support, exporting account history: https://support.kraken.com/articles/208267878-how-to-export-your-account-history