mirror of
https://github.com/ZigZagExchange/zksync-lite-market-maker.git
synced 2025-12-17 15:14:30 +01:00
Add uniswapV3 to the price feed list
This commit is contained in:
@@ -85,11 +85,12 @@ Orders coming in below the `minSpread` from the price feed will not be filled. T
|
|||||||
|
|
||||||
#### Price Feed
|
#### Price Feed
|
||||||
|
|
||||||
There are 3 modes available with a 4th on the way.
|
There are 4 modes available with a 5th on the way.
|
||||||
|
|
||||||
* `cryptowatch`: Follows an external price oracle.
|
* `cryptowatch`: Follows an external price oracle.
|
||||||
* `chainlink` : Follows an external price oracle. Chainlink is WEB3 and might be slower then cryptowatch.
|
* `chainlink` : Follows an external price oracle. Chainlink is WEB3 and might be slower then cryptowatch.
|
||||||
* `constant`: Sets an fixed price and market makes around that price. Can be combined with single-sided liquidity to simulate limit orders.
|
* `constant`: Sets an fixed price and market makes around that price. Can be combined with single-sided liquidity to simulate limit orders.
|
||||||
|
* `uniswapV3`: Reads prices on-chain from a specified uniswapV3 pool
|
||||||
* `independent`: Under development. The price is set independent of a price feed.
|
* `independent`: Under development. The price is set independent of a price feed.
|
||||||
|
|
||||||
**Warning:** Make sure your price feed is close to the price you see on zigzag. **Otherwise, your mm can lose money!**
|
**Warning:** Make sure your price feed is close to the price you see on zigzag. **Otherwise, your mm can lose money!**
|
||||||
|
|||||||
Reference in New Issue
Block a user