{
minMargin,
avgMargin,
maxMargin,
minSize,
avgSize,
maxSize
}
Given a target price, the bands strategy ensures that net size of all orders within each band is in the range [minSize, maxSize].
Due to the binary nature of the order book, buy orders for
For each band, given a target price
There are two sets of bands: one for buy orders for
Each band considers buy orders and equivalent sell orders and
- Cancels orders down to avgSize if open size is greater than maxSize.
- Places orders up to avgSize if open size is less than minSize.
The strategy will always try to fill a band by placing sell orders before it attemps to place corresponding buy orders.