Every transaction does have a small fee. In US equities, there is an SEC fee of 22.1 dollars per million dollars sold, and for most (all?) futures exchanges, where HFT is just as prevalent, there is a fee both for both sides of a trade (unlike the maker/taker model in US equities).