increase orderbook depth

This commit is contained in:
tjs 2023-02-03 10:28:39 -05:00
parent 65bc3acb8f
commit e16107576f
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ import { ArrowPathIcon } from '@heroicons/react/20/solid'
import { sleep } from 'utils'
export const decodeBookL2 = (book: SpotOrderBook | BookSide): number[][] => {
const depth = 40
const depth = 300
if (book instanceof SpotOrderBook) {
return book.getL2(depth).map(([price, size]) => [price, size])
} else if (book instanceof BookSide) {