Why do I need the FastShotAlgo parameter in the MoonHook strategy settings in the MoonBot terminal?

: Strategy settings

In the MoonBot terminal, on the Strategy settings tab of the MoonHook strategy, you can use the FastShotAlgo = NO/YES parameter.
If FastShotAlgo = YES, then a faster algorithm for working with moonshot orders is activated. For this, it is recommended to check this box, and control the slowdown of permutations through the HookReplaceDelay parameter. The FastShotAlgo parameter works on all exchanges, but the actual acceleration depends on the specific exchange. Activation of this parameter leads to a slight increase in CPU usage (by about 10%).
Features of the algorithm with FastShotAlgo = YES: with HookRaiseWait = 0, algorithm 1 is used, otherwise algorithm 2.
You can use, for example, HookRaiseWait = 0.01, it will not affect the bidding, but it will include the use of algorithm 2.

Algorithm 1: in this case, the price for the moonshot order is calculated for the last few trades.

Algorithm 2: in this case, the price for a moonshot order is calculated according to the minimum trade for 100ms. A side effect is that such an algorithm will lead to a “built-in 100ms raisewait”, that is, “returns no earlier than 100ms, since instead of the current price, we use the minimum price for 100ms to calculate. Therefore, the “price” now remains equal to the minimum for 100ms, but such a moonshot should jump away from the price even faster.