Trading financial derivatives is not illegal.
To tell the truth, many financial companies are unqualified and illegal strictly, but many companies are not operating directly in the name of finance, mostly consulting or business. They are all grasping the edge, especially in first-tier cities. Generally speaking, if you are caught in the wind or reported, you will be checked.