---
title: "Discussion on \"How much a trading bot loses to fees (and a 40-line script to measure yours)\" | Hashnode"
description: "Discussion on \"How much a trading bot loses to fees (and a 40-line script to measure yours)\". Most bot backtests I see print a win rate and a P&L curve. Fewer print the one line that decides whether the bot makes money in production: what it paid in fees.\nFees are charged on volume, not on pro"
url: "https://hashnode.com/posts/how-much-a-trading-bot-loses-to-fees-and-a-40-line-script-to-measure-yours/6af5c76b11b867c3bdbef579"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How much a trading bot loses to fees (and a 40-line script to measure yours)](https://returnfee.hashnode.dev/how-much-a-trading-bot-loses-to-fees-and-a-40-line-script-to-measure-yours?utm_source=hashnode&utm_medium=feed)

Most bot backtests I see print a win rate and a P&L curve. Fewer print the one line that decides whether the bot makes money in production: what it paid in fees. Fees are charged on volume, not on pro

5d ago · 5 min read · returnfee.hashnode.dev  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#trading](https://hashnode.com/tag/trading)
-   [#cryptocurrency](https://hashnode.com/tag/cryptocurrency)
-   [#beginners](https://hashnode.com/tag/beginners)

## Written by

[ReturnFee](https://hashnode.com/@returnfee)

@returnfee

  
[View profile](https://hashnode.com/@returnfee)

Plain notes on crypto trading fees and how to pay less of them. returnfee.com

Plain notes on crypto trading fees and how to pay less of them. https://returnfee.com

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
