Behavior patterns of investment strategies under Roy’s safety-first principle