Typically you have to hold assets for a year for them to be taxed as capital gains. Otherwise it's just normal income, which caps out at 37%. Capital gains maximum rate is 20%.
Pedantically, the max cap gains rate is 23.8% with NIIT. (Also, these are the federal tax brackets; states can and mostly do impose additional taxes on both income and capital gains.)