Except perfect knowledge of the world isn't possible and there is sufficient complexity in the systems that lead to stock value changing to make it effectively random luck whether any particular investment will pay off (you've invested heavily into office real estate; welcome to the global pandemic and the rise of remote work).
Selective breeding doesn't care which genes are in play, it is outcome orientated. The result is the same, genes that don't give the desired result are filtered out, genes leading to the desired result are promoted. The fact that you aren't targeting specific genes doesn't matter.