Skip to content

Commit

Permalink
blacklist 2nd account
Browse files Browse the repository at this point in the history
  • Loading branch information
bt-cryptomancer committed Jul 12, 2024
1 parent aa27fe3 commit 27b2543
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions contracts/market.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const CONTRACT_NAME = 'market';
// trading by these accounts is blocked
const ACCOUNT_BLACKLIST = {
'sunsetjesus': 1,
'waitingforlove': 1,
};

const getMetric = async (symbol) => {
Expand Down Expand Up @@ -334,8 +335,8 @@ actions.createSSC = async () => {
} else {
// remove stuck 0 quantity orders and any that have been blacklisted
await removeBadOrders();
await removeBlacklistedOrders('buy', 'sunsetjesus');
await removeBlacklistedOrders('sell', 'sunsetjesus');
await removeBlacklistedOrders('buy', 'waitingforlove');
await removeBlacklistedOrders('sell', 'waitingforlove');
}
};

Expand Down

0 comments on commit 27b2543

Please sign in to comment.