# Structs
input: liquidityOrderGenerator(
totalLiquidityAmount, startPrice, endPrice, numLayers, quantityScale)
when side == sell
priceAsk1 * scale(1) * f = amount1 priceAsk2 * scale(2) * f = amount2 priceAsk3 * scale(3) * f = amount3
totalLiquidityAmount = priceAsk1 * scale(1) * f + priceAsk2 * scale(2) * f + priceAsk3 * scale(3) * f + ...
Strategy is the strategy struct of LiquidityMaker liquidity maker does not care about the current price, it tries to place liquidity orders (limit maker orders) around the current mid price liquidity maker's target: - place enough total liquidity amount on the order book, for example, 20k USDT value liquidity on both sell and buy - ensure the spread by placing the orders from the mid price (or the last trade price).