How does HFT work?

As an example,

let's assume that a buyer wants to buy 100,000 shares of MSFT. The market price of an MSFT share is $24.10, but the buyer's limit price is $24.40. In other words, the buyer is willing to pay up to $24.40 for each share of MSFT or $0.30 more than its current price.

HFT is able to achieve

almost risk free arbitrage opportunities, those are the types of investment strategies that arbitrageurs and hedge-fund managers use. Here's an example...

Why FPGA in HFT?

This venerable technology has one advantage - it is fast! It takes one clock cycle to do the calculation. Taking a risk calculation that takes 30 microseconds on a general CPU down to 3 microseconds is quite feasible, and in the world of sub millisecond trading, that matters