From 2e26ae89acbcf209c42fce9916db0de7816de54c Mon Sep 17 00:00:00 2001 From: vixidev99 Date: Sun, 21 Nov 2021 11:57:33 -0800 Subject: [PATCH] tighter spreads --- marketmaker.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/marketmaker.js b/marketmaker.js index 721e87d..47476d9 100644 --- a/marketmaker.js +++ b/marketmaker.js @@ -136,12 +136,12 @@ function isOrderFillable(order) { if (!spotPrice) return false; let botAsk, botBid; if (baseCurrency === "ETH") { - botAsk = spotPrice * 1.0007; - botBid = spotPrice * 0.9993; + botAsk = spotPrice * 1.0005; + botBid = spotPrice * 0.9995; } else if (baseCurrency === "USDC") { - botAsk = spotPrice * 1.0003; - botBid = spotPrice * 0.9997; + botAsk = spotPrice * 1.0005; + botBid = spotPrice * 0.9995; }