There have been heated debates about the role of stock index futures in the financial market, especially during the crash periods. In this paper, a multiagent spot-futures market model is developed to analyze the micromechanism of shock transfer across spot and futures markets. We assume that there are two stocks and one stock index futures contract in the spot-futures market. Agents are heterogeneous, including fundamentalists, chartists, noise traders, and arbitragers. The spot market and the futures market are linked by arbitragers. The simulation results show that our spot-futures market model can reproduce various important stylized facts, including the price co-movement between stock index prices and index futures prices and the fat-tailed distribution of the returns of risky assets and the basis. Further analysis shows that when we introduce an exogenous fundamental shock to one of the stocks, the backwardation phenomenon appears in the futures market and the shock is widespread across the whole market by means of index futures. Moreover, the backwardation gradually disappears when the number of arbitragers increases. Besides, when there are few arbitragers or when there are sufficient arbitragers, shocks cannot be transferred to other stocks via the futures market, while an intermediate level of arbitrage will amplify the shock transfer and hurt market stability. These findings underscore that arbitragers play an important role in spot-futures market interaction and shock transfer, and adequate arbitrage trading during crises may help eliminate the positive basis and halt the further spread of the crises.