You should use a margin trading account to avoid cash account violations due to unsettled funds. There will be two business days for the transactions to settle when you use a cash account to trade securities. A Good Faith violation and a 90-Day Restriction violation occur due to the transactions which have unsettled funds.