I sense there is a chance you have to pay social insurance on stock trading gains. If I look up on Deloitte, is seems like for self employed the SI rate is 15.6 % up till the cap at approx 57.408 €. If I multiply thos umbers, I get a max SI contribution of 8,956 €.
Lets say your capital gains...