disable includeVamm for rlb

This commit is contained in:
wphan
2024-01-27 12:08:35 -08:00
parent dd9d654b38
commit 4b6b66eaad

View File

@@ -58,13 +58,17 @@ export class DLOBSubscriberIO extends DLOBSubscriber {
this.lastSeenL2Formatted.set(MarketType.PERP, new Map()); this.lastSeenL2Formatted.set(MarketType.PERP, new Map());
for (const market of config.perpMarketInfos) { for (const market of config.perpMarketInfos) {
let includeVamm = true;
if (market.marketIndex === 17) {
includeVamm = false;
}
this.marketL2Args.push({ this.marketL2Args.push({
marketIndex: market.marketIndex, marketIndex: market.marketIndex,
marketType: MarketType.PERP, marketType: MarketType.PERP,
marketName: market.marketName, marketName: market.marketName,
depth: -1, depth: -1,
numVammOrders: 100, numVammOrders: 100,
includeVamm: true, includeVamm,
updateOnChange: true, updateOnChange: true,
fallbackL2Generators: [], fallbackL2Generators: [],
}); });