Can you give me an example of how to set up a Spread with decoding?

: Strategy settings

Example of setting the Spread strategy with decoding:
TimeInterval=5 sec.
TradesDensity=100
PriceIntervals=5
PriceSpread=0.3
IntervalsForBuySpread=2
BuyPriceInSpread=5
SellPriceInSpread=100
BuyOrderReduce=100

From these settings, it follows that there was a 0.3% (PriceSpread=0.3) or higher price movement every second for the last 5 seconds (TimeInterval=5). To calculate the Buy and Sell orders, we take the last 2 intervals (IntervalsForBuySpread=2), set Buy order at +5% (BuyPriceInSpread=5) of the minimum price value, and set Sell order at maximum +100% (SellPriceInSpread=100). In this case, if the given volume for 100ms (BuyOrderReduce=100) is less than the OrderSize of the strategy, an order equal to the volume will be placed.