Development of the gaseous antiparticle spectrometer for space-based antimatter detection