I am planning on transforming Taiwan stocks’ historical daily prices into Lean format. For a) Dividend, b) Stock split, and c)Capital reduction, I get the rules to create the 'factor files' located in 'Data/equity/twn/factor_files/{equity-symbol}.txt'. But I still have two questions:

1. Is the 'factor file' all I need to specify the detail for dividends, splits, and capital reductions?
2. How do I record d)delisting events for Lean?