Skip to content

Commit 2d2cb74

Browse files
Regenerate with updated models
1 parent 6f471d9 commit 2d2cb74

5 files changed

Lines changed: 114 additions & 24 deletions

Cboe/Cboe_Titanium_Equities_AuctionFeed_Pitch_v1_3_8_Dissector.lua

Lines changed: 42 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,12 @@ end
197197
cboe_titanium_equities_auctionfeed_pitch_v1_3_8.auction_only_price_numeric_10.dissect = function(buffer, offset, packet, parent)
198198
local length = cboe_titanium_equities_auctionfeed_pitch_v1_3_8.auction_only_price_numeric_10.size
199199
local range = buffer(offset, length)
200-
local value = range:string()
200+
local value = tonumber(range:string())
201+
202+
if value == nil then
203+
value = "Not Applicable"
204+
end
205+
201206
local display = cboe_titanium_equities_auctionfeed_pitch_v1_3_8.auction_only_price_numeric_10.display(value, buffer, offset, packet, parent)
202207

203208
parent:add(omi_cboe_titanium_equities_auctionfeed_pitch_v1_3_8.fields.auction_only_price_numeric_10, range, value, display)
@@ -259,7 +264,12 @@ end
259264
cboe_titanium_equities_auctionfeed_pitch_v1_3_8.buy_shares.dissect = function(buffer, offset, packet, parent)
260265
local length = cboe_titanium_equities_auctionfeed_pitch_v1_3_8.buy_shares.size
261266
local range = buffer(offset, length)
262-
local value = range:string()
267+
local value = tonumber(range:string())
268+
269+
if value == nil then
270+
value = "Not Applicable"
271+
end
272+
263273
local display = cboe_titanium_equities_auctionfeed_pitch_v1_3_8.buy_shares.display(value, buffer, offset, packet, parent)
264274

265275
parent:add(omi_cboe_titanium_equities_auctionfeed_pitch_v1_3_8.fields.buy_shares, range, value, display)
@@ -310,7 +320,12 @@ end
310320
cboe_titanium_equities_auctionfeed_pitch_v1_3_8.indicative_price_numeric_10.dissect = function(buffer, offset, packet, parent)
311321
local length = cboe_titanium_equities_auctionfeed_pitch_v1_3_8.indicative_price_numeric_10.size
312322
local range = buffer(offset, length)
313-
local value = range:string()
323+
local value = tonumber(range:string())
324+
325+
if value == nil then
326+
value = "Not Applicable"
327+
end
328+
314329
local display = cboe_titanium_equities_auctionfeed_pitch_v1_3_8.indicative_price_numeric_10.display(value, buffer, offset, packet, parent)
315330

316331
parent:add(omi_cboe_titanium_equities_auctionfeed_pitch_v1_3_8.fields.indicative_price_numeric_10, range, value, display)
@@ -435,7 +450,12 @@ end
435450
cboe_titanium_equities_auctionfeed_pitch_v1_3_8.price_numeric_10.dissect = function(buffer, offset, packet, parent)
436451
local length = cboe_titanium_equities_auctionfeed_pitch_v1_3_8.price_numeric_10.size
437452
local range = buffer(offset, length)
438-
local value = range:string()
453+
local value = tonumber(range:string())
454+
455+
if value == nil then
456+
value = "Not Applicable"
457+
end
458+
439459
local display = cboe_titanium_equities_auctionfeed_pitch_v1_3_8.price_numeric_10.display(value, buffer, offset, packet, parent)
440460

441461
parent:add(omi_cboe_titanium_equities_auctionfeed_pitch_v1_3_8.fields.price_numeric_10, range, value, display)
@@ -486,7 +506,12 @@ end
486506
cboe_titanium_equities_auctionfeed_pitch_v1_3_8.reference_price_numeric_10.dissect = function(buffer, offset, packet, parent)
487507
local length = cboe_titanium_equities_auctionfeed_pitch_v1_3_8.reference_price_numeric_10.size
488508
local range = buffer(offset, length)
489-
local value = range:string()
509+
local value = tonumber(range:string())
510+
511+
if value == nil then
512+
value = "Not Applicable"
513+
end
514+
490515
local display = cboe_titanium_equities_auctionfeed_pitch_v1_3_8.reference_price_numeric_10.display(value, buffer, offset, packet, parent)
491516

492517
parent:add(omi_cboe_titanium_equities_auctionfeed_pitch_v1_3_8.fields.reference_price_numeric_10, range, value, display)
@@ -578,7 +603,12 @@ end
578603
cboe_titanium_equities_auctionfeed_pitch_v1_3_8.sell_shares.dissect = function(buffer, offset, packet, parent)
579604
local length = cboe_titanium_equities_auctionfeed_pitch_v1_3_8.sell_shares.size
580605
local range = buffer(offset, length)
581-
local value = range:string()
606+
local value = tonumber(range:string())
607+
608+
if value == nil then
609+
value = "Not Applicable"
610+
end
611+
582612
local display = cboe_titanium_equities_auctionfeed_pitch_v1_3_8.sell_shares.display(value, buffer, offset, packet, parent)
583613

584614
parent:add(omi_cboe_titanium_equities_auctionfeed_pitch_v1_3_8.fields.sell_shares, range, value, display)
@@ -683,7 +713,12 @@ end
683713
cboe_titanium_equities_auctionfeed_pitch_v1_3_8.shares.dissect = function(buffer, offset, packet, parent)
684714
local length = cboe_titanium_equities_auctionfeed_pitch_v1_3_8.shares.size
685715
local range = buffer(offset, length)
686-
local value = range:string()
716+
local value = tonumber(range:string())
717+
718+
if value == nil then
719+
value = "Not Applicable"
720+
end
721+
687722
local display = cboe_titanium_equities_auctionfeed_pitch_v1_3_8.shares.display(value, buffer, offset, packet, parent)
688723

689724
parent:add(omi_cboe_titanium_equities_auctionfeed_pitch_v1_3_8.fields.shares, range, value, display)

Cboe/Cboe_Titanium_Equities_SummaryDepth_Pitch_v1_3_9_Dissector.lua

Lines changed: 66 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,12 @@ end
264264
cboe_titanium_equities_summarydepth_pitch_v1_3_9.ask_quantity_numeric_5.dissect = function(buffer, offset, packet, parent)
265265
local length = cboe_titanium_equities_summarydepth_pitch_v1_3_9.ask_quantity_numeric_5.size
266266
local range = buffer(offset, length)
267-
local value = range:string()
267+
local value = tonumber(range:string())
268+
269+
if value == nil then
270+
value = "Not Applicable"
271+
end
272+
268273
local display = cboe_titanium_equities_summarydepth_pitch_v1_3_9.ask_quantity_numeric_5.display(value, buffer, offset, packet, parent)
269274

270275
parent:add(omi_cboe_titanium_equities_summarydepth_pitch_v1_3_9.fields.ask_quantity_numeric_5, range, value, display)
@@ -287,7 +292,12 @@ end
287292
cboe_titanium_equities_summarydepth_pitch_v1_3_9.ask_quantity_numeric_6.dissect = function(buffer, offset, packet, parent)
288293
local length = cboe_titanium_equities_summarydepth_pitch_v1_3_9.ask_quantity_numeric_6.size
289294
local range = buffer(offset, length)
290-
local value = range:string()
295+
local value = tonumber(range:string())
296+
297+
if value == nil then
298+
value = "Not Applicable"
299+
end
300+
291301
local display = cboe_titanium_equities_summarydepth_pitch_v1_3_9.ask_quantity_numeric_6.display(value, buffer, offset, packet, parent)
292302

293303
parent:add(omi_cboe_titanium_equities_summarydepth_pitch_v1_3_9.fields.ask_quantity_numeric_6, range, value, display)
@@ -394,7 +404,12 @@ end
394404
cboe_titanium_equities_summarydepth_pitch_v1_3_9.bid_quantity_numeric_5.dissect = function(buffer, offset, packet, parent)
395405
local length = cboe_titanium_equities_summarydepth_pitch_v1_3_9.bid_quantity_numeric_5.size
396406
local range = buffer(offset, length)
397-
local value = range:string()
407+
local value = tonumber(range:string())
408+
409+
if value == nil then
410+
value = "Not Applicable"
411+
end
412+
398413
local display = cboe_titanium_equities_summarydepth_pitch_v1_3_9.bid_quantity_numeric_5.display(value, buffer, offset, packet, parent)
399414

400415
parent:add(omi_cboe_titanium_equities_summarydepth_pitch_v1_3_9.fields.bid_quantity_numeric_5, range, value, display)
@@ -417,7 +432,12 @@ end
417432
cboe_titanium_equities_summarydepth_pitch_v1_3_9.bid_quantity_numeric_6.dissect = function(buffer, offset, packet, parent)
418433
local length = cboe_titanium_equities_summarydepth_pitch_v1_3_9.bid_quantity_numeric_6.size
419434
local range = buffer(offset, length)
420-
local value = range:string()
435+
local value = tonumber(range:string())
436+
437+
if value == nil then
438+
value = "Not Applicable"
439+
end
440+
421441
local display = cboe_titanium_equities_summarydepth_pitch_v1_3_9.bid_quantity_numeric_6.display(value, buffer, offset, packet, parent)
422442

423443
parent:add(omi_cboe_titanium_equities_summarydepth_pitch_v1_3_9.fields.bid_quantity_numeric_6, range, value, display)
@@ -463,7 +483,12 @@ end
463483
cboe_titanium_equities_summarydepth_pitch_v1_3_9.cumulative_volume_numeric_7.dissect = function(buffer, offset, packet, parent)
464484
local length = cboe_titanium_equities_summarydepth_pitch_v1_3_9.cumulative_volume_numeric_7.size
465485
local range = buffer(offset, length)
466-
local value = range:string()
486+
local value = tonumber(range:string())
487+
488+
if value == nil then
489+
value = "Not Applicable"
490+
end
491+
467492
local display = cboe_titanium_equities_summarydepth_pitch_v1_3_9.cumulative_volume_numeric_7.display(value, buffer, offset, packet, parent)
468493

469494
parent:add(omi_cboe_titanium_equities_summarydepth_pitch_v1_3_9.fields.cumulative_volume_numeric_7, range, value, display)
@@ -486,7 +511,12 @@ end
486511
cboe_titanium_equities_summarydepth_pitch_v1_3_9.cumulative_volume_numeric_9.dissect = function(buffer, offset, packet, parent)
487512
local length = cboe_titanium_equities_summarydepth_pitch_v1_3_9.cumulative_volume_numeric_9.size
488513
local range = buffer(offset, length)
489-
local value = range:string()
514+
local value = tonumber(range:string())
515+
516+
if value == nil then
517+
value = "Not Applicable"
518+
end
519+
490520
local display = cboe_titanium_equities_summarydepth_pitch_v1_3_9.cumulative_volume_numeric_9.display(value, buffer, offset, packet, parent)
491521

492522
parent:add(omi_cboe_titanium_equities_summarydepth_pitch_v1_3_9.fields.cumulative_volume_numeric_9, range, value, display)
@@ -616,7 +646,12 @@ end
616646
cboe_titanium_equities_summarydepth_pitch_v1_3_9.last_quantity_numeric_5.dissect = function(buffer, offset, packet, parent)
617647
local length = cboe_titanium_equities_summarydepth_pitch_v1_3_9.last_quantity_numeric_5.size
618648
local range = buffer(offset, length)
619-
local value = range:string()
649+
local value = tonumber(range:string())
650+
651+
if value == nil then
652+
value = "Not Applicable"
653+
end
654+
620655
local display = cboe_titanium_equities_summarydepth_pitch_v1_3_9.last_quantity_numeric_5.display(value, buffer, offset, packet, parent)
621656

622657
parent:add(omi_cboe_titanium_equities_summarydepth_pitch_v1_3_9.fields.last_quantity_numeric_5, range, value, display)
@@ -639,7 +674,12 @@ end
639674
cboe_titanium_equities_summarydepth_pitch_v1_3_9.last_quantity_numeric_6.dissect = function(buffer, offset, packet, parent)
640675
local length = cboe_titanium_equities_summarydepth_pitch_v1_3_9.last_quantity_numeric_6.size
641676
local range = buffer(offset, length)
642-
local value = range:string()
677+
local value = tonumber(range:string())
678+
679+
if value == nil then
680+
value = "Not Applicable"
681+
end
682+
643683
local display = cboe_titanium_equities_summarydepth_pitch_v1_3_9.last_quantity_numeric_6.display(value, buffer, offset, packet, parent)
644684

645685
parent:add(omi_cboe_titanium_equities_summarydepth_pitch_v1_3_9.fields.last_quantity_numeric_6, range, value, display)
@@ -718,7 +758,12 @@ end
718758
cboe_titanium_equities_summarydepth_pitch_v1_3_9.last_trade_size.dissect = function(buffer, offset, packet, parent)
719759
local length = cboe_titanium_equities_summarydepth_pitch_v1_3_9.last_trade_size.size
720760
local range = buffer(offset, length)
721-
local value = range:string()
761+
local value = tonumber(range:string())
762+
763+
if value == nil then
764+
value = "Not Applicable"
765+
end
766+
722767
local display = cboe_titanium_equities_summarydepth_pitch_v1_3_9.last_trade_size.display(value, buffer, offset, packet, parent)
723768

724769
parent:add(omi_cboe_titanium_equities_summarydepth_pitch_v1_3_9.fields.last_trade_size, range, value, display)
@@ -920,7 +965,12 @@ end
920965
cboe_titanium_equities_summarydepth_pitch_v1_3_9.milliseconds.dissect = function(buffer, offset, packet, parent)
921966
local length = cboe_titanium_equities_summarydepth_pitch_v1_3_9.milliseconds.size
922967
local range = buffer(offset, length)
923-
local value = range:string()
968+
local value = tonumber(range:string())
969+
970+
if value == nil then
971+
value = "Not Applicable"
972+
end
973+
924974
local display = cboe_titanium_equities_summarydepth_pitch_v1_3_9.milliseconds.display(value, buffer, offset, packet, parent)
925975

926976
parent:add(omi_cboe_titanium_equities_summarydepth_pitch_v1_3_9.fields.milliseconds, range, value, display)
@@ -1081,7 +1131,12 @@ end
10811131
cboe_titanium_equities_summarydepth_pitch_v1_3_9.seconds.dissect = function(buffer, offset, packet, parent)
10821132
local length = cboe_titanium_equities_summarydepth_pitch_v1_3_9.seconds.size
10831133
local range = buffer(offset, length)
1084-
local value = range:string()
1134+
local value = tonumber(range:string())
1135+
1136+
if value == nil then
1137+
value = "Not Applicable"
1138+
end
1139+
10851140
local display = cboe_titanium_equities_summarydepth_pitch_v1_3_9.seconds.display(value, buffer, offset, packet, parent)
10861141

10871142
parent:add(omi_cboe_titanium_equities_summarydepth_pitch_v1_3_9.fields.seconds, range, value, display)

0 commit comments

Comments
 (0)