Hi ,
You can check the javascript API documentation for Adobe Edge Animate CC - Adobe Edge Animate CC JavaScript API
To dynamically add symbols you need to use it createChildSymbol.Check the "Create Symbols dynamically" section.
Thanks and Regards,
Sudeshna Sarkar