patch trades and move last update

This commit is contained in:
Nour Alharithi
2023-11-20 13:54:46 -08:00
parent 613f4ccf63
commit 6ce59a1394
3 changed files with 9 additions and 7 deletions

View File

@@ -115,5 +115,9 @@ export class DLOBSubscriberIO extends DLOBSubscriber {
`orderbook_${marketType}_${l2Args.marketIndex}`,
JSON.stringify(l2Formatted)
);
this.redisClient.client.set(
`last_update_orderbook_${marketType}_${l2Args.marketIndex}`,
JSON.stringify(l2Formatted)
);
}
}