7 lessons from a man who advised hedge funds and wrote trading systems.