tighter spreads

This commit is contained in:
vixidev99
2021-11-21 11:57:33 -08:00
parent a016851cf2
commit 2e26ae89ac

View File

@@ -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;
} }