I have solar on my house and in IL we get paid via "net metering":
https://www.citizensutilityboard.org/illinois-net-metering/ . The idea is you size a system for your annual energy consumption, and then you don't pay for electricity for the year.
If you sold the power back for real-time pricing you'd need a much larger system than your annual consumption. Net metering basically lets you sell the power back at a retail price, not a wholesale price.