How to control stock markets