As to my knowledge, a reverse split leads to a temporary different ticker symbol. If so, it cannot be detected by checking the price. You need to poll a ticker list or event list.