8awg if using copper, which you really ought to. 6awg if aluminum.
If it were me i'd be tempted to go 6awg, rated for 60amps (55 actual temperature rating) due to the continuous load. Always size up. Price difference is negligible.
That unit and many built the same are NOT NEC or CEC compliant and pose a fire hazard by daisy chaining 15A receptacle to a 50A breaker, ESA inspector will order it removed.