Skip to content

Commit

Permalink
Disable sell bypass
Browse files Browse the repository at this point in the history
  • Loading branch information
djkazic committed Nov 23, 2023
1 parent 0f729c1 commit f9face2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -328,8 +328,8 @@ async function loadModules() {
`Profitable sells: $${profitableSells} (exp $${totalSellExposure} pl ${sellPl} sats), profitable buys: $${profitableBuys} (exp $${totalBuyExposure} pl ${buyPl} sats)`
);
if (buyPl >= 70) {
logger("info", "Triggered synthetic exit");
sellBypass = true;
logger("info", "[DRY-RUN] triggered synthetic exit");
//sellBypass = true;
}
// logger('info', `Sell exposure: $${totalSellExposure}, Buy exposure: $${totalBuyExposure}, Position: $${totalBuyExposure-totalSellExposure}`);
} catch (error) {
Expand Down

0 comments on commit f9face2

Please sign in to comment.