Skip to content

Commit ca3c008

Browse files
Generate Hkex Omd-D Lite
1 parent b02c836 commit ca3c008

4 files changed

Lines changed: 4532 additions & 4 deletions

File tree

Hkex/Hkex_Derivatives_FullTick_Omd_v1_47_Dissector.lua

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,23 @@ hkex_derivatives_fulltick_omd_v1_47.priority.size = 1
299299

300300
-- Display: Priority
301301
hkex_derivatives_fulltick_omd_v1_47.priority.display = function(value)
302-
return "Priority: "..value
302+
if value == 0 then
303+
return "Priority: Not Specified (0)"
304+
end
305+
if value == 1 then
306+
return "Priority: Low (1)"
307+
end
308+
if value == 2 then
309+
return "Priority: Medium (2)"
310+
end
311+
if value == 3 then
312+
return "Priority: High (3)"
313+
end
314+
if value == 4 then
315+
return "Priority: Critical (4)"
316+
end
317+
318+
return "Priority: Unknown("..value..")"
303319
end
304320

305321
-- Dissect: Priority
@@ -322,7 +338,23 @@ hkex_derivatives_fulltick_omd_v1_47.info_type.size = 1
322338

323339
-- Display: Info Type
324340
hkex_derivatives_fulltick_omd_v1_47.info_type.display = function(value)
325-
return "Info Type: "..value
341+
if value == 0 then
342+
return "Info Type: Not Specified (0)"
343+
end
344+
if value == 1 then
345+
return "Info Type: Company Announcement (1)"
346+
end
347+
if value == 2 then
348+
return "Info Type: Market Message (2)"
349+
end
350+
if value == 3 then
351+
return "Info Type: Static Line (3)"
352+
end
353+
if value == 4 then
354+
return "Info Type: Notice Received (4)"
355+
end
356+
357+
return "Info Type: Unknown("..value..")"
326358
end
327359

328360
-- Dissect: Info Type

0 commit comments

Comments
 (0)