Skip to content

Commit 85680fc

Browse files
Regenerate Box Hsvf protocols (new loader)
1 parent 9d20e6f commit 85680fc

5 files changed

Lines changed: 50 additions & 35 deletions

Box/Box_Options_Sola_Multicast_Hsvf_v1_8_Dissector.lua

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2916,8 +2916,8 @@ box_options_sola_multicast_hsvf_v1_8_size_of.option_marker = function(buffer, of
29162916
end
29172917

29182918
-- Display: Option Marker
2919-
box_options_sola_multicast_hsvf_v1_8_display.option_marker = function(buffer, offset, value, packet, parent)
2920-
return "Option Marker: "..value
2919+
box_options_sola_multicast_hsvf_v1_8_display.option_marker = function(buffer, offset, size, packet, parent)
2920+
return ""
29212921
end
29222922

29232923
-- Dissect Fields: Option Marker
@@ -2939,9 +2939,8 @@ box_options_sola_multicast_hsvf_v1_8_dissect.option_marker = function(buffer, of
29392939
if show.option_marker then
29402940
local length = box_options_sola_multicast_hsvf_v1_8_size_of.option_marker(buffer, offset)
29412941
local range = buffer(offset, length)
2942-
local value = range:string()
2943-
local display = box_options_sola_multicast_hsvf_v1_8_display.option_marker(buffer, offset, value, packet, parent)
2944-
parent = parent:add(box_options_sola_multicast_hsvf_v1_8.fields.option_marker, range, value, display)
2942+
local display = box_options_sola_multicast_hsvf_v1_8_display.option_marker(buffer, packet, parent)
2943+
parent = parent:add(box_options_sola_multicast_hsvf_v1_8.fields.option_marker, range, display)
29452944
end
29462945

29472946
return box_options_sola_multicast_hsvf_v1_8_dissect.option_marker_fields(buffer, offset, packet, parent)
@@ -4091,8 +4090,8 @@ box_options_sola_multicast_hsvf_v1_8_size_of.market_flow_indicator = function(bu
40914090
end
40924091

40934092
-- Display: Market Flow Indicator
4094-
box_options_sola_multicast_hsvf_v1_8_display.market_flow_indicator = function(buffer, offset, value, packet, parent)
4095-
return "Market Flow Indicator: "..value
4093+
box_options_sola_multicast_hsvf_v1_8_display.market_flow_indicator = function(buffer, offset, size, packet, parent)
4094+
return ""
40964095
end
40974096

40984097
-- Dissect Fields: Market Flow Indicator
@@ -4114,9 +4113,8 @@ box_options_sola_multicast_hsvf_v1_8_dissect.market_flow_indicator = function(bu
41144113
if show.market_flow_indicator then
41154114
local length = box_options_sola_multicast_hsvf_v1_8_size_of.market_flow_indicator(buffer, offset)
41164115
local range = buffer(offset, length)
4117-
local value = range:string()
4118-
local display = box_options_sola_multicast_hsvf_v1_8_display.market_flow_indicator(buffer, offset, value, packet, parent)
4119-
parent = parent:add(box_options_sola_multicast_hsvf_v1_8.fields.market_flow_indicator, range, value, display)
4116+
local display = box_options_sola_multicast_hsvf_v1_8_display.market_flow_indicator(buffer, packet, parent)
4117+
parent = parent:add(box_options_sola_multicast_hsvf_v1_8.fields.market_flow_indicator, range, display)
41204118
end
41214119

41224120
return box_options_sola_multicast_hsvf_v1_8_dissect.market_flow_indicator_fields(buffer, offset, packet, parent)

Box/Box_Options_Sola_Multicast_Hsvf_v1_9_Dissector.lua

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2918,8 +2918,8 @@ box_options_sola_multicast_hsvf_v1_9_size_of.option_marker = function(buffer, of
29182918
end
29192919

29202920
-- Display: Option Marker
2921-
box_options_sola_multicast_hsvf_v1_9_display.option_marker = function(buffer, offset, value, packet, parent)
2922-
return "Option Marker: "..value
2921+
box_options_sola_multicast_hsvf_v1_9_display.option_marker = function(buffer, offset, size, packet, parent)
2922+
return ""
29232923
end
29242924

29252925
-- Dissect Fields: Option Marker
@@ -2941,9 +2941,8 @@ box_options_sola_multicast_hsvf_v1_9_dissect.option_marker = function(buffer, of
29412941
if show.option_marker then
29422942
local length = box_options_sola_multicast_hsvf_v1_9_size_of.option_marker(buffer, offset)
29432943
local range = buffer(offset, length)
2944-
local value = range:string()
2945-
local display = box_options_sola_multicast_hsvf_v1_9_display.option_marker(buffer, offset, value, packet, parent)
2946-
parent = parent:add(box_options_sola_multicast_hsvf_v1_9.fields.option_marker, range, value, display)
2944+
local display = box_options_sola_multicast_hsvf_v1_9_display.option_marker(buffer, packet, parent)
2945+
parent = parent:add(box_options_sola_multicast_hsvf_v1_9.fields.option_marker, range, display)
29472946
end
29482947

29492948
return box_options_sola_multicast_hsvf_v1_9_dissect.option_marker_fields(buffer, offset, packet, parent)
@@ -4088,8 +4087,8 @@ box_options_sola_multicast_hsvf_v1_9_size_of.market_flow_indicator = function(bu
40884087
end
40894088

40904089
-- Display: Market Flow Indicator
4091-
box_options_sola_multicast_hsvf_v1_9_display.market_flow_indicator = function(buffer, offset, value, packet, parent)
4092-
return "Market Flow Indicator: "..value
4090+
box_options_sola_multicast_hsvf_v1_9_display.market_flow_indicator = function(buffer, offset, size, packet, parent)
4091+
return ""
40934092
end
40944093

40954094
-- Dissect Fields: Market Flow Indicator
@@ -4111,9 +4110,8 @@ box_options_sola_multicast_hsvf_v1_9_dissect.market_flow_indicator = function(bu
41114110
if show.market_flow_indicator then
41124111
local length = box_options_sola_multicast_hsvf_v1_9_size_of.market_flow_indicator(buffer, offset)
41134112
local range = buffer(offset, length)
4114-
local value = range:string()
4115-
local display = box_options_sola_multicast_hsvf_v1_9_display.market_flow_indicator(buffer, offset, value, packet, parent)
4116-
parent = parent:add(box_options_sola_multicast_hsvf_v1_9.fields.market_flow_indicator, range, value, display)
4113+
local display = box_options_sola_multicast_hsvf_v1_9_display.market_flow_indicator(buffer, packet, parent)
4114+
parent = parent:add(box_options_sola_multicast_hsvf_v1_9.fields.market_flow_indicator, range, display)
41174115
end
41184116

41194117
return box_options_sola_multicast_hsvf_v1_9_dissect.market_flow_indicator_fields(buffer, offset, packet, parent)

Box/Box_Options_Sola_Unicast_Hsvf_v4_5_1_Dissector.lua

Lines changed: 30 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ box_options_sola_unicast_hsvf_v4_5_1.fields.open_interest = ProtoField.new("Open
140140
box_options_sola_unicast_hsvf_v4_5_1.fields.open_price = ProtoField.new("Open Price", "box.options.sola.unicast.hsvf.v4.5.1.openprice", ftypes.STRING)
141141
box_options_sola_unicast_hsvf_v4_5_1.fields.open_price_fraction_indicator = ProtoField.new("Open Price Fraction Indicator", "box.options.sola.unicast.hsvf.v4.5.1.openpricefractionindicator", ftypes.STRING)
142142
box_options_sola_unicast_hsvf_v4_5_1.fields.open_price_sign = ProtoField.new("Open Price Sign", "box.options.sola.unicast.hsvf.v4.5.1.openpricesign", ftypes.STRING)
143+
box_options_sola_unicast_hsvf_v4_5_1.fields.option_classes_requested = ProtoField.new("Option Classes Requested", "box.options.sola.unicast.hsvf.v4.5.1.optionclassesrequested", ftypes.STRING)
143144
box_options_sola_unicast_hsvf_v4_5_1.fields.option_improvement_process_beginning_message = ProtoField.new("Option Improvement Process Beginning Message", "box.options.sola.unicast.hsvf.v4.5.1.optionimprovementprocessbeginningmessage", ftypes.STRING)
144145
box_options_sola_unicast_hsvf_v4_5_1.fields.option_instrument_keys_message = ProtoField.new("Option Instrument Keys Message", "box.options.sola.unicast.hsvf.v4.5.1.optioninstrumentkeysmessage", ftypes.STRING)
145146
box_options_sola_unicast_hsvf_v4_5_1.fields.option_marker = ProtoField.new("Option Marker", "box.options.sola.unicast.hsvf.v4.5.1.optionmarker", ftypes.STRING)
@@ -3307,8 +3308,8 @@ box_options_sola_unicast_hsvf_v4_5_1_size_of.option_marker = function(buffer, of
33073308
end
33083309

33093310
-- Display: Option Marker
3310-
box_options_sola_unicast_hsvf_v4_5_1_display.option_marker = function(buffer, offset, value, packet, parent)
3311-
return "Option Marker: "..value
3311+
box_options_sola_unicast_hsvf_v4_5_1_display.option_marker = function(buffer, offset, size, packet, parent)
3312+
return ""
33123313
end
33133314

33143315
-- Dissect Fields: Option Marker
@@ -3330,9 +3331,8 @@ box_options_sola_unicast_hsvf_v4_5_1_dissect.option_marker = function(buffer, of
33303331
if show.option_marker then
33313332
local length = box_options_sola_unicast_hsvf_v4_5_1_size_of.option_marker(buffer, offset)
33323333
local range = buffer(offset, length)
3333-
local value = range:string()
3334-
local display = box_options_sola_unicast_hsvf_v4_5_1_display.option_marker(buffer, offset, value, packet, parent)
3335-
parent = parent:add(box_options_sola_unicast_hsvf_v4_5_1.fields.option_marker, range, value, display)
3334+
local display = box_options_sola_unicast_hsvf_v4_5_1_display.option_marker(buffer, packet, parent)
3335+
parent = parent:add(box_options_sola_unicast_hsvf_v4_5_1.fields.option_marker, range, display)
33363336
end
33373337

33383338
return box_options_sola_unicast_hsvf_v4_5_1_dissect.option_marker_fields(buffer, offset, packet, parent)
@@ -4351,8 +4351,8 @@ box_options_sola_unicast_hsvf_v4_5_1_size_of.market_flow_indicator = function(bu
43514351
end
43524352

43534353
-- Display: Market Flow Indicator
4354-
box_options_sola_unicast_hsvf_v4_5_1_display.market_flow_indicator = function(buffer, offset, value, packet, parent)
4355-
return "Market Flow Indicator: "..value
4354+
box_options_sola_unicast_hsvf_v4_5_1_display.market_flow_indicator = function(buffer, offset, size, packet, parent)
4355+
return ""
43564356
end
43574357

43584358
-- Dissect Fields: Market Flow Indicator
@@ -4374,9 +4374,8 @@ box_options_sola_unicast_hsvf_v4_5_1_dissect.market_flow_indicator = function(bu
43744374
if show.market_flow_indicator then
43754375
local length = box_options_sola_unicast_hsvf_v4_5_1_size_of.market_flow_indicator(buffer, offset)
43764376
local range = buffer(offset, length)
4377-
local value = range:string()
4378-
local display = box_options_sola_unicast_hsvf_v4_5_1_display.market_flow_indicator(buffer, offset, value, packet, parent)
4379-
parent = parent:add(box_options_sola_unicast_hsvf_v4_5_1.fields.market_flow_indicator, range, value, display)
4377+
local display = box_options_sola_unicast_hsvf_v4_5_1_display.market_flow_indicator(buffer, packet, parent)
4378+
parent = parent:add(box_options_sola_unicast_hsvf_v4_5_1.fields.market_flow_indicator, range, display)
43804379
end
43814380

43824381
return box_options_sola_unicast_hsvf_v4_5_1_dissect.market_flow_indicator_fields(buffer, offset, packet, parent)
@@ -6169,6 +6168,26 @@ box_options_sola_unicast_hsvf_v4_5_1_dissect.end_of_transmission_message = funct
61696168
return box_options_sola_unicast_hsvf_v4_5_1_dissect.end_of_transmission_message_fields(buffer, offset, packet, parent)
61706169
end
61716170

6171+
-- Size: Option Classes Requested
6172+
box_options_sola_unicast_hsvf_v4_5_1_size_of.option_classes_requested = 0
6173+
6174+
-- Display: Option Classes Requested
6175+
box_options_sola_unicast_hsvf_v4_5_1_display.option_classes_requested = function(value)
6176+
return "Option Classes Requested: "..value
6177+
end
6178+
6179+
-- Dissect: Option Classes Requested
6180+
box_options_sola_unicast_hsvf_v4_5_1_dissect.option_classes_requested = function(buffer, offset, packet, parent)
6181+
local length = box_options_sola_unicast_hsvf_v4_5_1_size_of.option_classes_requested
6182+
local range = buffer(offset, length)
6183+
local value = range:string()
6184+
local display = box_options_sola_unicast_hsvf_v4_5_1_display.option_classes_requested(value, buffer, offset, packet, parent)
6185+
6186+
parent:add(box_options_sola_unicast_hsvf_v4_5_1.fields.option_classes_requested, range, value, display)
6187+
6188+
return offset + length, value
6189+
end
6190+
61726191
-- Size: Number Of Option Classes Requested
61736192
box_options_sola_unicast_hsvf_v4_5_1_size_of.number_of_option_classes_requested = 3
61746193

@@ -6460,7 +6479,7 @@ box_options_sola_unicast_hsvf_v4_5_1_dissect.connection_message_fields = functio
64606479
-- Number Of Option Classes Requested: 3 Byte Ascii String
64616480
index, number_of_option_classes_requested = box_options_sola_unicast_hsvf_v4_5_1_dissect.number_of_option_classes_requested(buffer, index, packet, parent)
64626481

6463-
-- Option Classes Requested
6482+
-- Option Classes Requested: 0 Byte Ascii String
64646483
index, option_classes_requested = box_options_sola_unicast_hsvf_v4_5_1_dissect.option_classes_requested(buffer, index, packet, parent)
64656484

64666485
return index

Box/ReadMe.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55

66
| Division | Data | Protocol | Version | Date | Size | [Status][Omi.Glossary.Status] | [Testing][Omi.Glossary.Testing] | Specification |
77
| --- | --- | --- | --- | ---: | ---: | --- | --- | --- |
8-
| Options Sola | [Multicast][Box.Options.Sola.Multicast.Hsvf.v1.9.Dissector] | Hsvf | [1.9][Box.Options.Sola.Multicast.Hsvf.v1.9.Dissector] | 2/15/2024 | 6716 | [Active][Omi.Glossary.Status.Active] | [Verified][Omi.Glossary.Testing.Verified] | [url][Box.Options.Sola.Multicast.Hsvf.v1.9.Url] - [pdf][Box.Options.Sola.Multicast.Hsvf.v1.9.Pdf] |
9-
| Options Sola | [Multicast][Box.Options.Sola.Multicast.Hsvf.v1.8.Dissector] | Hsvf | [1.8][Box.Options.Sola.Multicast.Hsvf.v1.8.Dissector] | 10/17/2023 | 6669 | [Deprecated][Omi.Glossary.Status.Deprecated] | [Verified][Omi.Glossary.Testing.Verified] | [url][Box.Options.Sola.Multicast.Hsvf.v1.8.Url] - [pdf][Box.Options.Sola.Multicast.Hsvf.v1.8.Pdf] |
10-
| Options Sola | [Unicast][Box.Options.Sola.Unicast.Hsvf.v4.5.1.Dissector] | Hsvf | [4.5.1][Box.Options.Sola.Unicast.Hsvf.v4.5.1.Dissector] | 3/15/2021 | 7082 | [Deprecated][Omi.Glossary.Status.Deprecated] | [Verified][Omi.Glossary.Testing.Verified] | [pdf][Box.Options.Sola.Unicast.Hsvf.v4.5.1.Pdf] |
8+
| Options Sola | [Multicast][Box.Options.Sola.Multicast.Hsvf.v1.9.Dissector] | Hsvf | [1.9][Box.Options.Sola.Multicast.Hsvf.v1.9.Dissector] | 2/15/2024 | 6714 | [Active][Omi.Glossary.Status.Active] | [Verified][Omi.Glossary.Testing.Verified] | [url][Box.Options.Sola.Multicast.Hsvf.v1.9.Url] - [pdf][Box.Options.Sola.Multicast.Hsvf.v1.9.Pdf] |
9+
| Options Sola | [Multicast][Box.Options.Sola.Multicast.Hsvf.v1.8.Dissector] | Hsvf | [1.8][Box.Options.Sola.Multicast.Hsvf.v1.8.Dissector] | 10/17/2023 | 6667 | [Deprecated][Omi.Glossary.Status.Deprecated] | [Verified][Omi.Glossary.Testing.Verified] | [url][Box.Options.Sola.Multicast.Hsvf.v1.8.Url] - [pdf][Box.Options.Sola.Multicast.Hsvf.v1.8.Pdf] |
10+
| Options Sola | [Unicast][Box.Options.Sola.Unicast.Hsvf.v4.5.1.Dissector] | Hsvf | [4.5.1][Box.Options.Sola.Unicast.Hsvf.v4.5.1.Dissector] | 3/15/2021 | 7101 | [Deprecated][Omi.Glossary.Status.Deprecated] | [Verified][Omi.Glossary.Testing.Verified] | [pdf][Box.Options.Sola.Unicast.Hsvf.v4.5.1.Pdf] |
1111

1212

1313
Box: [website](https://boxoptions.com "Go to Boston Options Exchange")

ReadMe.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Updates are greatly appreciated; however, this entire repository is source gener
3232

3333
| Protocol Count | Generated Lines |
3434
| --- | --- |
35-
| 340 | 3,415,892 |
35+
| 340 | 3,415,907 |
3636

3737
Note: Our dissector model is still under rapid development.
3838

0 commit comments

Comments
 (0)