You cannot make a trade from your previous sales proceeds until the funds are settled in your brokerage account which takes t+2 days. Trading with unsettled cash will incur Good Faith Violation (GFV).