pass depth or query param to numVammOrders

This commit is contained in:
wphan
2023-07-03 21:25:13 -07:00
parent 537bc2902a
commit e4ffb91b5c
3 changed files with 7 additions and 5 deletions

View File

@@ -863,6 +863,7 @@ const main = async () => {
marketIndex,
marketType,
depth,
numVammOrders,
includeVamm,
includePhoenix,
includeSerum,
@@ -893,6 +894,7 @@ const main = async () => {
marketType: normedMarketType,
depth: parseInt(adjustedDepth as string),
includeVamm: `${includeVamm}`.toLowerCase() === 'true',
numVammOrders: parseInt((numVammOrders ?? '100') as string),
fallbackL2Generators: isSpot
? [
`${includePhoenix}`.toLowerCase() === 'true' &&