diff --git a/src/publishers/tradesPublisher.ts b/src/publishers/tradesPublisher.ts index 5279e16..6d82116 100644 --- a/src/publishers/tradesPublisher.ts +++ b/src/publishers/tradesPublisher.ts @@ -169,7 +169,7 @@ const main = async () => { ), maker: fill.maker?.toBase58(), makerOrderId: fill.makerOrderId, - makerOrderDirection: fill.makderOrderDirection + makerOrderDirection: fill.makerOrderDirection ? getVariant(fill.makerOrderDirection) : undefined, makerOrderBaseAssetAmount: convertToNumber(