You cant compare presidents by merely comparing what happens during their administration without taking account of the differing situation of the country during that time. Buchanan was president during a much more difficult time for the Nation. You have to ask yourself:
Would Trump have done better had he been president at during the Buchanan administration?
What would have have done better? What would he have done worse?