Losing money at the first two years, then I started making money in the next two years after I found my edge.
There is a unique advantage for software engineer which is that you could trade or watch the stock while you are working. And there is no race discrimination or spoken english requirements in this field.
And you can try this second job while keeping the current main job.
Of course, this way is a hard way, not everyone could succeed. Nothing is simple in this world.