Treasury securities pay their rate through maturity and can be bought directly from TreasuryDirect, or can be bought and sold on the secondary market via a bank or brokerage. I bonds must be bought from TreasuryDirect and can be held for up to 30 years, with rates adjusted every 6 months.