/
Nyse.Equities.BinaryGateway.Pillar.v5.8.Script.Dissector.lua
9863 lines (7739 loc) · 422 KB
/
Nyse.Equities.BinaryGateway.Pillar.v5.8.Script.Dissector.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
-----------------------------------------------------------------------
-- Lua Script Wireshark Dissector
--
-- Please see end of file for rules and regulations
-----------------------------------------------------------------------
-- Nyse Equities BinaryGateway Pillar 5.8 Protocol
local nyse_equities_binarygateway_pillar_v5_8 = Proto("Nyse.Equities.BinaryGateway.Pillar.v5.8.Lua", "Nyse Equities BinaryGateway Pillar 5.8")
-- Component Tables
local show = {}
local format = {}
local nyse_equities_binarygateway_pillar_v5_8_display = {}
local nyse_equities_binarygateway_pillar_v5_8_dissect = {}
local nyse_equities_binarygateway_pillar_v5_8_size_of = {}
local verify = {}
local translate = {}
-----------------------------------------------------------------------
-- Declare Protocol Fields
-----------------------------------------------------------------------
-- Nyse Equities BinaryGateway Pillar 5.8 Fields
nyse_equities_binarygateway_pillar_v5_8.fields.access = ProtoField.new("Access", "nyse.equities.binarygateway.pillar.v5.8.access", ftypes.UINT8)
nyse_equities_binarygateway_pillar_v5_8.fields.ack_status = ProtoField.new("Ack Status", "nyse.equities.binarygateway.pillar.v5.8.ackstatus", ftypes.UINT8)
nyse_equities_binarygateway_pillar_v5_8.fields.ack_type = ProtoField.new("Ack Type", "nyse.equities.binarygateway.pillar.v5.8.acktype", ftypes.UINT8)
nyse_equities_binarygateway_pillar_v5_8.fields.adv_risk_range_id = ProtoField.new("Adv Risk Range Id", "nyse.equities.binarygateway.pillar.v5.8.advriskrangeid", ftypes.UINT8)
nyse_equities_binarygateway_pillar_v5_8.fields.application_layer_reject = ProtoField.new("Application Layer Reject", "nyse.equities.binarygateway.pillar.v5.8.applicationlayerreject", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.auction_price_data = ProtoField.new("Auction Price Data", "nyse.equities.binarygateway.pillar.v5.8.auctionpricedata", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.auction_request = ProtoField.new("Auction Request", "nyse.equities.binarygateway.pillar.v5.8.auctionrequest", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.auction_type = ProtoField.new("Auction Type", "nyse.equities.binarygateway.pillar.v5.8.auctiontype", ftypes.UINT8)
nyse_equities_binarygateway_pillar_v5_8.fields.bitfield_flow_indicator = ProtoField.new("Bitfield Flow Indicator", "nyse.equities.binarygateway.pillar.v5.8.bitfieldflowindicator", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.bitfield_order_instructions = ProtoField.new("Bitfield Order Instructions", "nyse.equities.binarygateway.pillar.v5.8.bitfieldorderinstructions", ftypes.BYTES)
nyse_equities_binarygateway_pillar_v5_8.fields.blocked_by_breach_indicator = ProtoField.new("Blocked By Breach Indicator", "nyse.equities.binarygateway.pillar.v5.8.blockedbybreachindicator", ftypes.UINT8)
nyse_equities_binarygateway_pillar_v5_8.fields.blocked_by_kill_switch_indicator = ProtoField.new("Blocked By Kill Switch Indicator", "nyse.equities.binarygateway.pillar.v5.8.blockedbykillswitchindicator", ftypes.UINT8)
nyse_equities_binarygateway_pillar_v5_8.fields.bold_designation = ProtoField.new("Bold Designation", "nyse.equities.binarygateway.pillar.v5.8.bolddesignation", ftypes.UINT8)
nyse_equities_binarygateway_pillar_v5_8.fields.book = ProtoField.new("Book", "nyse.equities.binarygateway.pillar.v5.8.book", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.breach_action_request = ProtoField.new("Breach Action Request", "nyse.equities.binarygateway.pillar.v5.8.breachactionrequest", ftypes.UINT8)
nyse_equities_binarygateway_pillar_v5_8.fields.breach_action_response = ProtoField.new("Breach Action Response", "nyse.equities.binarygateway.pillar.v5.8.breachactionresponse", ftypes.UINT8)
nyse_equities_binarygateway_pillar_v5_8.fields.bulk_cancel_request_message = ProtoField.new("Bulk Cancel Request Message", "nyse.equities.binarygateway.pillar.v5.8.bulkcancelrequestmessage", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.bulk_cancel_type = ProtoField.new("Bulk Cancel Type", "nyse.equities.binarygateway.pillar.v5.8.bulkcanceltype", ftypes.UINT8)
nyse_equities_binarygateway_pillar_v5_8.fields.buy_dmm_available_qty = ProtoField.new("Buy Dmm Available Qty", "nyse.equities.binarygateway.pillar.v5.8.buydmmavailableqty", ftypes.UINT32)
nyse_equities_binarygateway_pillar_v5_8.fields.cancel_on_disconnect = ProtoField.new("Cancel On Disconnect", "nyse.equities.binarygateway.pillar.v5.8.cancelondisconnect", ftypes.UINT8)
nyse_equities_binarygateway_pillar_v5_8.fields.cl_ord_id = ProtoField.new("Cl Ord Id", "nyse.equities.binarygateway.pillar.v5.8.clordid", ftypes.UINT64)
nyse_equities_binarygateway_pillar_v5_8.fields.clearing_account = ProtoField.new("Clearing Account", "nyse.equities.binarygateway.pillar.v5.8.clearingaccount", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.clearing_firm = ProtoField.new("Clearing Firm", "nyse.equities.binarygateway.pillar.v5.8.clearingfirm", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.clearing_number = ProtoField.new("Clearing Number", "nyse.equities.binarygateway.pillar.v5.8.clearingnumber", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.close = ProtoField.new("Close", "nyse.equities.binarygateway.pillar.v5.8.close", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.close_on_trade_max_qty = ProtoField.new("Close On Trade Max Qty", "nyse.equities.binarygateway.pillar.v5.8.closeontrademaxqty", ftypes.UINT64)
nyse_equities_binarygateway_pillar_v5_8.fields.close_response = ProtoField.new("Close Response", "nyse.equities.binarygateway.pillar.v5.8.closeresponse", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.count_calculation = ProtoField.new("Count Calculation", "nyse.equities.binarygateway.pillar.v5.8.countcalculation", ftypes.UINT32)
nyse_equities_binarygateway_pillar_v5_8.fields.count_limit = ProtoField.new("Count Limit", "nyse.equities.binarygateway.pillar.v5.8.countlimit", ftypes.INT32)
nyse_equities_binarygateway_pillar_v5_8.fields.cum_qty = ProtoField.new("Cum Qty", "nyse.equities.binarygateway.pillar.v5.8.cumqty", ftypes.UINT32)
nyse_equities_binarygateway_pillar_v5_8.fields.deal_id = ProtoField.new("Deal Id", "nyse.equities.binarygateway.pillar.v5.8.dealid", ftypes.UINT64)
nyse_equities_binarygateway_pillar_v5_8.fields.deliver_to_comp_id = ProtoField.new("Deliver To Comp Id", "nyse.equities.binarygateway.pillar.v5.8.delivertocompid", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.displayed_liquidity_indicator = ProtoField.new("Displayed Liquidity Indicator", "nyse.equities.binarygateway.pillar.v5.8.displayedliquidityindicator", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.dmm_allocated_qty = ProtoField.new("Dmm Allocated Qty", "nyse.equities.binarygateway.pillar.v5.8.dmmallocatedqty", ftypes.UINT32)
nyse_equities_binarygateway_pillar_v5_8.fields.dmm_available_qty = ProtoField.new("Dmm Available Qty", "nyse.equities.binarygateway.pillar.v5.8.dmmavailableqty", ftypes.UINT32)
nyse_equities_binarygateway_pillar_v5_8.fields.dmm_reject_reason = ProtoField.new("Dmm Reject Reason", "nyse.equities.binarygateway.pillar.v5.8.dmmrejectreason", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.dmm_requested_qty = ProtoField.new("Dmm Requested Qty", "nyse.equities.binarygateway.pillar.v5.8.dmmrequestedqty", ftypes.UINT32)
nyse_equities_binarygateway_pillar_v5_8.fields.dmm_symbol_reference_data_message = ProtoField.new("Dmm Symbol Reference Data Message", "nyse.equities.binarygateway.pillar.v5.8.dmmsymbolreferencedatamessage", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.dmm_unit_num = ProtoField.new("Dmm Unit Num", "nyse.equities.binarygateway.pillar.v5.8.dmmunitnum", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.end_seq = ProtoField.new("End Seq", "nyse.equities.binarygateway.pillar.v5.8.endseq", ftypes.UINT64)
nyse_equities_binarygateway_pillar_v5_8.fields.equities_symbol_reference_data_message = ProtoField.new("Equities Symbol Reference Data Message", "nyse.equities.binarygateway.pillar.v5.8.equitiessymbolreferencedatamessage", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.execution_report = ProtoField.new("Execution Report", "nyse.equities.binarygateway.pillar.v5.8.executionreport", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.gt_begin = ProtoField.new("Gt Begin", "nyse.equities.binarygateway.pillar.v5.8.gtbegin", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.gt_end = ProtoField.new("Gt End", "nyse.equities.binarygateway.pillar.v5.8.gtend", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.heartbeat = ProtoField.new("Heartbeat", "nyse.equities.binarygateway.pillar.v5.8.heartbeat", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.imbalance_side = ProtoField.new("Imbalance Side", "nyse.equities.binarygateway.pillar.v5.8.imbalanceside", ftypes.UINT8)
nyse_equities_binarygateway_pillar_v5_8.fields.imbalance_volume = ProtoField.new("Imbalance Volume", "nyse.equities.binarygateway.pillar.v5.8.imbalancevolume", ftypes.UINT32)
nyse_equities_binarygateway_pillar_v5_8.fields.intraday_sell_short_qty = ProtoField.new("Intraday Sell Short Qty", "nyse.equities.binarygateway.pillar.v5.8.intradaysellshortqty", ftypes.UINT32)
nyse_equities_binarygateway_pillar_v5_8.fields.introducing_badge_id = ProtoField.new("Introducing Badge Id", "nyse.equities.binarygateway.pillar.v5.8.introducingbadgeid", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.ioc_attribution = ProtoField.new("Ioc Attribution", "nyse.equities.binarygateway.pillar.v5.8.iocattribution", ftypes.UINT8)
nyse_equities_binarygateway_pillar_v5_8.fields.last_px = ProtoField.new("Last Px", "nyse.equities.binarygateway.pillar.v5.8.lastpx", ftypes.DOUBLE)
nyse_equities_binarygateway_pillar_v5_8.fields.last_qty = ProtoField.new("Last Qty", "nyse.equities.binarygateway.pillar.v5.8.lastqty", ftypes.UINT32)
nyse_equities_binarygateway_pillar_v5_8.fields.leaves_qty = ProtoField.new("Leaves Qty", "nyse.equities.binarygateway.pillar.v5.8.leavesqty", ftypes.UINT32)
nyse_equities_binarygateway_pillar_v5_8.fields.liquidity_indicator = ProtoField.new("Liquidity Indicator", "nyse.equities.binarygateway.pillar.v5.8.liquidityindicator", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.listed_mic = ProtoField.new("Listed Mic", "nyse.equities.binarygateway.pillar.v5.8.listedmic", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.lmocp = ProtoField.new("Lmocp", "nyse.equities.binarygateway.pillar.v5.8.lmocp", ftypes.DOUBLE)
nyse_equities_binarygateway_pillar_v5_8.fields.locate_reqd = ProtoField.new("Locate Reqd", "nyse.equities.binarygateway.pillar.v5.8.locatereqd", ftypes.UINT8)
nyse_equities_binarygateway_pillar_v5_8.fields.login_message = ProtoField.new("Login Message", "nyse.equities.binarygateway.pillar.v5.8.loginmessage", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.login_response = ProtoField.new("Login Response", "nyse.equities.binarygateway.pillar.v5.8.loginresponse", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.luldmpv = ProtoField.new("Luldmpv", "nyse.equities.binarygateway.pillar.v5.8.luldmpv", ftypes.DOUBLE)
nyse_equities_binarygateway_pillar_v5_8.fields.manual_action_id = ProtoField.new("Manual Action Id", "nyse.equities.binarygateway.pillar.v5.8.manualactionid", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.manual_action_request = ProtoField.new("Manual Action Request", "nyse.equities.binarygateway.pillar.v5.8.manualactionrequest", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.manual_action_response_message = ProtoField.new("Manual Action Response Message", "nyse.equities.binarygateway.pillar.v5.8.manualactionresponsemessage", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.manual_action_type = ProtoField.new("Manual Action Type", "nyse.equities.binarygateway.pillar.v5.8.manualactiontype", ftypes.UINT8)
nyse_equities_binarygateway_pillar_v5_8.fields.manual_override = ProtoField.new("Manual Override", "nyse.equities.binarygateway.pillar.v5.8.manualoverride", ftypes.UINT8)
nyse_equities_binarygateway_pillar_v5_8.fields.manual_override_reason = ProtoField.new("Manual Override Reason", "nyse.equities.binarygateway.pillar.v5.8.manualoverridereason", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.manual_response_type = ProtoField.new("Manual Response Type", "nyse.equities.binarygateway.pillar.v5.8.manualresponsetype", ftypes.UINT8)
nyse_equities_binarygateway_pillar_v5_8.fields.market_maker = ProtoField.new("Market Maker", "nyse.equities.binarygateway.pillar.v5.8.marketmaker", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.max_floor = ProtoField.new("Max Floor", "nyse.equities.binarygateway.pillar.v5.8.maxfloor", ftypes.UINT32)
nyse_equities_binarygateway_pillar_v5_8.fields.max_order_quantity = ProtoField.new("Max Order Quantity", "nyse.equities.binarygateway.pillar.v5.8.maxorderquantity", ftypes.UINT32)
nyse_equities_binarygateway_pillar_v5_8.fields.median_volume = ProtoField.new("Median Volume", "nyse.equities.binarygateway.pillar.v5.8.medianvolume", ftypes.UINT64)
nyse_equities_binarygateway_pillar_v5_8.fields.mic = ProtoField.new("Mic", "nyse.equities.binarygateway.pillar.v5.8.mic", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.min_qty = ProtoField.new("Min Qty", "nyse.equities.binarygateway.pillar.v5.8.minqty", ftypes.UINT32)
nyse_equities_binarygateway_pillar_v5_8.fields.minimum_price_variant_class_reference_data_message = ProtoField.new("Minimum Price Variant Class Reference Data Message", "nyse.equities.binarygateway.pillar.v5.8.minimumpricevariantclassreferencedatamessage", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.minimum_price_variant_level_reference_data_message = ProtoField.new("Minimum Price Variant Level Reference Data Message", "nyse.equities.binarygateway.pillar.v5.8.minimumpricevariantlevelreferencedatamessage", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.mmid = ProtoField.new("Mmid", "nyse.equities.binarygateway.pillar.v5.8.mmid", ftypes.UINT32)
nyse_equities_binarygateway_pillar_v5_8.fields.mmid_configuration_message = ProtoField.new("Mmid Configuration Message", "nyse.equities.binarygateway.pillar.v5.8.mmidconfigurationmessage", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.mode = ProtoField.new("Mode", "nyse.equities.binarygateway.pillar.v5.8.mode", ftypes.UINT8)
nyse_equities_binarygateway_pillar_v5_8.fields.mp_sub_id = ProtoField.new("Mp Sub Id", "nyse.equities.binarygateway.pillar.v5.8.mpsubid", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.mpid = ProtoField.new("Mpid", "nyse.equities.binarygateway.pillar.v5.8.mpid", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.mpid_configuration_message = ProtoField.new("Mpid Configuration Message", "nyse.equities.binarygateway.pillar.v5.8.mpidconfigurationmessage", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.mpid_status = ProtoField.new("Mpid Status", "nyse.equities.binarygateway.pillar.v5.8.mpidstatus", ftypes.UINT8)
nyse_equities_binarygateway_pillar_v5_8.fields.mpv_class_id = ProtoField.new("Mpv Class Id", "nyse.equities.binarygateway.pillar.v5.8.mpvclassid", ftypes.UINT16)
nyse_equities_binarygateway_pillar_v5_8.fields.mpv_class_name = ProtoField.new("Mpv Class Name", "nyse.equities.binarygateway.pillar.v5.8.mpvclassname", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.mpv_level_definition = ProtoField.new("Mpv Level Definition", "nyse.equities.binarygateway.pillar.v5.8.mpvleveldefinition", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.mpv_level_name = ProtoField.new("Mpv Level Name", "nyse.equities.binarygateway.pillar.v5.8.mpvlevelname", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.msg_header = ProtoField.new("Msg Header", "nyse.equities.binarygateway.pillar.v5.8.msgheader", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.msg_length = ProtoField.new("Msg Length", "nyse.equities.binarygateway.pillar.v5.8.msglength", ftypes.UINT16)
nyse_equities_binarygateway_pillar_v5_8.fields.msg_type = ProtoField.new("Msg Type", "nyse.equities.binarygateway.pillar.v5.8.msgtype", ftypes.UINT16)
nyse_equities_binarygateway_pillar_v5_8.fields.new_order_single_and_cancel_replace_request_message = ProtoField.new("New Order Single And Cancel Replace Request Message", "nyse.equities.binarygateway.pillar.v5.8.newordersingleandcancelreplacerequestmessage", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.next_seq = ProtoField.new("Next Seq", "nyse.equities.binarygateway.pillar.v5.8.nextseq", ftypes.UINT64)
nyse_equities_binarygateway_pillar_v5_8.fields.nyse_symbol = ProtoField.new("Nyse Symbol", "nyse.equities.binarygateway.pillar.v5.8.nysesymbol", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.open = ProtoField.new("Open", "nyse.equities.binarygateway.pillar.v5.8.open", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.open_on_trade_max_qty = ProtoField.new("Open On Trade Max Qty", "nyse.equities.binarygateway.pillar.v5.8.openontrademaxqty", ftypes.UINT64)
nyse_equities_binarygateway_pillar_v5_8.fields.open_response = ProtoField.new("Open Response", "nyse.equities.binarygateway.pillar.v5.8.openresponse", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.optional_data = ProtoField.new("Optional Data", "nyse.equities.binarygateway.pillar.v5.8.optionaldata", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.optional_order_add_on = ProtoField.new("Optional Order Add On", "nyse.equities.binarygateway.pillar.v5.8.optionalorderaddon", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.optional_settlement_type_add_on = ProtoField.new("Optional Settlement Type Add On", "nyse.equities.binarygateway.pillar.v5.8.optionalsettlementtypeaddon", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.order_and_cancel_replace_acknowledgement_message = ProtoField.new("Order And Cancel Replace Acknowledgement Message", "nyse.equities.binarygateway.pillar.v5.8.orderandcancelreplaceacknowledgementmessage", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.order_cancel_request_message = ProtoField.new("Order Cancel Request Message", "nyse.equities.binarygateway.pillar.v5.8.ordercancelrequestmessage", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.order_id = ProtoField.new("Order Id", "nyse.equities.binarygateway.pillar.v5.8.orderid", ftypes.UINT64)
nyse_equities_binarygateway_pillar_v5_8.fields.order_modify_cancel_request_acknowledgment_and_urout = ProtoField.new("Order Modify Cancel Request Acknowledgment And Urout", "nyse.equities.binarygateway.pillar.v5.8.ordermodifycancelrequestacknowledgmentandurout", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.order_modify_request_message = ProtoField.new("Order Modify Request Message", "nyse.equities.binarygateway.pillar.v5.8.ordermodifyrequestmessage", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.order_priority_update_ack_subscription = ProtoField.new("Order Priority Update Ack Subscription", "nyse.equities.binarygateway.pillar.v5.8.orderpriorityupdateacksubscription", ftypes.UINT8)
nyse_equities_binarygateway_pillar_v5_8.fields.order_priority_update_acknowledgment = ProtoField.new("Order Priority Update Acknowledgment", "nyse.equities.binarygateway.pillar.v5.8.orderpriorityupdateacknowledgment", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.order_qty = ProtoField.new("Order Qty", "nyse.equities.binarygateway.pillar.v5.8.orderqty", ftypes.UINT32)
nyse_equities_binarygateway_pillar_v5_8.fields.orig_cl_ord_id = ProtoField.new("Orig Cl Ord Id", "nyse.equities.binarygateway.pillar.v5.8.origclordid", ftypes.UINT64)
nyse_equities_binarygateway_pillar_v5_8.fields.paired_qty = ProtoField.new("Paired Qty", "nyse.equities.binarygateway.pillar.v5.8.pairedqty", ftypes.UINT32)
nyse_equities_binarygateway_pillar_v5_8.fields.participant_type = ProtoField.new("Participant Type", "nyse.equities.binarygateway.pillar.v5.8.participanttype", ftypes.UINT8)
nyse_equities_binarygateway_pillar_v5_8.fields.password = ProtoField.new("Password", "nyse.equities.binarygateway.pillar.v5.8.password", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.percentage_limit = ProtoField.new("Percentage Limit", "nyse.equities.binarygateway.pillar.v5.8.percentagelimit", ftypes.INT32)
nyse_equities_binarygateway_pillar_v5_8.fields.pillarstreammessage = ProtoField.new("pillarstreammessage", "nyse.equities.binarygateway.pillar.v5.8.pillarstreammessage", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.post = ProtoField.new("Post", "nyse.equities.binarygateway.pillar.v5.8.post", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.ppp_1 = ProtoField.new("Ppp 1", "nyse.equities.binarygateway.pillar.v5.8.ppp1", ftypes.DOUBLE)
nyse_equities_binarygateway_pillar_v5_8.fields.ppp_2 = ProtoField.new("Ppp 2", "nyse.equities.binarygateway.pillar.v5.8.ppp2", ftypes.DOUBLE)
nyse_equities_binarygateway_pillar_v5_8.fields.ppp_3 = ProtoField.new("Ppp 3", "nyse.equities.binarygateway.pillar.v5.8.ppp3", ftypes.DOUBLE)
nyse_equities_binarygateway_pillar_v5_8.fields.pre_liquidity_indicator = ProtoField.new("Pre Liquidity Indicator", "nyse.equities.binarygateway.pillar.v5.8.preliquidityindicator", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.price = ProtoField.new("Price", "nyse.equities.binarygateway.pillar.v5.8.price", ftypes.DOUBLE)
nyse_equities_binarygateway_pillar_v5_8.fields.price_scale = ProtoField.new("Price Scale", "nyse.equities.binarygateway.pillar.v5.8.pricescale", ftypes.UINT8)
nyse_equities_binarygateway_pillar_v5_8.fields.quoting_mpv = ProtoField.new("Quoting Mpv", "nyse.equities.binarygateway.pillar.v5.8.quotingmpv", ftypes.DOUBLE)
nyse_equities_binarygateway_pillar_v5_8.fields.rd_seq = ProtoField.new("Rd Seq", "nyse.equities.binarygateway.pillar.v5.8.rdseq", ftypes.UINT64)
nyse_equities_binarygateway_pillar_v5_8.fields.reason_code = ProtoField.new("Reason Code", "nyse.equities.binarygateway.pillar.v5.8.reasoncode", ftypes.UINT16)
nyse_equities_binarygateway_pillar_v5_8.fields.ref_cl_ord_id = ProtoField.new("Ref Cl Ord Id", "nyse.equities.binarygateway.pillar.v5.8.refclordid", ftypes.UINT64)
nyse_equities_binarygateway_pillar_v5_8.fields.ref_seq_msg_id = ProtoField.new("Ref Seq Msg Id", "nyse.equities.binarygateway.pillar.v5.8.refseqmsgid", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.reinstatement_requiredby_other = ProtoField.new("Reinstatement Requiredby Other", "nyse.equities.binarygateway.pillar.v5.8.reinstatementrequiredbyother", ftypes.UINT8)
nyse_equities_binarygateway_pillar_v5_8.fields.reinstatement_requiredby_self = ProtoField.new("Reinstatement Requiredby Self", "nyse.equities.binarygateway.pillar.v5.8.reinstatementrequiredbyself", ftypes.UINT8)
nyse_equities_binarygateway_pillar_v5_8.fields.reject_type = ProtoField.new("Reject Type", "nyse.equities.binarygateway.pillar.v5.8.rejecttype", ftypes.UINT8)
nyse_equities_binarygateway_pillar_v5_8.fields.reserved_100 = ProtoField.new("Reserved 100", "nyse.equities.binarygateway.pillar.v5.8.reserved100", ftypes.BYTES)
nyse_equities_binarygateway_pillar_v5_8.fields.reserved_190 = ProtoField.new("Reserved 190", "nyse.equities.binarygateway.pillar.v5.8.reserved190", ftypes.BYTES)
nyse_equities_binarygateway_pillar_v5_8.fields.reserved_199 = ProtoField.new("Reserved 199", "nyse.equities.binarygateway.pillar.v5.8.reserved199", ftypes.BYTES)
nyse_equities_binarygateway_pillar_v5_8.fields.reserved_200 = ProtoField.new("Reserved 200", "nyse.equities.binarygateway.pillar.v5.8.reserved200", ftypes.BYTES)
nyse_equities_binarygateway_pillar_v5_8.fields.reserved_4 = ProtoField.new("Reserved 4", "nyse.equities.binarygateway.pillar.v5.8.reserved4", ftypes.BYTES)
nyse_equities_binarygateway_pillar_v5_8.fields.reserved_49 = ProtoField.new("Reserved 49", "nyse.equities.binarygateway.pillar.v5.8.reserved49", ftypes.BYTES)
nyse_equities_binarygateway_pillar_v5_8.fields.reserved_50 = ProtoField.new("Reserved 50", "nyse.equities.binarygateway.pillar.v5.8.reserved50", ftypes.BYTES)
nyse_equities_binarygateway_pillar_v5_8.fields.reserved_7 = ProtoField.new("Reserved 7", "nyse.equities.binarygateway.pillar.v5.8.reserved7", ftypes.BYTES)
nyse_equities_binarygateway_pillar_v5_8.fields.ridge = ProtoField.new("Ridge", "nyse.equities.binarygateway.pillar.v5.8.ridge", ftypes.DOUBLE)
nyse_equities_binarygateway_pillar_v5_8.fields.risk_ack_type = ProtoField.new("Risk Ack Type", "nyse.equities.binarygateway.pillar.v5.8.riskacktype", ftypes.UINT8)
nyse_equities_binarygateway_pillar_v5_8.fields.risk_action_request_message = ProtoField.new("Risk Action Request Message", "nyse.equities.binarygateway.pillar.v5.8.riskactionrequestmessage", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.risk_action_type = ProtoField.new("Risk Action Type", "nyse.equities.binarygateway.pillar.v5.8.riskactiontype", ftypes.UINT8)
nyse_equities_binarygateway_pillar_v5_8.fields.risk_control_acknowledgement = ProtoField.new("Risk Control Acknowledgement", "nyse.equities.binarygateway.pillar.v5.8.riskcontrolacknowledgement", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.risk_control_activation = ProtoField.new("Risk Control Activation", "nyse.equities.binarygateway.pillar.v5.8.riskcontrolactivation", ftypes.UINT8)
nyse_equities_binarygateway_pillar_v5_8.fields.risk_control_alert = ProtoField.new("Risk Control Alert", "nyse.equities.binarygateway.pillar.v5.8.riskcontrolalert", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.risk_control_type = ProtoField.new("Risk Control Type", "nyse.equities.binarygateway.pillar.v5.8.riskcontroltype", ftypes.UINT8)
nyse_equities_binarygateway_pillar_v5_8.fields.risk_limit_update_request_message = ProtoField.new("Risk Limit Update Request Message", "nyse.equities.binarygateway.pillar.v5.8.risklimitupdaterequestmessage", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.risk_minimum_value = ProtoField.new("Risk Minimum Value", "nyse.equities.binarygateway.pillar.v5.8.riskminimumvalue", ftypes.INT64)
nyse_equities_binarygateway_pillar_v5_8.fields.risk_range_id = ProtoField.new("Risk Range Id", "nyse.equities.binarygateway.pillar.v5.8.riskrangeid", ftypes.UINT8)
nyse_equities_binarygateway_pillar_v5_8.fields.risk_user_crd = ProtoField.new("Risk User Crd", "nyse.equities.binarygateway.pillar.v5.8.riskusercrd", ftypes.UINT32)
nyse_equities_binarygateway_pillar_v5_8.fields.risk_user_type = ProtoField.new("Risk User Type", "nyse.equities.binarygateway.pillar.v5.8.riskusertype", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.round_lot_size = ProtoField.new("Round Lot Size", "nyse.equities.binarygateway.pillar.v5.8.roundlotsize", ftypes.UINT8)
nyse_equities_binarygateway_pillar_v5_8.fields.rpimpv = ProtoField.new("Rpimpv", "nyse.equities.binarygateway.pillar.v5.8.rpimpv", ftypes.DOUBLE)
nyse_equities_binarygateway_pillar_v5_8.fields.self_trade_prevention = ProtoField.new("Self Trade Prevention", "nyse.equities.binarygateway.pillar.v5.8.selftradeprevention", ftypes.UINT8)
nyse_equities_binarygateway_pillar_v5_8.fields.self_trade_type = ProtoField.new("Self Trade Type", "nyse.equities.binarygateway.pillar.v5.8.selftradetype", ftypes.UINT8)
nyse_equities_binarygateway_pillar_v5_8.fields.sell_dmm_available_qty = ProtoField.new("Sell Dmm Available Qty", "nyse.equities.binarygateway.pillar.v5.8.selldmmavailableqty", ftypes.UINT32)
nyse_equities_binarygateway_pillar_v5_8.fields.sell_indicator = ProtoField.new("Sell Indicator", "nyse.equities.binarygateway.pillar.v5.8.sellindicator", ftypes.UINT8)
nyse_equities_binarygateway_pillar_v5_8.fields.seq = ProtoField.new("Seq", "nyse.equities.binarygateway.pillar.v5.8.seq", ftypes.UINT64)
nyse_equities_binarygateway_pillar_v5_8.fields.seq_msg = ProtoField.new("Seq Msg", "nyse.equities.binarygateway.pillar.v5.8.seqmsg", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.seq_msg_header = ProtoField.new("Seq Msg Header", "nyse.equities.binarygateway.pillar.v5.8.seqmsgheader", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.seq_msg_length = ProtoField.new("Seq Msg Length", "nyse.equities.binarygateway.pillar.v5.8.seqmsglength", ftypes.UINT16)
nyse_equities_binarygateway_pillar_v5_8.fields.seq_msg_type = ProtoField.new("Seq Msg Type", "nyse.equities.binarygateway.pillar.v5.8.seqmsgtype", ftypes.UINT16)
nyse_equities_binarygateway_pillar_v5_8.fields.seqmsgid = ProtoField.new("Seqmsgid", "nyse.equities.binarygateway.pillar.v5.8.seqmsgid", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.sequenced_filler_message = ProtoField.new("Sequenced Filler Message", "nyse.equities.binarygateway.pillar.v5.8.sequencedfillermessage", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.sequenced_message = ProtoField.new("Sequenced Message", "nyse.equities.binarygateway.pillar.v5.8.sequencedmessage", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.sess = ProtoField.new("Sess", "nyse.equities.binarygateway.pillar.v5.8.sess", ftypes.UINT32)
nyse_equities_binarygateway_pillar_v5_8.fields.session_configuration_acknowledgement_message = ProtoField.new("Session Configuration Acknowledgement Message", "nyse.equities.binarygateway.pillar.v5.8.sessionconfigurationacknowledgementmessage", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.session_configuration_request_message = ProtoField.new("Session Configuration Request Message", "nyse.equities.binarygateway.pillar.v5.8.sessionconfigurationrequestmessage", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.settlement_type = ProtoField.new("Settlement Type", "nyse.equities.binarygateway.pillar.v5.8.settlementtype", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.side = ProtoField.new("Side", "nyse.equities.binarygateway.pillar.v5.8.side", ftypes.UINT8)
nyse_equities_binarygateway_pillar_v5_8.fields.side_of_unpaired_qty = ProtoField.new("Side Of Unpaired Qty", "nyse.equities.binarygateway.pillar.v5.8.sideofunpairedqty", ftypes.UINT8)
nyse_equities_binarygateway_pillar_v5_8.fields.ssr_filing_price = ProtoField.new("Ssr Filing Price", "nyse.equities.binarygateway.pillar.v5.8.ssrfilingprice", ftypes.DOUBLE)
nyse_equities_binarygateway_pillar_v5_8.fields.start_seq = ProtoField.new("Start Seq", "nyse.equities.binarygateway.pillar.v5.8.startseq", ftypes.UINT64)
nyse_equities_binarygateway_pillar_v5_8.fields.status = ProtoField.new("Status", "nyse.equities.binarygateway.pillar.v5.8.status", ftypes.UINT8)
nyse_equities_binarygateway_pillar_v5_8.fields.stop_px = ProtoField.new("Stop Px", "nyse.equities.binarygateway.pillar.v5.8.stoppx", ftypes.DOUBLE)
nyse_equities_binarygateway_pillar_v5_8.fields.stream_avail = ProtoField.new("Stream Avail", "nyse.equities.binarygateway.pillar.v5.8.streamavail", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.stream_id = ProtoField.new("Stream Id", "nyse.equities.binarygateway.pillar.v5.8.streamid", ftypes.UINT64)
nyse_equities_binarygateway_pillar_v5_8.fields.sub_msg_header = ProtoField.new("Sub Msg Header", "nyse.equities.binarygateway.pillar.v5.8.submsgheader", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.subscription_status = ProtoField.new("Subscription Status", "nyse.equities.binarygateway.pillar.v5.8.subscriptionstatus", ftypes.UINT8)
nyse_equities_binarygateway_pillar_v5_8.fields.symbol_eligibility = ProtoField.new("Symbol Eligibility", "nyse.equities.binarygateway.pillar.v5.8.symboleligibility", ftypes.UINT8)
nyse_equities_binarygateway_pillar_v5_8.fields.symbol_id = ProtoField.new("Symbol Id", "nyse.equities.binarygateway.pillar.v5.8.symbolid", ftypes.UINT32)
nyse_equities_binarygateway_pillar_v5_8.fields.symbol_subscription_acknowledgement = ProtoField.new("Symbol Subscription Acknowledgement", "nyse.equities.binarygateway.pillar.v5.8.symbolsubscriptionacknowledgement", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.symbol_subscription_request_message = ProtoField.new("Symbol Subscription Request Message", "nyse.equities.binarygateway.pillar.v5.8.symbolsubscriptionrequestmessage", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.test_symbol_indicator = ProtoField.new("Test Symbol Indicator", "nyse.equities.binarygateway.pillar.v5.8.testsymbolindicator", ftypes.UINT8)
nyse_equities_binarygateway_pillar_v5_8.fields.tg_begin_message = ProtoField.new("Tg Begin Message", "nyse.equities.binarygateway.pillar.v5.8.tgbeginmessage", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.tg_end_message = ProtoField.new("Tg End Message", "nyse.equities.binarygateway.pillar.v5.8.tgendmessage", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.threshold_breach_level = ProtoField.new("Threshold Breach Level", "nyse.equities.binarygateway.pillar.v5.8.thresholdbreachlevel", ftypes.UINT8)
nyse_equities_binarygateway_pillar_v5_8.fields.throttle_preference = ProtoField.new("Throttle Preference", "nyse.equities.binarygateway.pillar.v5.8.throttlepreference", ftypes.UINT8)
nyse_equities_binarygateway_pillar_v5_8.fields.throttle_threshold = ProtoField.new("Throttle Threshold", "nyse.equities.binarygateway.pillar.v5.8.throttlethreshold", ftypes.UINT16)
nyse_equities_binarygateway_pillar_v5_8.fields.throttle_window = ProtoField.new("Throttle Window", "nyse.equities.binarygateway.pillar.v5.8.throttlewindow", ftypes.UINT16)
nyse_equities_binarygateway_pillar_v5_8.fields.throttled = ProtoField.new("Throttled", "nyse.equities.binarygateway.pillar.v5.8.throttled", ftypes.UINT64, {[1]="Yes",[0]="No"}, base.DEC, 0x8000000000000000)
nyse_equities_binarygateway_pillar_v5_8.fields.time_limit = ProtoField.new("Time Limit", "nyse.equities.binarygateway.pillar.v5.8.timelimit", ftypes.INT32)
nyse_equities_binarygateway_pillar_v5_8.fields.timestamp = ProtoField.new("Timestamp", "nyse.equities.binarygateway.pillar.v5.8.timestamp", ftypes.UINT64)
nyse_equities_binarygateway_pillar_v5_8.fields.trade_bust_correct = ProtoField.new("Trade Bust Correct", "nyse.equities.binarygateway.pillar.v5.8.tradebustcorrect", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.trading_mpv = ProtoField.new("Trading Mpv", "nyse.equities.binarygateway.pillar.v5.8.tradingmpv", ftypes.DOUBLE)
nyse_equities_binarygateway_pillar_v5_8.fields.transact_time = ProtoField.new("Transact Time", "nyse.equities.binarygateway.pillar.v5.8.transacttime", ftypes.UINT64)
nyse_equities_binarygateway_pillar_v5_8.fields.unpaired_qty = ProtoField.new("Unpaired Qty", "nyse.equities.binarygateway.pillar.v5.8.unpairedqty", ftypes.UINT32)
nyse_equities_binarygateway_pillar_v5_8.fields.usd_calculation_1 = ProtoField.new("Usd Calculation 1", "nyse.equities.binarygateway.pillar.v5.8.usdcalculation1", ftypes.INT64)
nyse_equities_binarygateway_pillar_v5_8.fields.usd_calculation_2 = ProtoField.new("Usd Calculation 2", "nyse.equities.binarygateway.pillar.v5.8.usdcalculation2", ftypes.INT64)
nyse_equities_binarygateway_pillar_v5_8.fields.usd_calculation_3 = ProtoField.new("Usd Calculation 3", "nyse.equities.binarygateway.pillar.v5.8.usdcalculation3", ftypes.INT64)
nyse_equities_binarygateway_pillar_v5_8.fields.usd_calculation_4 = ProtoField.new("Usd Calculation 4", "nyse.equities.binarygateway.pillar.v5.8.usdcalculation4", ftypes.INT64)
nyse_equities_binarygateway_pillar_v5_8.fields.usd_limit = ProtoField.new("Usd Limit", "nyse.equities.binarygateway.pillar.v5.8.usdlimit", ftypes.INT64)
nyse_equities_binarygateway_pillar_v5_8.fields.user = ProtoField.new("User", "nyse.equities.binarygateway.pillar.v5.8.user", ftypes.UINT32)
nyse_equities_binarygateway_pillar_v5_8.fields.user_data = ProtoField.new("User Data", "nyse.equities.binarygateway.pillar.v5.8.userdata", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.user_session_status = ProtoField.new("User Session Status", "nyse.equities.binarygateway.pillar.v5.8.usersessionstatus", ftypes.UINT8)
nyse_equities_binarygateway_pillar_v5_8.fields.user_session_type = ProtoField.new("User Session Type", "nyse.equities.binarygateway.pillar.v5.8.usersessiontype", ftypes.UINT8)
nyse_equities_binarygateway_pillar_v5_8.fields.username = ProtoField.new("Username", "nyse.equities.binarygateway.pillar.v5.8.username", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.version = ProtoField.new("Version", "nyse.equities.binarygateway.pillar.v5.8.version", ftypes.STRING)
nyse_equities_binarygateway_pillar_v5_8.fields.working_away_from_display = ProtoField.new("Working Away From Display", "nyse.equities.binarygateway.pillar.v5.8.workingawayfromdisplay", ftypes.UINT8)
nyse_equities_binarygateway_pillar_v5_8.fields.working_price = ProtoField.new("Working Price", "nyse.equities.binarygateway.pillar.v5.8.workingprice", ftypes.DOUBLE)
-----------------------------------------------------------------------
-- Declare Dissection Options
-----------------------------------------------------------------------
-- Nyse Equities BinaryGateway Pillar 5.8 Element Dissection Options
show.application_layer_reject = true
show.auction_price_data = true
show.auction_request = true
show.bitfield_flow_indicator = true
show.bulk_cancel_request_message = true
show.close = true
show.close_response = true
show.dmm_symbol_reference_data_message = true
show.equities_symbol_reference_data_message = true
show.execution_report = true
show.gt_begin = true
show.gt_end = true
show.heartbeat = true
show.login_message = true
show.login_response = true
show.manual_action_id = true
show.manual_action_request = true
show.manual_action_response_message = true
show.minimum_price_variant_class_reference_data_message = true
show.minimum_price_variant_level_reference_data_message = true
show.mmid_configuration_message = true
show.mpid_configuration_message = true
show.mpv_level_definition = true
show.msg_header = true
show.new_order_single_and_cancel_replace_request_message = true
show.open = true
show.open_response = true
show.optional_order_add_on = true
show.optional_settlement_type_add_on = true
show.order_and_cancel_replace_acknowledgement_message = true
show.order_cancel_request_message = true
show.order_modify_cancel_request_acknowledgment_and_urout = true
show.order_modify_request_message = true
show.order_priority_update_acknowledgment = true
show.ref_seq_msg_id = true
show.risk_action_request_message = true
show.risk_control_acknowledgement = true
show.risk_control_alert = true
show.risk_limit_update_request_message = true
show.seq_msg = true
show.seq_msg_header = true
show.seqmsgid = true
show.sequenced_filler_message = true
show.session_configuration_acknowledgement_message = true
show.session_configuration_request_message = true
show.stream_avail = true
show.stream_id = true
show.sub_msg_header = true
show.symbol_subscription_acknowledgement = true
show.symbol_subscription_request_message = true
show.tg_begin_message = true
show.tg_end_message = true
show.trade_bust_correct = true
show.pillarstreammessage = false
show.sequenced_message = false
-- Register Nyse Equities BinaryGateway Pillar 5.8 Show Options
nyse_equities_binarygateway_pillar_v5_8.prefs.show_application_layer_reject = Pref.bool("Show Application Layer Reject", show.application_layer_reject, "Parse and add Application Layer Reject to protocol tree")
nyse_equities_binarygateway_pillar_v5_8.prefs.show_auction_price_data = Pref.bool("Show Auction Price Data", show.auction_price_data, "Parse and add Auction Price Data to protocol tree")
nyse_equities_binarygateway_pillar_v5_8.prefs.show_auction_request = Pref.bool("Show Auction Request", show.auction_request, "Parse and add Auction Request to protocol tree")
nyse_equities_binarygateway_pillar_v5_8.prefs.show_bitfield_flow_indicator = Pref.bool("Show Bitfield Flow Indicator", show.bitfield_flow_indicator, "Parse and add Bitfield Flow Indicator to protocol tree")
nyse_equities_binarygateway_pillar_v5_8.prefs.show_bulk_cancel_request_message = Pref.bool("Show Bulk Cancel Request Message", show.bulk_cancel_request_message, "Parse and add Bulk Cancel Request Message to protocol tree")
nyse_equities_binarygateway_pillar_v5_8.prefs.show_close = Pref.bool("Show Close", show.close, "Parse and add Close to protocol tree")
nyse_equities_binarygateway_pillar_v5_8.prefs.show_close_response = Pref.bool("Show Close Response", show.close_response, "Parse and add Close Response to protocol tree")
nyse_equities_binarygateway_pillar_v5_8.prefs.show_dmm_symbol_reference_data_message = Pref.bool("Show Dmm Symbol Reference Data Message", show.dmm_symbol_reference_data_message, "Parse and add Dmm Symbol Reference Data Message to protocol tree")
nyse_equities_binarygateway_pillar_v5_8.prefs.show_equities_symbol_reference_data_message = Pref.bool("Show Equities Symbol Reference Data Message", show.equities_symbol_reference_data_message, "Parse and add Equities Symbol Reference Data Message to protocol tree")
nyse_equities_binarygateway_pillar_v5_8.prefs.show_execution_report = Pref.bool("Show Execution Report", show.execution_report, "Parse and add Execution Report to protocol tree")
nyse_equities_binarygateway_pillar_v5_8.prefs.show_gt_begin = Pref.bool("Show Gt Begin", show.gt_begin, "Parse and add Gt Begin to protocol tree")
nyse_equities_binarygateway_pillar_v5_8.prefs.show_gt_end = Pref.bool("Show Gt End", show.gt_end, "Parse and add Gt End to protocol tree")
nyse_equities_binarygateway_pillar_v5_8.prefs.show_heartbeat = Pref.bool("Show Heartbeat", show.heartbeat, "Parse and add Heartbeat to protocol tree")
nyse_equities_binarygateway_pillar_v5_8.prefs.show_login_message = Pref.bool("Show Login Message", show.login_message, "Parse and add Login Message to protocol tree")
nyse_equities_binarygateway_pillar_v5_8.prefs.show_login_response = Pref.bool("Show Login Response", show.login_response, "Parse and add Login Response to protocol tree")
nyse_equities_binarygateway_pillar_v5_8.prefs.show_manual_action_id = Pref.bool("Show Manual Action Id", show.manual_action_id, "Parse and add Manual Action Id to protocol tree")
nyse_equities_binarygateway_pillar_v5_8.prefs.show_manual_action_request = Pref.bool("Show Manual Action Request", show.manual_action_request, "Parse and add Manual Action Request to protocol tree")
nyse_equities_binarygateway_pillar_v5_8.prefs.show_manual_action_response_message = Pref.bool("Show Manual Action Response Message", show.manual_action_response_message, "Parse and add Manual Action Response Message to protocol tree")
nyse_equities_binarygateway_pillar_v5_8.prefs.show_minimum_price_variant_class_reference_data_message = Pref.bool("Show Minimum Price Variant Class Reference Data Message", show.minimum_price_variant_class_reference_data_message, "Parse and add Minimum Price Variant Class Reference Data Message to protocol tree")
nyse_equities_binarygateway_pillar_v5_8.prefs.show_minimum_price_variant_level_reference_data_message = Pref.bool("Show Minimum Price Variant Level Reference Data Message", show.minimum_price_variant_level_reference_data_message, "Parse and add Minimum Price Variant Level Reference Data Message to protocol tree")
nyse_equities_binarygateway_pillar_v5_8.prefs.show_mmid_configuration_message = Pref.bool("Show Mmid Configuration Message", show.mmid_configuration_message, "Parse and add Mmid Configuration Message to protocol tree")
nyse_equities_binarygateway_pillar_v5_8.prefs.show_mpid_configuration_message = Pref.bool("Show Mpid Configuration Message", show.mpid_configuration_message, "Parse and add Mpid Configuration Message to protocol tree")
nyse_equities_binarygateway_pillar_v5_8.prefs.show_mpv_level_definition = Pref.bool("Show Mpv Level Definition", show.mpv_level_definition, "Parse and add Mpv Level Definition to protocol tree")
nyse_equities_binarygateway_pillar_v5_8.prefs.show_msg_header = Pref.bool("Show Msg Header", show.msg_header, "Parse and add Msg Header to protocol tree")
nyse_equities_binarygateway_pillar_v5_8.prefs.show_new_order_single_and_cancel_replace_request_message = Pref.bool("Show New Order Single And Cancel Replace Request Message", show.new_order_single_and_cancel_replace_request_message, "Parse and add New Order Single And Cancel Replace Request Message to protocol tree")
nyse_equities_binarygateway_pillar_v5_8.prefs.show_open = Pref.bool("Show Open", show.open, "Parse and add Open to protocol tree")
nyse_equities_binarygateway_pillar_v5_8.prefs.show_open_response = Pref.bool("Show Open Response", show.open_response, "Parse and add Open Response to protocol tree")
nyse_equities_binarygateway_pillar_v5_8.prefs.show_optional_order_add_on = Pref.bool("Show Optional Order Add On", show.optional_order_add_on, "Parse and add Optional Order Add On to protocol tree")
nyse_equities_binarygateway_pillar_v5_8.prefs.show_optional_settlement_type_add_on = Pref.bool("Show Optional Settlement Type Add On", show.optional_settlement_type_add_on, "Parse and add Optional Settlement Type Add On to protocol tree")
nyse_equities_binarygateway_pillar_v5_8.prefs.show_order_and_cancel_replace_acknowledgement_message = Pref.bool("Show Order And Cancel Replace Acknowledgement Message", show.order_and_cancel_replace_acknowledgement_message, "Parse and add Order And Cancel Replace Acknowledgement Message to protocol tree")
nyse_equities_binarygateway_pillar_v5_8.prefs.show_order_cancel_request_message = Pref.bool("Show Order Cancel Request Message", show.order_cancel_request_message, "Parse and add Order Cancel Request Message to protocol tree")
nyse_equities_binarygateway_pillar_v5_8.prefs.show_order_modify_cancel_request_acknowledgment_and_urout = Pref.bool("Show Order Modify Cancel Request Acknowledgment And Urout", show.order_modify_cancel_request_acknowledgment_and_urout, "Parse and add Order Modify Cancel Request Acknowledgment And Urout to protocol tree")
nyse_equities_binarygateway_pillar_v5_8.prefs.show_order_modify_request_message = Pref.bool("Show Order Modify Request Message", show.order_modify_request_message, "Parse and add Order Modify Request Message to protocol tree")
nyse_equities_binarygateway_pillar_v5_8.prefs.show_order_priority_update_acknowledgment = Pref.bool("Show Order Priority Update Acknowledgment", show.order_priority_update_acknowledgment, "Parse and add Order Priority Update Acknowledgment to protocol tree")
nyse_equities_binarygateway_pillar_v5_8.prefs.show_ref_seq_msg_id = Pref.bool("Show Ref Seq Msg Id", show.ref_seq_msg_id, "Parse and add Ref Seq Msg Id to protocol tree")
nyse_equities_binarygateway_pillar_v5_8.prefs.show_risk_action_request_message = Pref.bool("Show Risk Action Request Message", show.risk_action_request_message, "Parse and add Risk Action Request Message to protocol tree")
nyse_equities_binarygateway_pillar_v5_8.prefs.show_risk_control_acknowledgement = Pref.bool("Show Risk Control Acknowledgement", show.risk_control_acknowledgement, "Parse and add Risk Control Acknowledgement to protocol tree")
nyse_equities_binarygateway_pillar_v5_8.prefs.show_risk_control_alert = Pref.bool("Show Risk Control Alert", show.risk_control_alert, "Parse and add Risk Control Alert to protocol tree")
nyse_equities_binarygateway_pillar_v5_8.prefs.show_risk_limit_update_request_message = Pref.bool("Show Risk Limit Update Request Message", show.risk_limit_update_request_message, "Parse and add Risk Limit Update Request Message to protocol tree")
nyse_equities_binarygateway_pillar_v5_8.prefs.show_seq_msg = Pref.bool("Show Seq Msg", show.seq_msg, "Parse and add Seq Msg to protocol tree")
nyse_equities_binarygateway_pillar_v5_8.prefs.show_seq_msg_header = Pref.bool("Show Seq Msg Header", show.seq_msg_header, "Parse and add Seq Msg Header to protocol tree")
nyse_equities_binarygateway_pillar_v5_8.prefs.show_seqmsgid = Pref.bool("Show Seqmsgid", show.seqmsgid, "Parse and add Seqmsgid to protocol tree")
nyse_equities_binarygateway_pillar_v5_8.prefs.show_sequenced_filler_message = Pref.bool("Show Sequenced Filler Message", show.sequenced_filler_message, "Parse and add Sequenced Filler Message to protocol tree")
nyse_equities_binarygateway_pillar_v5_8.prefs.show_session_configuration_acknowledgement_message = Pref.bool("Show Session Configuration Acknowledgement Message", show.session_configuration_acknowledgement_message, "Parse and add Session Configuration Acknowledgement Message to protocol tree")
nyse_equities_binarygateway_pillar_v5_8.prefs.show_session_configuration_request_message = Pref.bool("Show Session Configuration Request Message", show.session_configuration_request_message, "Parse and add Session Configuration Request Message to protocol tree")
nyse_equities_binarygateway_pillar_v5_8.prefs.show_stream_avail = Pref.bool("Show Stream Avail", show.stream_avail, "Parse and add Stream Avail to protocol tree")
nyse_equities_binarygateway_pillar_v5_8.prefs.show_stream_id = Pref.bool("Show Stream Id", show.stream_id, "Parse and add Stream Id to protocol tree")
nyse_equities_binarygateway_pillar_v5_8.prefs.show_sub_msg_header = Pref.bool("Show Sub Msg Header", show.sub_msg_header, "Parse and add Sub Msg Header to protocol tree")
nyse_equities_binarygateway_pillar_v5_8.prefs.show_symbol_subscription_acknowledgement = Pref.bool("Show Symbol Subscription Acknowledgement", show.symbol_subscription_acknowledgement, "Parse and add Symbol Subscription Acknowledgement to protocol tree")
nyse_equities_binarygateway_pillar_v5_8.prefs.show_symbol_subscription_request_message = Pref.bool("Show Symbol Subscription Request Message", show.symbol_subscription_request_message, "Parse and add Symbol Subscription Request Message to protocol tree")
nyse_equities_binarygateway_pillar_v5_8.prefs.show_tg_begin_message = Pref.bool("Show Tg Begin Message", show.tg_begin_message, "Parse and add Tg Begin Message to protocol tree")
nyse_equities_binarygateway_pillar_v5_8.prefs.show_tg_end_message = Pref.bool("Show Tg End Message", show.tg_end_message, "Parse and add Tg End Message to protocol tree")
nyse_equities_binarygateway_pillar_v5_8.prefs.show_trade_bust_correct = Pref.bool("Show Trade Bust Correct", show.trade_bust_correct, "Parse and add Trade Bust Correct to protocol tree")
nyse_equities_binarygateway_pillar_v5_8.prefs.show_pillarstreammessage = Pref.bool("Show pillarstreammessage", show.pillarstreammessage, "Parse and add pillarstreammessage to protocol tree")
nyse_equities_binarygateway_pillar_v5_8.prefs.show_sequenced_message = Pref.bool("Show Sequenced Message", show.sequenced_message, "Parse and add Sequenced Message to protocol tree")
-- Handle changed preferences
function nyse_equities_binarygateway_pillar_v5_8.prefs_changed()
local changed = false
-- Check if show options have changed
if show.application_layer_reject ~= nyse_equities_binarygateway_pillar_v5_8.prefs.show_application_layer_reject then
show.application_layer_reject = nyse_equities_binarygateway_pillar_v5_8.prefs.show_application_layer_reject
changed = true
end
if show.auction_price_data ~= nyse_equities_binarygateway_pillar_v5_8.prefs.show_auction_price_data then
show.auction_price_data = nyse_equities_binarygateway_pillar_v5_8.prefs.show_auction_price_data
changed = true
end
if show.auction_request ~= nyse_equities_binarygateway_pillar_v5_8.prefs.show_auction_request then
show.auction_request = nyse_equities_binarygateway_pillar_v5_8.prefs.show_auction_request
changed = true
end
if show.bitfield_flow_indicator ~= nyse_equities_binarygateway_pillar_v5_8.prefs.show_bitfield_flow_indicator then
show.bitfield_flow_indicator = nyse_equities_binarygateway_pillar_v5_8.prefs.show_bitfield_flow_indicator
changed = true
end
if show.bulk_cancel_request_message ~= nyse_equities_binarygateway_pillar_v5_8.prefs.show_bulk_cancel_request_message then
show.bulk_cancel_request_message = nyse_equities_binarygateway_pillar_v5_8.prefs.show_bulk_cancel_request_message
changed = true
end
if show.close ~= nyse_equities_binarygateway_pillar_v5_8.prefs.show_close then
show.close = nyse_equities_binarygateway_pillar_v5_8.prefs.show_close
changed = true
end
if show.close_response ~= nyse_equities_binarygateway_pillar_v5_8.prefs.show_close_response then
show.close_response = nyse_equities_binarygateway_pillar_v5_8.prefs.show_close_response
changed = true
end
if show.dmm_symbol_reference_data_message ~= nyse_equities_binarygateway_pillar_v5_8.prefs.show_dmm_symbol_reference_data_message then
show.dmm_symbol_reference_data_message = nyse_equities_binarygateway_pillar_v5_8.prefs.show_dmm_symbol_reference_data_message
changed = true
end
if show.equities_symbol_reference_data_message ~= nyse_equities_binarygateway_pillar_v5_8.prefs.show_equities_symbol_reference_data_message then
show.equities_symbol_reference_data_message = nyse_equities_binarygateway_pillar_v5_8.prefs.show_equities_symbol_reference_data_message
changed = true
end
if show.execution_report ~= nyse_equities_binarygateway_pillar_v5_8.prefs.show_execution_report then
show.execution_report = nyse_equities_binarygateway_pillar_v5_8.prefs.show_execution_report
changed = true
end
if show.gt_begin ~= nyse_equities_binarygateway_pillar_v5_8.prefs.show_gt_begin then
show.gt_begin = nyse_equities_binarygateway_pillar_v5_8.prefs.show_gt_begin
changed = true
end
if show.gt_end ~= nyse_equities_binarygateway_pillar_v5_8.prefs.show_gt_end then
show.gt_end = nyse_equities_binarygateway_pillar_v5_8.prefs.show_gt_end
changed = true
end
if show.heartbeat ~= nyse_equities_binarygateway_pillar_v5_8.prefs.show_heartbeat then
show.heartbeat = nyse_equities_binarygateway_pillar_v5_8.prefs.show_heartbeat
changed = true
end
if show.login_message ~= nyse_equities_binarygateway_pillar_v5_8.prefs.show_login_message then
show.login_message = nyse_equities_binarygateway_pillar_v5_8.prefs.show_login_message
changed = true
end
if show.login_response ~= nyse_equities_binarygateway_pillar_v5_8.prefs.show_login_response then
show.login_response = nyse_equities_binarygateway_pillar_v5_8.prefs.show_login_response
changed = true
end
if show.manual_action_id ~= nyse_equities_binarygateway_pillar_v5_8.prefs.show_manual_action_id then
show.manual_action_id = nyse_equities_binarygateway_pillar_v5_8.prefs.show_manual_action_id
changed = true
end
if show.manual_action_request ~= nyse_equities_binarygateway_pillar_v5_8.prefs.show_manual_action_request then
show.manual_action_request = nyse_equities_binarygateway_pillar_v5_8.prefs.show_manual_action_request
changed = true
end
if show.manual_action_response_message ~= nyse_equities_binarygateway_pillar_v5_8.prefs.show_manual_action_response_message then
show.manual_action_response_message = nyse_equities_binarygateway_pillar_v5_8.prefs.show_manual_action_response_message
changed = true
end
if show.minimum_price_variant_class_reference_data_message ~= nyse_equities_binarygateway_pillar_v5_8.prefs.show_minimum_price_variant_class_reference_data_message then
show.minimum_price_variant_class_reference_data_message = nyse_equities_binarygateway_pillar_v5_8.prefs.show_minimum_price_variant_class_reference_data_message
changed = true
end
if show.minimum_price_variant_level_reference_data_message ~= nyse_equities_binarygateway_pillar_v5_8.prefs.show_minimum_price_variant_level_reference_data_message then
show.minimum_price_variant_level_reference_data_message = nyse_equities_binarygateway_pillar_v5_8.prefs.show_minimum_price_variant_level_reference_data_message
changed = true
end
if show.mmid_configuration_message ~= nyse_equities_binarygateway_pillar_v5_8.prefs.show_mmid_configuration_message then
show.mmid_configuration_message = nyse_equities_binarygateway_pillar_v5_8.prefs.show_mmid_configuration_message
changed = true
end
if show.mpid_configuration_message ~= nyse_equities_binarygateway_pillar_v5_8.prefs.show_mpid_configuration_message then
show.mpid_configuration_message = nyse_equities_binarygateway_pillar_v5_8.prefs.show_mpid_configuration_message
changed = true
end
if show.mpv_level_definition ~= nyse_equities_binarygateway_pillar_v5_8.prefs.show_mpv_level_definition then
show.mpv_level_definition = nyse_equities_binarygateway_pillar_v5_8.prefs.show_mpv_level_definition
changed = true
end
if show.msg_header ~= nyse_equities_binarygateway_pillar_v5_8.prefs.show_msg_header then
show.msg_header = nyse_equities_binarygateway_pillar_v5_8.prefs.show_msg_header
changed = true
end
if show.new_order_single_and_cancel_replace_request_message ~= nyse_equities_binarygateway_pillar_v5_8.prefs.show_new_order_single_and_cancel_replace_request_message then
show.new_order_single_and_cancel_replace_request_message = nyse_equities_binarygateway_pillar_v5_8.prefs.show_new_order_single_and_cancel_replace_request_message
changed = true
end
if show.open ~= nyse_equities_binarygateway_pillar_v5_8.prefs.show_open then
show.open = nyse_equities_binarygateway_pillar_v5_8.prefs.show_open
changed = true
end
if show.open_response ~= nyse_equities_binarygateway_pillar_v5_8.prefs.show_open_response then
show.open_response = nyse_equities_binarygateway_pillar_v5_8.prefs.show_open_response
changed = true
end
if show.optional_order_add_on ~= nyse_equities_binarygateway_pillar_v5_8.prefs.show_optional_order_add_on then
show.optional_order_add_on = nyse_equities_binarygateway_pillar_v5_8.prefs.show_optional_order_add_on
changed = true
end
if show.optional_settlement_type_add_on ~= nyse_equities_binarygateway_pillar_v5_8.prefs.show_optional_settlement_type_add_on then
show.optional_settlement_type_add_on = nyse_equities_binarygateway_pillar_v5_8.prefs.show_optional_settlement_type_add_on
changed = true
end
if show.order_and_cancel_replace_acknowledgement_message ~= nyse_equities_binarygateway_pillar_v5_8.prefs.show_order_and_cancel_replace_acknowledgement_message then
show.order_and_cancel_replace_acknowledgement_message = nyse_equities_binarygateway_pillar_v5_8.prefs.show_order_and_cancel_replace_acknowledgement_message
changed = true
end
if show.order_cancel_request_message ~= nyse_equities_binarygateway_pillar_v5_8.prefs.show_order_cancel_request_message then
show.order_cancel_request_message = nyse_equities_binarygateway_pillar_v5_8.prefs.show_order_cancel_request_message
changed = true
end
if show.order_modify_cancel_request_acknowledgment_and_urout ~= nyse_equities_binarygateway_pillar_v5_8.prefs.show_order_modify_cancel_request_acknowledgment_and_urout then
show.order_modify_cancel_request_acknowledgment_and_urout = nyse_equities_binarygateway_pillar_v5_8.prefs.show_order_modify_cancel_request_acknowledgment_and_urout
changed = true
end
if show.order_modify_request_message ~= nyse_equities_binarygateway_pillar_v5_8.prefs.show_order_modify_request_message then
show.order_modify_request_message = nyse_equities_binarygateway_pillar_v5_8.prefs.show_order_modify_request_message
changed = true
end
if show.order_priority_update_acknowledgment ~= nyse_equities_binarygateway_pillar_v5_8.prefs.show_order_priority_update_acknowledgment then
show.order_priority_update_acknowledgment = nyse_equities_binarygateway_pillar_v5_8.prefs.show_order_priority_update_acknowledgment
changed = true
end
if show.ref_seq_msg_id ~= nyse_equities_binarygateway_pillar_v5_8.prefs.show_ref_seq_msg_id then
show.ref_seq_msg_id = nyse_equities_binarygateway_pillar_v5_8.prefs.show_ref_seq_msg_id
changed = true
end
if show.risk_action_request_message ~= nyse_equities_binarygateway_pillar_v5_8.prefs.show_risk_action_request_message then
show.risk_action_request_message = nyse_equities_binarygateway_pillar_v5_8.prefs.show_risk_action_request_message
changed = true
end
if show.risk_control_acknowledgement ~= nyse_equities_binarygateway_pillar_v5_8.prefs.show_risk_control_acknowledgement then
show.risk_control_acknowledgement = nyse_equities_binarygateway_pillar_v5_8.prefs.show_risk_control_acknowledgement
changed = true
end
if show.risk_control_alert ~= nyse_equities_binarygateway_pillar_v5_8.prefs.show_risk_control_alert then
show.risk_control_alert = nyse_equities_binarygateway_pillar_v5_8.prefs.show_risk_control_alert
changed = true
end
if show.risk_limit_update_request_message ~= nyse_equities_binarygateway_pillar_v5_8.prefs.show_risk_limit_update_request_message then
show.risk_limit_update_request_message = nyse_equities_binarygateway_pillar_v5_8.prefs.show_risk_limit_update_request_message
changed = true
end
if show.seq_msg ~= nyse_equities_binarygateway_pillar_v5_8.prefs.show_seq_msg then
show.seq_msg = nyse_equities_binarygateway_pillar_v5_8.prefs.show_seq_msg
changed = true
end
if show.seq_msg_header ~= nyse_equities_binarygateway_pillar_v5_8.prefs.show_seq_msg_header then
show.seq_msg_header = nyse_equities_binarygateway_pillar_v5_8.prefs.show_seq_msg_header
changed = true
end
if show.seqmsgid ~= nyse_equities_binarygateway_pillar_v5_8.prefs.show_seqmsgid then
show.seqmsgid = nyse_equities_binarygateway_pillar_v5_8.prefs.show_seqmsgid
changed = true
end
if show.sequenced_filler_message ~= nyse_equities_binarygateway_pillar_v5_8.prefs.show_sequenced_filler_message then
show.sequenced_filler_message = nyse_equities_binarygateway_pillar_v5_8.prefs.show_sequenced_filler_message
changed = true
end
if show.session_configuration_acknowledgement_message ~= nyse_equities_binarygateway_pillar_v5_8.prefs.show_session_configuration_acknowledgement_message then
show.session_configuration_acknowledgement_message = nyse_equities_binarygateway_pillar_v5_8.prefs.show_session_configuration_acknowledgement_message
changed = true
end
if show.session_configuration_request_message ~= nyse_equities_binarygateway_pillar_v5_8.prefs.show_session_configuration_request_message then
show.session_configuration_request_message = nyse_equities_binarygateway_pillar_v5_8.prefs.show_session_configuration_request_message
changed = true
end
if show.stream_avail ~= nyse_equities_binarygateway_pillar_v5_8.prefs.show_stream_avail then
show.stream_avail = nyse_equities_binarygateway_pillar_v5_8.prefs.show_stream_avail
changed = true
end
if show.stream_id ~= nyse_equities_binarygateway_pillar_v5_8.prefs.show_stream_id then
show.stream_id = nyse_equities_binarygateway_pillar_v5_8.prefs.show_stream_id
changed = true
end
if show.sub_msg_header ~= nyse_equities_binarygateway_pillar_v5_8.prefs.show_sub_msg_header then
show.sub_msg_header = nyse_equities_binarygateway_pillar_v5_8.prefs.show_sub_msg_header
changed = true
end
if show.symbol_subscription_acknowledgement ~= nyse_equities_binarygateway_pillar_v5_8.prefs.show_symbol_subscription_acknowledgement then
show.symbol_subscription_acknowledgement = nyse_equities_binarygateway_pillar_v5_8.prefs.show_symbol_subscription_acknowledgement
changed = true
end
if show.symbol_subscription_request_message ~= nyse_equities_binarygateway_pillar_v5_8.prefs.show_symbol_subscription_request_message then
show.symbol_subscription_request_message = nyse_equities_binarygateway_pillar_v5_8.prefs.show_symbol_subscription_request_message
changed = true
end
if show.tg_begin_message ~= nyse_equities_binarygateway_pillar_v5_8.prefs.show_tg_begin_message then
show.tg_begin_message = nyse_equities_binarygateway_pillar_v5_8.prefs.show_tg_begin_message
changed = true
end
if show.tg_end_message ~= nyse_equities_binarygateway_pillar_v5_8.prefs.show_tg_end_message then
show.tg_end_message = nyse_equities_binarygateway_pillar_v5_8.prefs.show_tg_end_message
changed = true
end
if show.trade_bust_correct ~= nyse_equities_binarygateway_pillar_v5_8.prefs.show_trade_bust_correct then
show.trade_bust_correct = nyse_equities_binarygateway_pillar_v5_8.prefs.show_trade_bust_correct
changed = true
end
if show.pillarstreammessage ~= nyse_equities_binarygateway_pillar_v5_8.prefs.show_pillarstreammessage then
show.pillarstreammessage = nyse_equities_binarygateway_pillar_v5_8.prefs.show_pillarstreammessage
changed = true
end
if show.sequenced_message ~= nyse_equities_binarygateway_pillar_v5_8.prefs.show_sequenced_message then
show.sequenced_message = nyse_equities_binarygateway_pillar_v5_8.prefs.show_sequenced_message
changed = true
end
-- Reload on changed preference
if changed then
reload()
end
end
-----------------------------------------------------------------------
-- Protocol Functions
-----------------------------------------------------------------------
-- trim trailing spaces
trim_right_spaces = function(str)
local finish = str:len()
for i = 1, finish do
if str:byte(i) == 0x20 then
return str:sub(1, i - 1)
end
end
return str
end
-----------------------------------------------------------------------
-- Dissect Nyse Equities BinaryGateway Pillar 5.8
-----------------------------------------------------------------------
-- Size: Reserved 200
nyse_equities_binarygateway_pillar_v5_8_size_of.reserved_200 = 200
-- Display: Reserved 200
nyse_equities_binarygateway_pillar_v5_8_display.reserved_200 = function(value)
return "Reserved 200: "..value
end
-- Dissect: Reserved 200
nyse_equities_binarygateway_pillar_v5_8_dissect.reserved_200 = function(buffer, offset, packet, parent)
local length = nyse_equities_binarygateway_pillar_v5_8_size_of.reserved_200
local range = buffer(offset, length)
local value = range:bytes():tohex(false, " ")
local display = nyse_equities_binarygateway_pillar_v5_8_display.reserved_200(value, buffer, offset, packet, parent)
parent:add(nyse_equities_binarygateway_pillar_v5_8.fields.reserved_200, range, value, display)
return offset + length, value
end
-- Size: Reinstatement Requiredby Other
nyse_equities_binarygateway_pillar_v5_8_size_of.reinstatement_requiredby_other = 1
-- Display: Reinstatement Requiredby Other
nyse_equities_binarygateway_pillar_v5_8_display.reinstatement_requiredby_other = function(value)
if value == 0 then
return "Reinstatement Requiredby Other: Not Required (0)"
end
if value == 1 then
return "Reinstatement Requiredby Other: Required (1)"
end
return "Reinstatement Requiredby Other: Unknown("..value..")"
end
-- Dissect: Reinstatement Requiredby Other
nyse_equities_binarygateway_pillar_v5_8_dissect.reinstatement_requiredby_other = function(buffer, offset, packet, parent)
local length = nyse_equities_binarygateway_pillar_v5_8_size_of.reinstatement_requiredby_other
local range = buffer(offset, length)
local value = range:le_uint()
local display = nyse_equities_binarygateway_pillar_v5_8_display.reinstatement_requiredby_other(value, buffer, offset, packet, parent)
parent:add(nyse_equities_binarygateway_pillar_v5_8.fields.reinstatement_requiredby_other, range, value, display)
return offset + length, value
end
-- Size: Reinstatement Requiredby Self
nyse_equities_binarygateway_pillar_v5_8_size_of.reinstatement_requiredby_self = 1
-- Display: Reinstatement Requiredby Self
nyse_equities_binarygateway_pillar_v5_8_display.reinstatement_requiredby_self = function(value)
if value == 0 then
return "Reinstatement Requiredby Self: Not Required (0)"
end
if value == 1 then
return "Reinstatement Requiredby Self: Required (1)"
end
return "Reinstatement Requiredby Self: Unknown("..value..")"
end
-- Dissect: Reinstatement Requiredby Self
nyse_equities_binarygateway_pillar_v5_8_dissect.reinstatement_requiredby_self = function(buffer, offset, packet, parent)
local length = nyse_equities_binarygateway_pillar_v5_8_size_of.reinstatement_requiredby_self
local range = buffer(offset, length)
local value = range:le_uint()
local display = nyse_equities_binarygateway_pillar_v5_8_display.reinstatement_requiredby_self(value, buffer, offset, packet, parent)
parent:add(nyse_equities_binarygateway_pillar_v5_8.fields.reinstatement_requiredby_self, range, value, display)
return offset + length, value
end
-- Size: Blocked By Kill Switch Indicator
nyse_equities_binarygateway_pillar_v5_8_size_of.blocked_by_kill_switch_indicator = 1
-- Display: Blocked By Kill Switch Indicator
nyse_equities_binarygateway_pillar_v5_8_display.blocked_by_kill_switch_indicator = function(value)
if value == 0 then
return "Blocked By Kill Switch Indicator: Not Blocked By Kill Switch (0)"
end
if value == 1 then
return "Blocked By Kill Switch Indicator: Blocked By Kill Switch (1)"
end
return "Blocked By Kill Switch Indicator: Unknown("..value..")"
end
-- Dissect: Blocked By Kill Switch Indicator
nyse_equities_binarygateway_pillar_v5_8_dissect.blocked_by_kill_switch_indicator = function(buffer, offset, packet, parent)
local length = nyse_equities_binarygateway_pillar_v5_8_size_of.blocked_by_kill_switch_indicator
local range = buffer(offset, length)
local value = range:le_uint()
local display = nyse_equities_binarygateway_pillar_v5_8_display.blocked_by_kill_switch_indicator(value, buffer, offset, packet, parent)
parent:add(nyse_equities_binarygateway_pillar_v5_8.fields.blocked_by_kill_switch_indicator, range, value, display)
return offset + length, value
end
-- Size: Blocked By Breach Indicator
nyse_equities_binarygateway_pillar_v5_8_size_of.blocked_by_breach_indicator = 1
-- Display: Blocked By Breach Indicator
nyse_equities_binarygateway_pillar_v5_8_display.blocked_by_breach_indicator = function(value)
if value == 0 then
return "Blocked By Breach Indicator: Not Blocked By Breach (0)"
end
if value == 1 then
return "Blocked By Breach Indicator: Blocked By Breach (1)"
end
return "Blocked By Breach Indicator: Unknown("..value..")"
end
-- Dissect: Blocked By Breach Indicator
nyse_equities_binarygateway_pillar_v5_8_dissect.blocked_by_breach_indicator = function(buffer, offset, packet, parent)
local length = nyse_equities_binarygateway_pillar_v5_8_size_of.blocked_by_breach_indicator
local range = buffer(offset, length)
local value = range:le_uint()
local display = nyse_equities_binarygateway_pillar_v5_8_display.blocked_by_breach_indicator(value, buffer, offset, packet, parent)
parent:add(nyse_equities_binarygateway_pillar_v5_8.fields.blocked_by_breach_indicator, range, value, display)
return offset + length, value
end
-- Size: Threshold Breach Level
nyse_equities_binarygateway_pillar_v5_8_size_of.threshold_breach_level = 1
-- Display: Threshold Breach Level
nyse_equities_binarygateway_pillar_v5_8_display.threshold_breach_level = function(value)
return "Threshold Breach Level: "..value
end
-- Dissect: Threshold Breach Level
nyse_equities_binarygateway_pillar_v5_8_dissect.threshold_breach_level = function(buffer, offset, packet, parent)
local length = nyse_equities_binarygateway_pillar_v5_8_size_of.threshold_breach_level
local range = buffer(offset, length)
local value = range:le_uint()
local display = nyse_equities_binarygateway_pillar_v5_8_display.threshold_breach_level(value, buffer, offset, packet, parent)
parent:add(nyse_equities_binarygateway_pillar_v5_8.fields.threshold_breach_level, range, value, display)
return offset + length, value
end
-- Size: Risk Action Type
nyse_equities_binarygateway_pillar_v5_8_size_of.risk_action_type = 1
-- Display: Risk Action Type
nyse_equities_binarygateway_pillar_v5_8_display.risk_action_type = function(value)
if value == 0 then
return "Risk Action Type: No Value"
end
if value == 1 then
return "Risk Action Type: Query Risk Entity For Current Risk Control Configscalculationsstatus (1)"
end
if value == 2 then
return "Risk Action Type: Kill Switch Block (2)"
end
if value == 3 then
return "Risk Action Type: Kill Switch Un Block (3)"
end
if value == 4 then
return "Risk Action Type: Kill Switch Cancel Auction Orders (4)"
end
if value == 5 then
return "Risk Action Type: Kill Switch Cancel Non Auction Orders (5)"
end
if value == 7 then
return "Risk Action Type: Approve Reinstatement (7)"
end
if value == 9 then
return "Risk Action Type: Add Symbol Level Risk Entity (9)"
end
if value == 10 then
return "Risk Action Type: Remove Symbol Level Risk Entity (10)"
end
return "Risk Action Type: Unknown("..value..")"
end
-- Dissect: Risk Action Type
nyse_equities_binarygateway_pillar_v5_8_dissect.risk_action_type = function(buffer, offset, packet, parent)
local length = nyse_equities_binarygateway_pillar_v5_8_size_of.risk_action_type
local range = buffer(offset, length)
local value = range:le_uint()
local display = nyse_equities_binarygateway_pillar_v5_8_display.risk_action_type(value, buffer, offset, packet, parent)
parent:add(nyse_equities_binarygateway_pillar_v5_8.fields.risk_action_type, range, value, display)
return offset + length, value
end
-- Size: Count Calculation
nyse_equities_binarygateway_pillar_v5_8_size_of.count_calculation = 4
-- Display: Count Calculation
nyse_equities_binarygateway_pillar_v5_8_display.count_calculation = function(value)
return "Count Calculation: "..value
end
-- Dissect: Count Calculation
nyse_equities_binarygateway_pillar_v5_8_dissect.count_calculation = function(buffer, offset, packet, parent)
local length = nyse_equities_binarygateway_pillar_v5_8_size_of.count_calculation
local range = buffer(offset, length)
local value = range:le_uint()
local display = nyse_equities_binarygateway_pillar_v5_8_display.count_calculation(value, buffer, offset, packet, parent)
parent:add(nyse_equities_binarygateway_pillar_v5_8.fields.count_calculation, range, value, display)
return offset + length, value
end
-- Size: Usd Calculation 4
nyse_equities_binarygateway_pillar_v5_8_size_of.usd_calculation_4 = 8
-- Display: Usd Calculation 4
nyse_equities_binarygateway_pillar_v5_8_display.usd_calculation_4 = function(value)
return "Usd Calculation 4: "..value
end
-- Dissect: Usd Calculation 4
nyse_equities_binarygateway_pillar_v5_8_dissect.usd_calculation_4 = function(buffer, offset, packet, parent)
local length = nyse_equities_binarygateway_pillar_v5_8_size_of.usd_calculation_4
local range = buffer(offset, length)
local value = range:le_int64()
local display = nyse_equities_binarygateway_pillar_v5_8_display.usd_calculation_4(value, buffer, offset, packet, parent)
parent:add(nyse_equities_binarygateway_pillar_v5_8.fields.usd_calculation_4, range, value, display)
return offset + length, value
end
-- Size: Usd Calculation 3
nyse_equities_binarygateway_pillar_v5_8_size_of.usd_calculation_3 = 8
-- Display: Usd Calculation 3
nyse_equities_binarygateway_pillar_v5_8_display.usd_calculation_3 = function(value)
return "Usd Calculation 3: "..value
end
-- Dissect: Usd Calculation 3
nyse_equities_binarygateway_pillar_v5_8_dissect.usd_calculation_3 = function(buffer, offset, packet, parent)
local length = nyse_equities_binarygateway_pillar_v5_8_size_of.usd_calculation_3
local range = buffer(offset, length)
local value = range:le_int64()
local display = nyse_equities_binarygateway_pillar_v5_8_display.usd_calculation_3(value, buffer, offset, packet, parent)
parent:add(nyse_equities_binarygateway_pillar_v5_8.fields.usd_calculation_3, range, value, display)
return offset + length, value
end
-- Size: Usd Calculation 2
nyse_equities_binarygateway_pillar_v5_8_size_of.usd_calculation_2 = 8
-- Display: Usd Calculation 2
nyse_equities_binarygateway_pillar_v5_8_display.usd_calculation_2 = function(value)
return "Usd Calculation 2: "..value
end
-- Dissect: Usd Calculation 2
nyse_equities_binarygateway_pillar_v5_8_dissect.usd_calculation_2 = function(buffer, offset, packet, parent)
local length = nyse_equities_binarygateway_pillar_v5_8_size_of.usd_calculation_2
local range = buffer(offset, length)
local value = range:le_int64()
local display = nyse_equities_binarygateway_pillar_v5_8_display.usd_calculation_2(value, buffer, offset, packet, parent)
parent:add(nyse_equities_binarygateway_pillar_v5_8.fields.usd_calculation_2, range, value, display)
return offset + length, value
end
-- Size: Usd Calculation 1
nyse_equities_binarygateway_pillar_v5_8_size_of.usd_calculation_1 = 8
-- Display: Usd Calculation 1
nyse_equities_binarygateway_pillar_v5_8_display.usd_calculation_1 = function(value)
return "Usd Calculation 1: "..value
end
-- Dissect: Usd Calculation 1
nyse_equities_binarygateway_pillar_v5_8_dissect.usd_calculation_1 = function(buffer, offset, packet, parent)
local length = nyse_equities_binarygateway_pillar_v5_8_size_of.usd_calculation_1
local range = buffer(offset, length)
local value = range:le_int64()
local display = nyse_equities_binarygateway_pillar_v5_8_display.usd_calculation_1(value, buffer, offset, packet, parent)
parent:add(nyse_equities_binarygateway_pillar_v5_8.fields.usd_calculation_1, range, value, display)
return offset + length, value
end
-- Size: Ioc Attribution
nyse_equities_binarygateway_pillar_v5_8_size_of.ioc_attribution = 1
-- Display: Ioc Attribution
nyse_equities_binarygateway_pillar_v5_8_display.ioc_attribution = function(value)
-- Check if field has value
if value == 0 then
return "Ioc Attribution: No Value"
end
return "Ioc Attribution: "..value
end
-- Dissect: Ioc Attribution
nyse_equities_binarygateway_pillar_v5_8_dissect.ioc_attribution = function(buffer, offset, packet, parent)
local length = nyse_equities_binarygateway_pillar_v5_8_size_of.ioc_attribution
local range = buffer(offset, length)
local value = range:le_uint()
local display = nyse_equities_binarygateway_pillar_v5_8_display.ioc_attribution(value, buffer, offset, packet, parent)
parent:add(nyse_equities_binarygateway_pillar_v5_8.fields.ioc_attribution, range, value, display)
return offset + length, value
end
-- Size: Breach Action Response
nyse_equities_binarygateway_pillar_v5_8_size_of.breach_action_response = 1
-- Display: Breach Action Response
nyse_equities_binarygateway_pillar_v5_8_display.breach_action_response = function(value)
if value == 0 then
return "Breach Action Response: No Value"
end
if value == 1 then
return "Breach Action Response: Notification (1)"
end
if value == 2 then
return "Breach Action Response: Cancel Non Auction Orders (2)"
end
if value == 3 then
return "Breach Action Response: Block (3)"
end
return "Breach Action Response: Unknown("..value..")"
end
-- Dissect: Breach Action Response
nyse_equities_binarygateway_pillar_v5_8_dissect.breach_action_response = function(buffer, offset, packet, parent)
local length = nyse_equities_binarygateway_pillar_v5_8_size_of.breach_action_response
local range = buffer(offset, length)
local value = range:le_uint()
local display = nyse_equities_binarygateway_pillar_v5_8_display.breach_action_response(value, buffer, offset, packet, parent)
parent:add(nyse_equities_binarygateway_pillar_v5_8.fields.breach_action_response, range, value, display)
return offset + length, value
end
-- Size: Count Limit
nyse_equities_binarygateway_pillar_v5_8_size_of.count_limit = 4
-- Display: Count Limit
nyse_equities_binarygateway_pillar_v5_8_display.count_limit = function(value)
return "Count Limit: "..value
end
-- Dissect: Count Limit
nyse_equities_binarygateway_pillar_v5_8_dissect.count_limit = function(buffer, offset, packet, parent)
local length = nyse_equities_binarygateway_pillar_v5_8_size_of.count_limit
local range = buffer(offset, length)
local value = range:le_int()
local display = nyse_equities_binarygateway_pillar_v5_8_display.count_limit(value, buffer, offset, packet, parent)
parent:add(nyse_equities_binarygateway_pillar_v5_8.fields.count_limit, range, value, display)
return offset + length, value
end
-- Size: Percentage Limit
nyse_equities_binarygateway_pillar_v5_8_size_of.percentage_limit = 4
-- Display: Percentage Limit
nyse_equities_binarygateway_pillar_v5_8_display.percentage_limit = function(value)
return "Percentage Limit: "..value
end
-- Dissect: Percentage Limit
nyse_equities_binarygateway_pillar_v5_8_dissect.percentage_limit = function(buffer, offset, packet, parent)
local length = nyse_equities_binarygateway_pillar_v5_8_size_of.percentage_limit
local range = buffer(offset, length)
local value = range:le_int()
local display = nyse_equities_binarygateway_pillar_v5_8_display.percentage_limit(value, buffer, offset, packet, parent)
parent:add(nyse_equities_binarygateway_pillar_v5_8.fields.percentage_limit, range, value, display)
return offset + length, value
end
-- Size: Time Limit
nyse_equities_binarygateway_pillar_v5_8_size_of.time_limit = 4