Based on your financial expertise, provide your response or viewpoint on the given financial question or topic. The response format is open.

Can capital gains be used to fund an IRA with tax advantages?
IRA contribution must be from your earned income in the sense that you cannot contribute to IRA more than you have in earned income. If all your income is capital gains - you cannot contribute anything to IRA. Once you're within the income limit restriction, it doesn't matter what other money you have, because as you said - once in your account, its all just money. But what you're describing is basically "I deposit $850 from my salary into an IRA and then go pay for my gas with the $850 I have from the capital gains", so you're not paying any less taxes here. If it makes you feel any better, you can describe it to yourself the way you did. It doesn't really matter.