I've uploaded a custom webstylesymbol to arcgis online and try to animate symbol movement based on coordination and change symbol heading as symbol moving, however seems like my code not able to change the heading as the symbol moving. My code is given below:
Just like the graphic's geometry, you need to provide the graphic with a new symbol instance for it to update.
The symbol also does not have an angle property. To rotate the graphic you can adjust the ObjectSymbolLayer's heading, tilt and roll properties.
I've adjusted your sample to do this here: https://codepen.io/gstefansson/pen/ZEPxeNJ