Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
This commit is contained in:
microwavedcola1 2023-06-22 20:02:33 +02:00
parent 87bb290010
commit e8a5b543af
1 changed files with 2 additions and 0 deletions

View File

@ -268,6 +268,7 @@ async function fullMarketMaker() {
await group.reloadAll(client);
// Cancel all existing orders
console.log(`Cancelling all orders...`);
for (const perpMarket of Array.from(
group.perpMarketsMapByMarketIndex.values(),
)) {
@ -313,6 +314,7 @@ async function fullMarketMaker() {
}
// Init sequence enforcer accounts
console.log(`Init sequence enforcer...`);
await initSequenceEnforcerAccounts(
client,
Array.from(marketContexts.values()),