filter indicative + random prettify (#443)
* filter indicative + random prettify * bug fix * update to filter orders that arent as good as resting orders
This commit is contained in:
@@ -96,7 +96,10 @@ const getRedisChannelFromMessage = (message: any): string => {
|
||||
case 'orderbook':
|
||||
return `orderbook_${marketType}_${marketIndex}`;
|
||||
case 'orderbook_indicative': {
|
||||
if (message.grouping && GROUPING_OPTIONS.includes(parseInt(message.grouping))) {
|
||||
if (
|
||||
message.grouping &&
|
||||
GROUPING_OPTIONS.includes(parseInt(message.grouping))
|
||||
) {
|
||||
return `orderbook_${marketType}_${marketIndex}_grouped_${message.grouping}_indicative`;
|
||||
}
|
||||
return `orderbook_${marketType}_${marketIndex}_indicative`;
|
||||
|
||||
Reference in New Issue
Block a user