Skip to content

Commit 77c45e5

Browse files
Update protocol names
1 parent db558e0 commit 77c45e5

17 files changed

Lines changed: 429 additions & 414 deletions

File tree

Asx/ReadMe.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Asx: [website](https://www.asx.com.au "Go to Australian Securities Exchange")
3333
[Omi.Encoding.Itch]: https://github.com/Open-Markets-Initiative/Directory/blob/main/Protocols/Itch.md "Itch Encoding"
3434
[Omi.Encoding.Ouch]: https://github.com/Open-Markets-Initiative/Directory/blob/main/Protocols/Ouch.md "Ouch Encoding"
3535
[AsxSecurities.Exchange]: https://github.com/Open-Markets-Initiative/Directory/tree/main/Organizations/Asx/Protocols/AsxSecurities "Asx AsxSecurities"
36-
[Asx.AsxSecurities.T24]: https://github.com/Open-Markets-Initiative/Directory/blob/main/Organizations/Asx/Protocols/AsxSecurities/T24.md "Asx 24 Itch"
36+
[Asx.AsxSecurities.T24]: https://github.com/Open-Markets-Initiative/Directory/blob/main/Organizations/Asx/Protocols/AsxSecurities/T24.md "24 Itch"
3737
[Asx.AsxSecurities.Ntp]: https://github.com/Open-Markets-Initiative/Directory/blob/main/Organizations/Asx/Protocols/AsxSecurities/Ntp.md "New Trading Platform"
3838
[Asx.AsxSecurities.Trade]: https://github.com/Open-Markets-Initiative/Directory/blob/main/Organizations/Asx/Protocols/AsxSecurities/Trade.md "Asx Trade"
3939

BruceAts/ReadMe.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ BruceAts: [website](https://www.brucemarkets.com "Go to Bruce ATS")
3030
[Omi.Encoding.Itch]: https://github.com/Open-Markets-Initiative/Directory/blob/main/Protocols/Itch.md "Itch Encoding"
3131
[BruceEquities.Exchange]: https://github.com/Open-Markets-Initiative/Directory/tree/main/Organizations/BruceAts/Protocols/BruceEquities "BruceAts BruceEquities"
3232
[BruceAts.BruceEquities.BestBidAndOffer]: https://github.com/Open-Markets-Initiative/Directory/blob/main/Organizations/BruceAts/Protocols/BruceEquities/BestBidAndOffer.md "Best Bid And Offer"
33-
[BruceAts.BruceEquities.DepthOfBook]: https://github.com/Open-Markets-Initiative/Directory/blob/main/Organizations/BruceAts/Protocols/BruceEquities/DepthOfBook.md "Bruce Depth Of Book"
34-
[BruceAts.BruceEquities.LastSale]: https://github.com/Open-Markets-Initiative/Directory/blob/main/Organizations/BruceAts/Protocols/BruceEquities/LastSale.md "Bruce Last Sale"
33+
[BruceAts.BruceEquities.DepthOfBook]: https://github.com/Open-Markets-Initiative/Directory/blob/main/Organizations/BruceAts/Protocols/BruceEquities/DepthOfBook.md "Depth Of Book"
34+
[BruceAts.BruceEquities.LastSale]: https://github.com/Open-Markets-Initiative/Directory/blob/main/Organizations/BruceAts/Protocols/BruceEquities/LastSale.md "Last Sale"
3535

3636
[BruceAts.BruceEquities.BestBidAndOffer.Itch.v1.0.Dissector]: https://github.com/Open-Markets-Initiative/wireshark-lua/blob/main/BruceAts/BruceAts_BruceEquities_BestBidAndOffer_Itch_v1_0_Dissector.lua "BruceAts BruceEquities BestBidAndOffer Itch v1.0 Wireshark Dissector"
3737
[BruceAts.BruceEquities.BestBidAndOffer.Itch.v1.0.Pdf]: https://github.com/Open-Markets-Initiative/Directory/blob/main/Organizations/BruceAts/Specifications/Equities/BestBidAndOffer/Bruce.Equities.BestBidAndOffer.Itch.v1.0.pdf "Bruce ATS 1.0 Pdf"

Cboe/Cboe_CfeFutures_OrderEntry_Boe3_v1_1_20_Dissector.lua

Lines changed: 25 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -232,8 +232,8 @@ show.unit_sequence_index = true
232232
show.leg_position_effect_index = true
233233
show.quote_update_group_index = true
234234
show.quote_update_option_group_index = true
235-
show.quote_update_acknowledgement_group_index = true
236235
show.option_leg_index = true
236+
show.quote_update_acknowledgement_group_index = true
237237

238238
-- Register Cboe CfeFutures OrderEntry Boe3 1.1.20 Show Options
239239
omi_cboe_cfefutures_orderentry_boe3_v1_1_20.prefs.show_cancel_order = Pref.bool("Show Cancel Order", show.cancel_order, "Parse and add Cancel Order to protocol tree")
@@ -287,8 +287,8 @@ omi_cboe_cfefutures_orderentry_boe3_v1_1_20.prefs.show_unit_sequence_index = Pre
287287
omi_cboe_cfefutures_orderentry_boe3_v1_1_20.prefs.show_leg_position_effect_index = Pref.bool("Show Leg Position Effect Index", show.leg_position_effect_index, "Show generated leg position effect index in protocol tree")
288288
omi_cboe_cfefutures_orderentry_boe3_v1_1_20.prefs.show_quote_update_group_index = Pref.bool("Show Quote Update Group Index", show.quote_update_group_index, "Show generated quote update group index in protocol tree")
289289
omi_cboe_cfefutures_orderentry_boe3_v1_1_20.prefs.show_quote_update_option_group_index = Pref.bool("Show Quote Update Option Group Index", show.quote_update_option_group_index, "Show generated quote update option group index in protocol tree")
290-
omi_cboe_cfefutures_orderentry_boe3_v1_1_20.prefs.show_quote_update_acknowledgement_group_index = Pref.bool("Show Quote Update Acknowledgement Group Index", show.quote_update_acknowledgement_group_index, "Show generated quote update acknowledgement group index in protocol tree")
291290
omi_cboe_cfefutures_orderentry_boe3_v1_1_20.prefs.show_option_leg_index = Pref.bool("Show Option Leg Index", show.option_leg_index, "Show generated option leg index in protocol tree")
291+
omi_cboe_cfefutures_orderentry_boe3_v1_1_20.prefs.show_quote_update_acknowledgement_group_index = Pref.bool("Show Quote Update Acknowledgement Group Index", show.quote_update_acknowledgement_group_index, "Show generated quote update acknowledgement group index in protocol tree")
292292

293293

294294
-- Handle changed preferences
@@ -448,12 +448,12 @@ function omi_cboe_cfefutures_orderentry_boe3_v1_1_20.prefs_changed()
448448
if show.quote_update_option_group_index ~= omi_cboe_cfefutures_orderentry_boe3_v1_1_20.prefs.show_quote_update_option_group_index then
449449
show.quote_update_option_group_index = omi_cboe_cfefutures_orderentry_boe3_v1_1_20.prefs.show_quote_update_option_group_index
450450
end
451-
if show.quote_update_acknowledgement_group_index ~= omi_cboe_cfefutures_orderentry_boe3_v1_1_20.prefs.show_quote_update_acknowledgement_group_index then
452-
show.quote_update_acknowledgement_group_index = omi_cboe_cfefutures_orderentry_boe3_v1_1_20.prefs.show_quote_update_acknowledgement_group_index
453-
end
454451
if show.option_leg_index ~= omi_cboe_cfefutures_orderentry_boe3_v1_1_20.prefs.show_option_leg_index then
455452
show.option_leg_index = omi_cboe_cfefutures_orderentry_boe3_v1_1_20.prefs.show_option_leg_index
456453
end
454+
if show.quote_update_acknowledgement_group_index ~= omi_cboe_cfefutures_orderentry_boe3_v1_1_20.prefs.show_quote_update_acknowledgement_group_index then
455+
show.quote_update_acknowledgement_group_index = omi_cboe_cfefutures_orderentry_boe3_v1_1_20.prefs.show_quote_update_acknowledgement_group_index
456+
end
457457
end
458458

459459

@@ -6025,12 +6025,22 @@ end
60256025
-- New Complex Instrument Option
60266026
cboe_cfefutures_orderentry_boe3_v1_1_20.new_complex_instrument_option = {}
60276027

6028-
-- Size: New Complex Instrument Option
6029-
cboe_cfefutures_orderentry_boe3_v1_1_20.new_complex_instrument_option.size =
6030-
cboe_cfefutures_orderentry_boe3_v1_1_20.cl_ord_id.size +
6031-
cboe_cfefutures_orderentry_boe3_v1_1_20.clearing_firm.size +
6032-
cboe_cfefutures_orderentry_boe3_v1_1_20.leg_cnt.size +
6033-
cboe_cfefutures_orderentry_boe3_v1_1_20.complex_instrument_option_leg.size
6028+
-- Calculate size of: New Complex Instrument Option
6029+
cboe_cfefutures_orderentry_boe3_v1_1_20.new_complex_instrument_option.size = function(buffer, offset)
6030+
local index = 0
6031+
6032+
index = index + cboe_cfefutures_orderentry_boe3_v1_1_20.cl_ord_id.size
6033+
6034+
index = index + cboe_cfefutures_orderentry_boe3_v1_1_20.clearing_firm.size
6035+
6036+
index = index + cboe_cfefutures_orderentry_boe3_v1_1_20.leg_cnt.size
6037+
6038+
-- Calculate field size from count
6039+
local option_leg_count = buffer(offset + index - 1, 1):le_uint()
6040+
index = index + option_leg_count * 13
6041+
6042+
return index
6043+
end
60346044

60356045
-- Display: New Complex Instrument Option
60366046
cboe_cfefutures_orderentry_boe3_v1_1_20.new_complex_instrument_option.display = function(packet, parent, length)
@@ -6050,8 +6060,10 @@ cboe_cfefutures_orderentry_boe3_v1_1_20.new_complex_instrument_option.fields = f
60506060
-- Leg Cnt: Binary
60516061
index, leg_cnt = cboe_cfefutures_orderentry_boe3_v1_1_20.leg_cnt.dissect(buffer, index, packet, parent)
60526062

6053-
-- Complex Instrument Option Leg
6054-
index, complex_instrument_option_leg = cboe_cfefutures_orderentry_boe3_v1_1_20.complex_instrument_option_leg.dissect(buffer, index, packet, parent)
6063+
-- Repeating: Option Leg
6064+
for option_leg_index = 1, leg_cnt do
6065+
index, option_leg = cboe_cfefutures_orderentry_boe3_v1_1_20.option_leg.dissect(buffer, index, packet, parent, option_leg_index)
6066+
end
60556067

60566068
return index
60576069
end

0 commit comments

Comments
 (0)