Tired to use avellaneda_market_making on future market

I tried to make a avellaneda_market_making through your source code. I found that my kappa calculation is almost the same as the robot but when I use it kappa calculation in the perpetual market it is very different from the kappa of the same commodity in stock. Does it mean that the calculation method of kappa in avellaneda_market_making does not apply to the perpetual market?

in the spot market, the kappa in my python is exactly the same as the real-time kappa of the robot, but when I use it in the perpetual market, the kappa is magnified 10 X