Flat, in trading, is a general word with three main uses. Applied to a price or an index, it means little or no change over a period: a market that closes flat ends the day near where it began, and a flat market is one moving sideways in a period of consolidation. Applied to a trader or an account, it means holding no position, neither long nor short, as described under long and short positions. A dealer who is flat going into a news release has no exposure to its outcome. Foreign exchange dealers also say square.
In the bond market, a bond trades flat when the buyer does not pay the seller accrued interest on top of the quoted price. This applies to bonds in default, to an income bond and to trades that settle on a coupon date. A flat yield curve is one where short and long maturities yield about the same.