Automation, stock, scrap.

stock and automation. I wanted to know the best way to “produce” and stock the maximum (or all) materials on a single planet. I wanted to know if it is possible to trade for scrap or astronium to obtain all the components… and the other question is: which material generates the most “scrap” to automate?