As I have mentioned above you need to obtain advice from a lawyer and an auditor in order to structure it properly to be able to have such company's profits fall under the IP box regime.For those interested by the IP box regime: Cyprus IP Box Regime - Intellectual Property Law - Taxes and Accounting
I don't see any link with trading though, as profits from 'running' the software are out of scope.