mirror of
https://github.com/ZigZagExchange/zksync-lite-market-maker.git
synced 2025-12-19 08:04:27 +01:00
tighter spreads
This commit is contained in:
@@ -136,12 +136,12 @@ function isOrderFillable(order) {
|
|||||||
if (!spotPrice) return false;
|
if (!spotPrice) return false;
|
||||||
let botAsk, botBid;
|
let botAsk, botBid;
|
||||||
if (baseCurrency === "ETH") {
|
if (baseCurrency === "ETH") {
|
||||||
botAsk = spotPrice * 1.0007;
|
botAsk = spotPrice * 1.0005;
|
||||||
botBid = spotPrice * 0.9993;
|
botBid = spotPrice * 0.9995;
|
||||||
}
|
}
|
||||||
else if (baseCurrency === "USDC") {
|
else if (baseCurrency === "USDC") {
|
||||||
botAsk = spotPrice * 1.0003;
|
botAsk = spotPrice * 1.0005;
|
||||||
botBid = spotPrice * 0.9997;
|
botBid = spotPrice * 0.9995;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user