OnixS C++ CBOE CFE Binary Order Entry (BOE) Handler 1.12.3
API Documentation
Loading...
Searching...
No Matches
Enumerations.h
Go to the documentation of this file.
1/*
2* Copyright Onix Solutions Limited [OnixS]. All rights reserved.
3*
4* This software owned by Onix Solutions Limited [OnixS] and is protected by copyright law
5* and international copyright treaties.
6*
7* Access to and use of the software is governed by the terms of the applicable ONIXS Software
8* Services Agreement (the Agreement) and Customer end user license agreements granting
9* a non-assignable, non-transferable and non-exclusive license to use the software
10* for it's own data processing purposes under the terms defined in the Agreement.
11*
12* Except as otherwise granted within the terms of the Agreement, copying or reproduction of any part
13* of this source code or associated reference material to any other location for further reproduction
14* or redistribution, and any amendments to this copyright notice, are expressly prohibited.
15*
16* Any reproduction or redistribution for sale or hiring of the Software not in accordance with
17* the terms of the Agreement is a violation of copyright law.
18*/
19
20#pragma once
21
23
24#include <string>
25
26namespace OnixS {
27namespace CboeCFE {
28namespace Trading {
29namespace BOE {
30
118
120 ONIXS_CBOE_CFE_BOE_API void toStr(std::string&, OrderReasonCode::Enum);
121
123 inline std::string toStr(OrderReasonCode::Enum value)
124 {
125 std::string str;
126
127 toStr(str, value);
128
129 return str;
130 }
131
132
229
231 ONIXS_CBOE_CFE_BOE_API void toStr(std::string&, QuoteReasonCode::Enum);
232
234 inline std::string toStr(QuoteReasonCode::Enum value)
235 {
236 std::string str;
237
238 toStr(str, value);
239
240 return str;
241 }
242
303
305 ONIXS_CBOE_CFE_BOE_API void toStr(std::string&, MessageType::Enum);
306
308 inline std::string toStr(MessageType::Enum value)
309 {
310 std::string str;
311
312 toStr(str, value);
313
314 return str;
315 }
316
319 {
321 typedef UInt8 Base;
322
323 enum Enum
324 {
327
330
333 };
334 };
335
337 ONIXS_CBOE_CFE_BOE_API void toStr(std::string&, BaseLiquidityIndicator::Enum);
338
340 inline std::string toStr(BaseLiquidityIndicator::Enum value)
341 {
342 std::string str;
343
344 toStr(str, value);
345
346 return str;
347 }
348
351 {
353 typedef UInt8 Base;
354
363 };
364
366 ONIXS_CBOE_CFE_BOE_API void toStr(std::string&, CancelOrigOnReject::Enum);
367
369 inline std::string toStr(CancelOrigOnReject::Enum value)
370 {
371 std::string str;
372
373 toStr(str, value);
374
375 return str;
376 }
377
379 struct Capacity
380 {
382 typedef UInt8 Base;
383
384 enum Enum
385 {
387 Customer = 'C',
388
390 Firm = 'F',
391 };
392 };
393
395 ONIXS_CBOE_CFE_BOE_API void toStr(std::string&, Capacity::Enum);
396
398 inline std::string toStr(Capacity::Enum value)
399 {
400 std::string str;
401
402 toStr(str, value);
403
404 return str;
405 }
406
408 struct CtiCode
409 {
411 typedef UInt8 Base;
412
413 enum Enum
414 {
417 Cti1 = '1',
418
420 Cti2 = '2',
421
424 Cti3 = '3',
425
427 Cti4 = '4',
428 };
429 };
430
432 ONIXS_CBOE_CFE_BOE_API void toStr(std::string&, CtiCode::Enum);
433
435 inline std::string toStr(CtiCode::Enum value)
436 {
437 std::string str;
438
439 toStr(str, value);
440
441 return str;
442 }
443
446 {
448 typedef UInt8 Base;
449
473 };
474
476 ONIXS_CBOE_CFE_BOE_API void toStr(std::string&, CustOrderHandlingInst::Enum);
477
479 inline std::string toStr(CustOrderHandlingInst::Enum value)
480 {
481 std::string str;
482
483 toStr(str, value);
484
485 return str;
486 }
487
490 {
492 typedef UInt8 Base;
493
494 enum Enum
495 {
497 Manual = 'Y',
498
501 };
502 };
503
505 ONIXS_CBOE_CFE_BOE_API void toStr(std::string&, ManualOrderIndicator::Enum);
506
508 inline std::string toStr(ManualOrderIndicator::Enum value)
509 {
510 std::string str;
511
512 toStr(str, value);
513
514 return str;
515 }
516
535
537 ONIXS_CBOE_CFE_BOE_API void toStr(std::string&, MultilegReportingType::Enum);
538
540 inline std::string toStr(MultilegReportingType::Enum value)
541 {
542 std::string str;
543
544 toStr(str, value);
545
546 return str;
547 }
548
551 {
553 typedef UInt8 Base;
554
555 enum Enum
556 {
558 Open = 'O',
559
561 Close = 'C',
562
564 None = 'N',
565 };
566 };
567
569 ONIXS_CBOE_CFE_BOE_API void toStr(std::string&, OpenClose::Enum);
570
572 inline std::string toStr(OpenClose::Enum value)
573 {
574 std::string str;
575
576 toStr(str, value);
577
578 return str;
579 }
580
582 struct OrdType
583 {
585 typedef UInt8 Base;
586
587 enum Enum
588 {
590 Market = '1',
591
593 Limit = '2',
594
597 };
598 };
599
601 ONIXS_CBOE_CFE_BOE_API void toStr(std::string&, OrdType::Enum);
602
604 inline std::string toStr(OrdType::Enum value)
605 {
606 std::string str;
607
608 toStr(str, value);
609
610 return str;
611 }
612
615 {
617 typedef UInt8 Base;
618
619 enum Enum
620 {
623
625 Pending = 'P',
626 };
627 };
628
630 ONIXS_CBOE_CFE_BOE_API void toStr(std::string&, PendingStatus::Enum);
631
633 inline std::string toStr(PendingStatus::Enum value)
634 {
635 std::string str;
636
637 toStr(str, value);
638
639 return str;
640 }
641
696
698 ONIXS_CBOE_CFE_BOE_API void toStr(std::string&, QuoteResult::Enum);
699
701 inline std::string toStr(QuoteResult::Enum value)
702 {
703 std::string str;
704
705 toStr(str, value);
706
707 return str;
708 }
709
712 {
714 typedef UInt8 Base;
715
716 enum Enum
717 {
720
722 Wash = 'W',
723 };
724 };
725
727 ONIXS_CBOE_CFE_BOE_API void toStr(std::string&, RestatementReason::Enum);
728
730 inline std::string toStr(RestatementReason::Enum value)
731 {
732 std::string str;
733
734 toStr(str, value);
735
736 return str;
737 }
738
778
780 ONIXS_CBOE_CFE_BOE_API void toStr(std::string&, RiskResetResult::Enum);
781
783 inline std::string toStr(RiskResetResult::Enum value)
784 {
785 std::string str;
786
787 toStr(str, value);
788
789 return str;
790 }
791
793 struct Side
794 {
796 typedef UInt8 Base;
797
798 enum Enum
799 {
801 Buy = '1',
802
804 Sell = '2',
805 };
806 };
807
809 ONIXS_CBOE_CFE_BOE_API void toStr(std::string&, Side::Enum);
810
812 inline std::string toStr(Side::Enum value)
813 {
814 std::string str;
815
816 toStr(str, value);
817
818 return str;
819 }
820
823 {
825 typedef UInt8 Base;
826
827 enum Enum
828 {
830 Null = 0,
831
833 Reduce = 'R',
834 };
835 };
836
838 ONIXS_CBOE_CFE_BOE_API void toStr(std::string&, SizeModifier::Enum);
839
841 inline std::string toStr(SizeModifier::Enum value)
842 {
843 std::string str;
844
845 toStr(str, value);
846
847 return str;
848 }
849
852 {
854 typedef UInt8 Base;
855
867 };
868
870 ONIXS_CBOE_CFE_BOE_API void toStr(std::string&, SubLiquidityIndicator::Enum);
871
873 inline std::string toStr(SubLiquidityIndicator::Enum value)
874 {
875 std::string str;
876
877 toStr(str, value);
878
879 return str;
880 }
881
884 {
886 typedef UInt8 Base;
887
888 enum Enum
889 {
891 Day = '0',
892
894 GTC = '1',
895
897 IOC = '3',
898
900 FOK = '4',
901
903 GTD = '6',
904 };
905 };
906
908 ONIXS_CBOE_CFE_BOE_API void toStr(std::string&, TimeInForce::Enum);
909
911 inline std::string toStr(TimeInForce::Enum value)
912 {
913 std::string str;
914
915 toStr(str, value);
916
917 return str;
918 }
919
922 {
924 typedef UInt8 Base;
925
937 };
938
940
941
943 {
945 typedef UInt8 Base;
946
947 enum Enum
948 {
952 };
953 };
954
956
957}
958}
959}
960}
961
#define ONIXS_CBOE_CFE_BOE_DECLARE_T0_STR_FUNCTIONS(Type)
Definition ABI.h:38
void toStr(std::string &str, const FixedPointDecimal< Mantissa, Exponent > &number)
Serializes fixed-point decimal into a string.
Definition Decimal.h:156
@ MarketOpening
Market opening / re-opening trade.
UInt8 Base
Integral type used as basement for constants.
@ CancelOriginalOrderIfModificationFails
Cancel original order if modification fails.
@ LeaveOriginalOrderAlone
Leave original order alone.
UInt8 Base
Integral type used as basement for constants.
UInt8 Base
Integral type used as basement for constants.
@ Cti4
Any transaction not meeting the definition of CTI 1, 2 or 3. (These should be non - TPH customer tran...
@ Cti1
Transactions initiated and executed by an individual TPH for the TPH�s own account,...
@ Cti3
Transactions where an individual TPH or authorized trader executes for the personal account of anothe...
@ Cti2
Transactions executed for the proprietary account of a clearing TPH or non - clearing TPH.
UInt8 Base
Integral type used as basement for constants.
Execution source code provided during order entry to describe broker service.
UInt8 Base
Integral type used as basement for constants.
UInt8 Base
Integral type used as basement for constants.
UInt8 Base
Integral type used as basement for constants.
UInt8 Base
Integral type used as basement for constants.
UInt8 Base
Integral type used as basement for constants.
@ SimpleInstrumentExecutionThatIsPartOfSpreadExecution
Simple instrument execution that is part of a Spread execution.
@ SimpleInstrumentExecution
Simple instrument execution.
@ SpreadInstrumentExecution
Spread instrument execution.
UInt8 Base
Integral type used as basement for constants.
Indicates status of client position in a trade resulting from the order.
UInt8 Base
Integral type used as basement for constants.
UInt8 Base
Integral type used as basement for constants.
UInt8 Base
Integral type used as basement for constants.
UInt8 Base
Integral type used as basement for constants.
UInt8 Base
Integral type used as basement for constants.
UInt8 Base
Integral type used as basement for constants.
UInt8 Base
Integral type used as basement for constants.
UInt8 Base
Integral type used as basement for constants.
UInt8 Base
Integral type used as basement for constants.
@ Reduce
Reduce outstanding size of quote by the OrderQty provided.
@ Null
New quote size will be set to value of OrderQty.
UInt8 Base
Integral type used as basement for constants.
@ QualifyingMarketTurnerOrder
Qualifying Market Turner order.
UInt8 Base
Integral type used as basement for constants.
@ GTC
GTC (Good �till Cancel.Order remains until cancelled or contract expires)
@ IOC
IOC (Portion not filled immediately is cancelled. Market orders are implicitly IOC)
@ FOK
FOK (An IOC where the entire size must be filled, else the order will be cancelled back)
@ Day
Day (Expires at the end of the business day)
@ GTD
GTD (Good ‘till Date-Time Expires at the date-time specified in the ExpireTime field).
UInt8 Base
Integral type used as basement for constants.