The influence of magnetic field and density on the streaming instability in the electronpositron plasma with the moving ion fluid in a magnetic field is investigated. The analytic expressions of the growth rate and oscillating frequency of the streaming instability are obtained as functions of the cyclotron frequency, electron density, positron density, ion density, streaming velocity, and wave number. The variation of the growth rate and oscillating frequency of streaming instability due to the change of magnetic field and plasma parameters is discussed.