build a trap, abatis, log, tower, and treb

then 1500 pike should crush a 1K wave of cavalry

you should be able to produce this amount of troops pretty quick, probably faster than they can replace the cavs they lose