If you purcase a stock with "unsettled funds" you must wait until funds are settled to sell or it will be considered a "free ride"