-
Notifications
You must be signed in to change notification settings - Fork 35
/
swigibpy.py
2765 lines (2025 loc) · 137 KB
/
swigibpy.py
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
# This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.7
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
import warnings
import sys
import threading
import select
from traceback import print_exc, print_exception
"""
Python wrapper for Interactive Brokers TWS C++ API
"""
from sys import version_info
if version_info >= (3, 0, 0):
new_instancemethod = lambda func, inst, cls: _swigibpy.SWIG_PyInstanceMethod_New(func)
else:
from new import instancemethod as new_instancemethod
if version_info >= (2, 6, 0):
def swig_import_helper():
from os.path import dirname
import imp
fp = None
try:
fp, pathname, description = imp.find_module('_swigibpy', [dirname(__file__)])
except ImportError:
import _swigibpy
return _swigibpy
if fp is not None:
try:
_mod = imp.load_module('_swigibpy', fp, pathname, description)
finally:
fp.close()
return _mod
_swigibpy = swig_import_helper()
del swig_import_helper
else:
import _swigibpy
del version_info
try:
_swig_property = property
except NameError:
pass # Python < 2.2 doesn't have 'property'.
def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
if (name == "thisown"):
return self.this.own(value)
if (name == "this"):
if type(value).__name__ == 'SwigPyObject':
self.__dict__[name] = value
return
method = class_type.__swig_setmethods__.get(name, None)
if method:
return method(self, value)
if (not static):
object.__setattr__(self, name, value)
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self, class_type, name, value):
return _swig_setattr_nondynamic(self, class_type, name, value, 0)
def _swig_getattr_nondynamic(self, class_type, name, static=1):
if (name == "thisown"):
return self.this.own()
method = class_type.__swig_getmethods__.get(name, None)
if method:
return method(self)
if (not static):
return object.__getattr__(self, name)
else:
raise AttributeError(name)
def _swig_getattr(self, class_type, name):
return _swig_getattr_nondynamic(self, class_type, name, 0)
def _swig_repr(self):
try:
strthis = "proxy of " + self.this.__repr__()
except:
strthis = ""
return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
try:
_object = object
_newclass = 1
except AttributeError:
class _object:
pass
_newclass = 0
def _swig_setattr_nondynamic_method(set):
def set_attr(self, name, value):
if (name == "thisown"):
return self.this.own(value)
if hasattr(self, name) or (name == "this"):
set(self, name, value)
else:
raise AttributeError("You cannot add attributes to %s" % self)
return set_attr
try:
import weakref
weakref_proxy = weakref.proxy
except:
weakref_proxy = lambda x: x
class SwigPyIterator(object):
"""Proxy of C++ swig::SwigPyIterator class"""
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
__swig_destroy__ = _swigibpy.delete_SwigPyIterator
def value(self):
"""value(SwigPyIterator self) -> PyObject *"""
return _swigibpy.SwigPyIterator_value(self)
def incr(self, n=1):
"""incr(SwigPyIterator self, size_t n=1) -> SwigPyIterator"""
return _swigibpy.SwigPyIterator_incr(self, n)
def decr(self, n=1):
"""decr(SwigPyIterator self, size_t n=1) -> SwigPyIterator"""
return _swigibpy.SwigPyIterator_decr(self, n)
def distance(self, x):
"""distance(SwigPyIterator self, SwigPyIterator x) -> ptrdiff_t"""
return _swigibpy.SwigPyIterator_distance(self, x)
def equal(self, x):
"""equal(SwigPyIterator self, SwigPyIterator x) -> bool"""
return _swigibpy.SwigPyIterator_equal(self, x)
def copy(self):
"""copy(SwigPyIterator self) -> SwigPyIterator"""
return _swigibpy.SwigPyIterator_copy(self)
def next(self):
"""next(SwigPyIterator self) -> PyObject *"""
return _swigibpy.SwigPyIterator_next(self)
def __next__(self):
"""__next__(SwigPyIterator self) -> PyObject *"""
return _swigibpy.SwigPyIterator___next__(self)
def previous(self):
"""previous(SwigPyIterator self) -> PyObject *"""
return _swigibpy.SwigPyIterator_previous(self)
def advance(self, n):
"""advance(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator"""
return _swigibpy.SwigPyIterator_advance(self, n)
def __eq__(self, x):
"""__eq__(SwigPyIterator self, SwigPyIterator x) -> bool"""
return _swigibpy.SwigPyIterator___eq__(self, x)
def __ne__(self, x):
"""__ne__(SwigPyIterator self, SwigPyIterator x) -> bool"""
return _swigibpy.SwigPyIterator___ne__(self, x)
def __iadd__(self, n):
"""__iadd__(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator"""
return _swigibpy.SwigPyIterator___iadd__(self, n)
def __isub__(self, n):
"""__isub__(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator"""
return _swigibpy.SwigPyIterator___isub__(self, n)
def __add__(self, n):
"""__add__(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator"""
return _swigibpy.SwigPyIterator___add__(self, n)
def __sub__(self, *args):
"""
__sub__(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator
__sub__(SwigPyIterator self, SwigPyIterator x) -> ptrdiff_t
"""
return _swigibpy.SwigPyIterator___sub__(self, *args)
def __iter__(self):
return self
SwigPyIterator.value = new_instancemethod(_swigibpy.SwigPyIterator_value, None, SwigPyIterator)
SwigPyIterator.incr = new_instancemethod(_swigibpy.SwigPyIterator_incr, None, SwigPyIterator)
SwigPyIterator.decr = new_instancemethod(_swigibpy.SwigPyIterator_decr, None, SwigPyIterator)
SwigPyIterator.distance = new_instancemethod(_swigibpy.SwigPyIterator_distance, None, SwigPyIterator)
SwigPyIterator.equal = new_instancemethod(_swigibpy.SwigPyIterator_equal, None, SwigPyIterator)
SwigPyIterator.copy = new_instancemethod(_swigibpy.SwigPyIterator_copy, None, SwigPyIterator)
SwigPyIterator.next = new_instancemethod(_swigibpy.SwigPyIterator_next, None, SwigPyIterator)
SwigPyIterator.__next__ = new_instancemethod(_swigibpy.SwigPyIterator___next__, None, SwigPyIterator)
SwigPyIterator.previous = new_instancemethod(_swigibpy.SwigPyIterator_previous, None, SwigPyIterator)
SwigPyIterator.advance = new_instancemethod(_swigibpy.SwigPyIterator_advance, None, SwigPyIterator)
SwigPyIterator.__eq__ = new_instancemethod(_swigibpy.SwigPyIterator___eq__, None, SwigPyIterator)
SwigPyIterator.__ne__ = new_instancemethod(_swigibpy.SwigPyIterator___ne__, None, SwigPyIterator)
SwigPyIterator.__iadd__ = new_instancemethod(_swigibpy.SwigPyIterator___iadd__, None, SwigPyIterator)
SwigPyIterator.__isub__ = new_instancemethod(_swigibpy.SwigPyIterator___isub__, None, SwigPyIterator)
SwigPyIterator.__add__ = new_instancemethod(_swigibpy.SwigPyIterator___add__, None, SwigPyIterator)
SwigPyIterator.__sub__ = new_instancemethod(_swigibpy.SwigPyIterator___sub__, None, SwigPyIterator)
SwigPyIterator_swigregister = _swigibpy.SwigPyIterator_swigregister
SwigPyIterator_swigregister(SwigPyIterator)
_swigibpy.SHARED_PTR_DISOWN_swigconstant(_swigibpy)
SHARED_PTR_DISOWN = _swigibpy.SHARED_PTR_DISOWN
class ComboLegList(object):
"""Proxy of C++ std::vector<(shared_ptr<(ComboLeg)>)> class"""
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def iterator(self):
"""iterator(ComboLegList self) -> SwigPyIterator"""
return _swigibpy.ComboLegList_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
"""__nonzero__(ComboLegList self) -> bool"""
return _swigibpy.ComboLegList___nonzero__(self)
def __bool__(self):
"""__bool__(ComboLegList self) -> bool"""
return _swigibpy.ComboLegList___bool__(self)
def __len__(self):
"""__len__(ComboLegList self) -> std::vector< shared_ptr< ComboLeg > >::size_type"""
return _swigibpy.ComboLegList___len__(self)
def pop(self):
"""pop(ComboLegList self) -> std::vector< shared_ptr< ComboLeg > >::value_type"""
return _swigibpy.ComboLegList_pop(self)
def __getslice__(self, i, j):
"""__getslice__(ComboLegList self, std::vector< shared_ptr< ComboLeg > >::difference_type i, std::vector< shared_ptr< ComboLeg > >::difference_type j) -> ComboLegList"""
return _swigibpy.ComboLegList___getslice__(self, i, j)
def __setslice__(self, *args, **kwargs):
"""__setslice__(ComboLegList self, std::vector< shared_ptr< ComboLeg > >::difference_type i, std::vector< shared_ptr< ComboLeg > >::difference_type j, ComboLegList v)"""
return _swigibpy.ComboLegList___setslice__(self, *args, **kwargs)
def __delslice__(self, i, j):
"""__delslice__(ComboLegList self, std::vector< shared_ptr< ComboLeg > >::difference_type i, std::vector< shared_ptr< ComboLeg > >::difference_type j)"""
return _swigibpy.ComboLegList___delslice__(self, i, j)
def __delitem__(self, *args):
"""
__delitem__(ComboLegList self, std::vector< shared_ptr< ComboLeg > >::difference_type i)
__delitem__(ComboLegList self, PySliceObject * slice)
"""
return _swigibpy.ComboLegList___delitem__(self, *args)
def __getitem__(self, *args):
"""
__getitem__(ComboLegList self, PySliceObject * slice) -> ComboLegList
__getitem__(ComboLegList self, std::vector< shared_ptr< ComboLeg > >::difference_type i) -> std::vector< shared_ptr< ComboLeg > >::value_type const &
"""
return _swigibpy.ComboLegList___getitem__(self, *args)
def __setitem__(self, *args):
"""
__setitem__(ComboLegList self, PySliceObject * slice, ComboLegList v)
__setitem__(ComboLegList self, PySliceObject * slice)
__setitem__(ComboLegList self, std::vector< shared_ptr< ComboLeg > >::difference_type i, std::vector< shared_ptr< ComboLeg > >::value_type const & x)
"""
return _swigibpy.ComboLegList___setitem__(self, *args)
def append(self, x):
"""append(ComboLegList self, std::vector< shared_ptr< ComboLeg > >::value_type const & x)"""
return _swigibpy.ComboLegList_append(self, x)
def empty(self):
"""empty(ComboLegList self) -> bool"""
return _swigibpy.ComboLegList_empty(self)
def size(self):
"""size(ComboLegList self) -> std::vector< shared_ptr< ComboLeg > >::size_type"""
return _swigibpy.ComboLegList_size(self)
def clear(self):
"""clear(ComboLegList self)"""
return _swigibpy.ComboLegList_clear(self)
def swap(self, v):
"""swap(ComboLegList self, ComboLegList v)"""
return _swigibpy.ComboLegList_swap(self, v)
def get_allocator(self):
"""get_allocator(ComboLegList self) -> std::vector< shared_ptr< ComboLeg > >::allocator_type"""
return _swigibpy.ComboLegList_get_allocator(self)
def begin(self):
"""begin(ComboLegList self) -> std::vector< shared_ptr< ComboLeg > >::iterator"""
return _swigibpy.ComboLegList_begin(self)
def end(self):
"""end(ComboLegList self) -> std::vector< shared_ptr< ComboLeg > >::iterator"""
return _swigibpy.ComboLegList_end(self)
def rbegin(self):
"""rbegin(ComboLegList self) -> std::vector< shared_ptr< ComboLeg > >::reverse_iterator"""
return _swigibpy.ComboLegList_rbegin(self)
def rend(self):
"""rend(ComboLegList self) -> std::vector< shared_ptr< ComboLeg > >::reverse_iterator"""
return _swigibpy.ComboLegList_rend(self)
def pop_back(self):
"""pop_back(ComboLegList self)"""
return _swigibpy.ComboLegList_pop_back(self)
def erase(self, *args):
"""
erase(ComboLegList self, std::vector< shared_ptr< ComboLeg > >::iterator pos) -> std::vector< shared_ptr< ComboLeg > >::iterator
erase(ComboLegList self, std::vector< shared_ptr< ComboLeg > >::iterator first, std::vector< shared_ptr< ComboLeg > >::iterator last) -> std::vector< shared_ptr< ComboLeg > >::iterator
"""
return _swigibpy.ComboLegList_erase(self, *args)
def __init__(self, *args):
"""
__init__(std::vector<(shared_ptr<(ComboLeg)>)> self) -> ComboLegList
__init__(std::vector<(shared_ptr<(ComboLeg)>)> self, ComboLegList arg2) -> ComboLegList
__init__(std::vector<(shared_ptr<(ComboLeg)>)> self, std::vector< shared_ptr< ComboLeg > >::size_type size) -> ComboLegList
__init__(std::vector<(shared_ptr<(ComboLeg)>)> self, std::vector< shared_ptr< ComboLeg > >::size_type size, std::vector< shared_ptr< ComboLeg > >::value_type const & value) -> ComboLegList
"""
_swigibpy.ComboLegList_swiginit(self, _swigibpy.new_ComboLegList(*args))
def push_back(self, x):
"""push_back(ComboLegList self, std::vector< shared_ptr< ComboLeg > >::value_type const & x)"""
return _swigibpy.ComboLegList_push_back(self, x)
def front(self):
"""front(ComboLegList self) -> std::vector< shared_ptr< ComboLeg > >::value_type const &"""
return _swigibpy.ComboLegList_front(self)
def back(self):
"""back(ComboLegList self) -> std::vector< shared_ptr< ComboLeg > >::value_type const &"""
return _swigibpy.ComboLegList_back(self)
def assign(self, n, x):
"""assign(ComboLegList self, std::vector< shared_ptr< ComboLeg > >::size_type n, std::vector< shared_ptr< ComboLeg > >::value_type const & x)"""
return _swigibpy.ComboLegList_assign(self, n, x)
def resize(self, *args):
"""
resize(ComboLegList self, std::vector< shared_ptr< ComboLeg > >::size_type new_size)
resize(ComboLegList self, std::vector< shared_ptr< ComboLeg > >::size_type new_size, std::vector< shared_ptr< ComboLeg > >::value_type const & x)
"""
return _swigibpy.ComboLegList_resize(self, *args)
def insert(self, *args):
"""
insert(ComboLegList self, std::vector< shared_ptr< ComboLeg > >::iterator pos, std::vector< shared_ptr< ComboLeg > >::value_type const & x) -> std::vector< shared_ptr< ComboLeg > >::iterator
insert(ComboLegList self, std::vector< shared_ptr< ComboLeg > >::iterator pos, std::vector< shared_ptr< ComboLeg > >::size_type n, std::vector< shared_ptr< ComboLeg > >::value_type const & x)
"""
return _swigibpy.ComboLegList_insert(self, *args)
def reserve(self, n):
"""reserve(ComboLegList self, std::vector< shared_ptr< ComboLeg > >::size_type n)"""
return _swigibpy.ComboLegList_reserve(self, n)
def capacity(self):
"""capacity(ComboLegList self) -> std::vector< shared_ptr< ComboLeg > >::size_type"""
return _swigibpy.ComboLegList_capacity(self)
__swig_destroy__ = _swigibpy.delete_ComboLegList
ComboLegList.iterator = new_instancemethod(_swigibpy.ComboLegList_iterator, None, ComboLegList)
ComboLegList.__nonzero__ = new_instancemethod(_swigibpy.ComboLegList___nonzero__, None, ComboLegList)
ComboLegList.__bool__ = new_instancemethod(_swigibpy.ComboLegList___bool__, None, ComboLegList)
ComboLegList.__len__ = new_instancemethod(_swigibpy.ComboLegList___len__, None, ComboLegList)
ComboLegList.pop = new_instancemethod(_swigibpy.ComboLegList_pop, None, ComboLegList)
ComboLegList.__getslice__ = new_instancemethod(_swigibpy.ComboLegList___getslice__, None, ComboLegList)
ComboLegList.__setslice__ = new_instancemethod(_swigibpy.ComboLegList___setslice__, None, ComboLegList)
ComboLegList.__delslice__ = new_instancemethod(_swigibpy.ComboLegList___delslice__, None, ComboLegList)
ComboLegList.__delitem__ = new_instancemethod(_swigibpy.ComboLegList___delitem__, None, ComboLegList)
ComboLegList.__getitem__ = new_instancemethod(_swigibpy.ComboLegList___getitem__, None, ComboLegList)
ComboLegList.__setitem__ = new_instancemethod(_swigibpy.ComboLegList___setitem__, None, ComboLegList)
ComboLegList.append = new_instancemethod(_swigibpy.ComboLegList_append, None, ComboLegList)
ComboLegList.empty = new_instancemethod(_swigibpy.ComboLegList_empty, None, ComboLegList)
ComboLegList.size = new_instancemethod(_swigibpy.ComboLegList_size, None, ComboLegList)
ComboLegList.clear = new_instancemethod(_swigibpy.ComboLegList_clear, None, ComboLegList)
ComboLegList.swap = new_instancemethod(_swigibpy.ComboLegList_swap, None, ComboLegList)
ComboLegList.get_allocator = new_instancemethod(_swigibpy.ComboLegList_get_allocator, None, ComboLegList)
ComboLegList.begin = new_instancemethod(_swigibpy.ComboLegList_begin, None, ComboLegList)
ComboLegList.end = new_instancemethod(_swigibpy.ComboLegList_end, None, ComboLegList)
ComboLegList.rbegin = new_instancemethod(_swigibpy.ComboLegList_rbegin, None, ComboLegList)
ComboLegList.rend = new_instancemethod(_swigibpy.ComboLegList_rend, None, ComboLegList)
ComboLegList.pop_back = new_instancemethod(_swigibpy.ComboLegList_pop_back, None, ComboLegList)
ComboLegList.erase = new_instancemethod(_swigibpy.ComboLegList_erase, None, ComboLegList)
ComboLegList.push_back = new_instancemethod(_swigibpy.ComboLegList_push_back, None, ComboLegList)
ComboLegList.front = new_instancemethod(_swigibpy.ComboLegList_front, None, ComboLegList)
ComboLegList.back = new_instancemethod(_swigibpy.ComboLegList_back, None, ComboLegList)
ComboLegList.assign = new_instancemethod(_swigibpy.ComboLegList_assign, None, ComboLegList)
ComboLegList.resize = new_instancemethod(_swigibpy.ComboLegList_resize, None, ComboLegList)
ComboLegList.insert = new_instancemethod(_swigibpy.ComboLegList_insert, None, ComboLegList)
ComboLegList.reserve = new_instancemethod(_swigibpy.ComboLegList_reserve, None, ComboLegList)
ComboLegList.capacity = new_instancemethod(_swigibpy.ComboLegList_capacity, None, ComboLegList)
ComboLegList_swigregister = _swigibpy.ComboLegList_swigregister
ComboLegList_swigregister(ComboLegList)
class OrderComboLegList(object):
"""Proxy of C++ std::vector<(shared_ptr<(OrderComboLeg)>)> class"""
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def iterator(self):
"""iterator(OrderComboLegList self) -> SwigPyIterator"""
return _swigibpy.OrderComboLegList_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
"""__nonzero__(OrderComboLegList self) -> bool"""
return _swigibpy.OrderComboLegList___nonzero__(self)
def __bool__(self):
"""__bool__(OrderComboLegList self) -> bool"""
return _swigibpy.OrderComboLegList___bool__(self)
def __len__(self):
"""__len__(OrderComboLegList self) -> std::vector< shared_ptr< OrderComboLeg > >::size_type"""
return _swigibpy.OrderComboLegList___len__(self)
def pop(self):
"""pop(OrderComboLegList self) -> std::vector< shared_ptr< OrderComboLeg > >::value_type"""
return _swigibpy.OrderComboLegList_pop(self)
def __getslice__(self, i, j):
"""__getslice__(OrderComboLegList self, std::vector< shared_ptr< OrderComboLeg > >::difference_type i, std::vector< shared_ptr< OrderComboLeg > >::difference_type j) -> OrderComboLegList"""
return _swigibpy.OrderComboLegList___getslice__(self, i, j)
def __setslice__(self, *args, **kwargs):
"""__setslice__(OrderComboLegList self, std::vector< shared_ptr< OrderComboLeg > >::difference_type i, std::vector< shared_ptr< OrderComboLeg > >::difference_type j, OrderComboLegList v)"""
return _swigibpy.OrderComboLegList___setslice__(self, *args, **kwargs)
def __delslice__(self, i, j):
"""__delslice__(OrderComboLegList self, std::vector< shared_ptr< OrderComboLeg > >::difference_type i, std::vector< shared_ptr< OrderComboLeg > >::difference_type j)"""
return _swigibpy.OrderComboLegList___delslice__(self, i, j)
def __delitem__(self, *args):
"""
__delitem__(OrderComboLegList self, std::vector< shared_ptr< OrderComboLeg > >::difference_type i)
__delitem__(OrderComboLegList self, PySliceObject * slice)
"""
return _swigibpy.OrderComboLegList___delitem__(self, *args)
def __getitem__(self, *args):
"""
__getitem__(OrderComboLegList self, PySliceObject * slice) -> OrderComboLegList
__getitem__(OrderComboLegList self, std::vector< shared_ptr< OrderComboLeg > >::difference_type i) -> std::vector< shared_ptr< OrderComboLeg > >::value_type const &
"""
return _swigibpy.OrderComboLegList___getitem__(self, *args)
def __setitem__(self, *args):
"""
__setitem__(OrderComboLegList self, PySliceObject * slice, OrderComboLegList v)
__setitem__(OrderComboLegList self, PySliceObject * slice)
__setitem__(OrderComboLegList self, std::vector< shared_ptr< OrderComboLeg > >::difference_type i, std::vector< shared_ptr< OrderComboLeg > >::value_type const & x)
"""
return _swigibpy.OrderComboLegList___setitem__(self, *args)
def append(self, x):
"""append(OrderComboLegList self, std::vector< shared_ptr< OrderComboLeg > >::value_type const & x)"""
return _swigibpy.OrderComboLegList_append(self, x)
def empty(self):
"""empty(OrderComboLegList self) -> bool"""
return _swigibpy.OrderComboLegList_empty(self)
def size(self):
"""size(OrderComboLegList self) -> std::vector< shared_ptr< OrderComboLeg > >::size_type"""
return _swigibpy.OrderComboLegList_size(self)
def clear(self):
"""clear(OrderComboLegList self)"""
return _swigibpy.OrderComboLegList_clear(self)
def swap(self, v):
"""swap(OrderComboLegList self, OrderComboLegList v)"""
return _swigibpy.OrderComboLegList_swap(self, v)
def get_allocator(self):
"""get_allocator(OrderComboLegList self) -> std::vector< shared_ptr< OrderComboLeg > >::allocator_type"""
return _swigibpy.OrderComboLegList_get_allocator(self)
def begin(self):
"""begin(OrderComboLegList self) -> std::vector< shared_ptr< OrderComboLeg > >::iterator"""
return _swigibpy.OrderComboLegList_begin(self)
def end(self):
"""end(OrderComboLegList self) -> std::vector< shared_ptr< OrderComboLeg > >::iterator"""
return _swigibpy.OrderComboLegList_end(self)
def rbegin(self):
"""rbegin(OrderComboLegList self) -> std::vector< shared_ptr< OrderComboLeg > >::reverse_iterator"""
return _swigibpy.OrderComboLegList_rbegin(self)
def rend(self):
"""rend(OrderComboLegList self) -> std::vector< shared_ptr< OrderComboLeg > >::reverse_iterator"""
return _swigibpy.OrderComboLegList_rend(self)
def pop_back(self):
"""pop_back(OrderComboLegList self)"""
return _swigibpy.OrderComboLegList_pop_back(self)
def erase(self, *args):
"""
erase(OrderComboLegList self, std::vector< shared_ptr< OrderComboLeg > >::iterator pos) -> std::vector< shared_ptr< OrderComboLeg > >::iterator
erase(OrderComboLegList self, std::vector< shared_ptr< OrderComboLeg > >::iterator first, std::vector< shared_ptr< OrderComboLeg > >::iterator last) -> std::vector< shared_ptr< OrderComboLeg > >::iterator
"""
return _swigibpy.OrderComboLegList_erase(self, *args)
def __init__(self, *args):
"""
__init__(std::vector<(shared_ptr<(OrderComboLeg)>)> self) -> OrderComboLegList
__init__(std::vector<(shared_ptr<(OrderComboLeg)>)> self, OrderComboLegList arg2) -> OrderComboLegList
__init__(std::vector<(shared_ptr<(OrderComboLeg)>)> self, std::vector< shared_ptr< OrderComboLeg > >::size_type size) -> OrderComboLegList
__init__(std::vector<(shared_ptr<(OrderComboLeg)>)> self, std::vector< shared_ptr< OrderComboLeg > >::size_type size, std::vector< shared_ptr< OrderComboLeg > >::value_type const & value) -> OrderComboLegList
"""
_swigibpy.OrderComboLegList_swiginit(self, _swigibpy.new_OrderComboLegList(*args))
def push_back(self, x):
"""push_back(OrderComboLegList self, std::vector< shared_ptr< OrderComboLeg > >::value_type const & x)"""
return _swigibpy.OrderComboLegList_push_back(self, x)
def front(self):
"""front(OrderComboLegList self) -> std::vector< shared_ptr< OrderComboLeg > >::value_type const &"""
return _swigibpy.OrderComboLegList_front(self)
def back(self):
"""back(OrderComboLegList self) -> std::vector< shared_ptr< OrderComboLeg > >::value_type const &"""
return _swigibpy.OrderComboLegList_back(self)
def assign(self, n, x):
"""assign(OrderComboLegList self, std::vector< shared_ptr< OrderComboLeg > >::size_type n, std::vector< shared_ptr< OrderComboLeg > >::value_type const & x)"""
return _swigibpy.OrderComboLegList_assign(self, n, x)
def resize(self, *args):
"""
resize(OrderComboLegList self, std::vector< shared_ptr< OrderComboLeg > >::size_type new_size)
resize(OrderComboLegList self, std::vector< shared_ptr< OrderComboLeg > >::size_type new_size, std::vector< shared_ptr< OrderComboLeg > >::value_type const & x)
"""
return _swigibpy.OrderComboLegList_resize(self, *args)
def insert(self, *args):
"""
insert(OrderComboLegList self, std::vector< shared_ptr< OrderComboLeg > >::iterator pos, std::vector< shared_ptr< OrderComboLeg > >::value_type const & x) -> std::vector< shared_ptr< OrderComboLeg > >::iterator
insert(OrderComboLegList self, std::vector< shared_ptr< OrderComboLeg > >::iterator pos, std::vector< shared_ptr< OrderComboLeg > >::size_type n, std::vector< shared_ptr< OrderComboLeg > >::value_type const & x)
"""
return _swigibpy.OrderComboLegList_insert(self, *args)
def reserve(self, n):
"""reserve(OrderComboLegList self, std::vector< shared_ptr< OrderComboLeg > >::size_type n)"""
return _swigibpy.OrderComboLegList_reserve(self, n)
def capacity(self):
"""capacity(OrderComboLegList self) -> std::vector< shared_ptr< OrderComboLeg > >::size_type"""
return _swigibpy.OrderComboLegList_capacity(self)
__swig_destroy__ = _swigibpy.delete_OrderComboLegList
OrderComboLegList.iterator = new_instancemethod(_swigibpy.OrderComboLegList_iterator, None, OrderComboLegList)
OrderComboLegList.__nonzero__ = new_instancemethod(_swigibpy.OrderComboLegList___nonzero__, None, OrderComboLegList)
OrderComboLegList.__bool__ = new_instancemethod(_swigibpy.OrderComboLegList___bool__, None, OrderComboLegList)
OrderComboLegList.__len__ = new_instancemethod(_swigibpy.OrderComboLegList___len__, None, OrderComboLegList)
OrderComboLegList.pop = new_instancemethod(_swigibpy.OrderComboLegList_pop, None, OrderComboLegList)
OrderComboLegList.__getslice__ = new_instancemethod(_swigibpy.OrderComboLegList___getslice__, None, OrderComboLegList)
OrderComboLegList.__setslice__ = new_instancemethod(_swigibpy.OrderComboLegList___setslice__, None, OrderComboLegList)
OrderComboLegList.__delslice__ = new_instancemethod(_swigibpy.OrderComboLegList___delslice__, None, OrderComboLegList)
OrderComboLegList.__delitem__ = new_instancemethod(_swigibpy.OrderComboLegList___delitem__, None, OrderComboLegList)
OrderComboLegList.__getitem__ = new_instancemethod(_swigibpy.OrderComboLegList___getitem__, None, OrderComboLegList)
OrderComboLegList.__setitem__ = new_instancemethod(_swigibpy.OrderComboLegList___setitem__, None, OrderComboLegList)
OrderComboLegList.append = new_instancemethod(_swigibpy.OrderComboLegList_append, None, OrderComboLegList)
OrderComboLegList.empty = new_instancemethod(_swigibpy.OrderComboLegList_empty, None, OrderComboLegList)
OrderComboLegList.size = new_instancemethod(_swigibpy.OrderComboLegList_size, None, OrderComboLegList)
OrderComboLegList.clear = new_instancemethod(_swigibpy.OrderComboLegList_clear, None, OrderComboLegList)
OrderComboLegList.swap = new_instancemethod(_swigibpy.OrderComboLegList_swap, None, OrderComboLegList)
OrderComboLegList.get_allocator = new_instancemethod(_swigibpy.OrderComboLegList_get_allocator, None, OrderComboLegList)
OrderComboLegList.begin = new_instancemethod(_swigibpy.OrderComboLegList_begin, None, OrderComboLegList)
OrderComboLegList.end = new_instancemethod(_swigibpy.OrderComboLegList_end, None, OrderComboLegList)
OrderComboLegList.rbegin = new_instancemethod(_swigibpy.OrderComboLegList_rbegin, None, OrderComboLegList)
OrderComboLegList.rend = new_instancemethod(_swigibpy.OrderComboLegList_rend, None, OrderComboLegList)
OrderComboLegList.pop_back = new_instancemethod(_swigibpy.OrderComboLegList_pop_back, None, OrderComboLegList)
OrderComboLegList.erase = new_instancemethod(_swigibpy.OrderComboLegList_erase, None, OrderComboLegList)
OrderComboLegList.push_back = new_instancemethod(_swigibpy.OrderComboLegList_push_back, None, OrderComboLegList)
OrderComboLegList.front = new_instancemethod(_swigibpy.OrderComboLegList_front, None, OrderComboLegList)
OrderComboLegList.back = new_instancemethod(_swigibpy.OrderComboLegList_back, None, OrderComboLegList)
OrderComboLegList.assign = new_instancemethod(_swigibpy.OrderComboLegList_assign, None, OrderComboLegList)
OrderComboLegList.resize = new_instancemethod(_swigibpy.OrderComboLegList_resize, None, OrderComboLegList)
OrderComboLegList.insert = new_instancemethod(_swigibpy.OrderComboLegList_insert, None, OrderComboLegList)
OrderComboLegList.reserve = new_instancemethod(_swigibpy.OrderComboLegList_reserve, None, OrderComboLegList)
OrderComboLegList.capacity = new_instancemethod(_swigibpy.OrderComboLegList_capacity, None, OrderComboLegList)
OrderComboLegList_swigregister = _swigibpy.OrderComboLegList_swigregister
OrderComboLegList_swigregister(OrderComboLegList)
class TagValueList(object):
"""Proxy of C++ std::vector<(shared_ptr<(TagValue)>)> class"""
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def iterator(self):
"""iterator(TagValueList self) -> SwigPyIterator"""
return _swigibpy.TagValueList_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
"""__nonzero__(TagValueList self) -> bool"""
return _swigibpy.TagValueList___nonzero__(self)
def __bool__(self):
"""__bool__(TagValueList self) -> bool"""
return _swigibpy.TagValueList___bool__(self)
def __len__(self):
"""__len__(TagValueList self) -> std::vector< shared_ptr< TagValue > >::size_type"""
return _swigibpy.TagValueList___len__(self)
def pop(self):
"""pop(TagValueList self) -> std::vector< shared_ptr< TagValue > >::value_type"""
return _swigibpy.TagValueList_pop(self)
def __getslice__(self, i, j):
"""__getslice__(TagValueList self, std::vector< shared_ptr< TagValue > >::difference_type i, std::vector< shared_ptr< TagValue > >::difference_type j) -> TagValueList"""
return _swigibpy.TagValueList___getslice__(self, i, j)
def __setslice__(self, *args, **kwargs):
"""__setslice__(TagValueList self, std::vector< shared_ptr< TagValue > >::difference_type i, std::vector< shared_ptr< TagValue > >::difference_type j, TagValueList v)"""
return _swigibpy.TagValueList___setslice__(self, *args, **kwargs)
def __delslice__(self, i, j):
"""__delslice__(TagValueList self, std::vector< shared_ptr< TagValue > >::difference_type i, std::vector< shared_ptr< TagValue > >::difference_type j)"""
return _swigibpy.TagValueList___delslice__(self, i, j)
def __delitem__(self, *args):
"""
__delitem__(TagValueList self, std::vector< shared_ptr< TagValue > >::difference_type i)
__delitem__(TagValueList self, PySliceObject * slice)
"""
return _swigibpy.TagValueList___delitem__(self, *args)
def __getitem__(self, *args):
"""
__getitem__(TagValueList self, PySliceObject * slice) -> TagValueList
__getitem__(TagValueList self, std::vector< shared_ptr< TagValue > >::difference_type i) -> std::vector< shared_ptr< TagValue > >::value_type const &
"""
return _swigibpy.TagValueList___getitem__(self, *args)
def __setitem__(self, *args):
"""
__setitem__(TagValueList self, PySliceObject * slice, TagValueList v)
__setitem__(TagValueList self, PySliceObject * slice)
__setitem__(TagValueList self, std::vector< shared_ptr< TagValue > >::difference_type i, std::vector< shared_ptr< TagValue > >::value_type const & x)
"""
return _swigibpy.TagValueList___setitem__(self, *args)
def append(self, x):
"""append(TagValueList self, std::vector< shared_ptr< TagValue > >::value_type const & x)"""
return _swigibpy.TagValueList_append(self, x)
def empty(self):
"""empty(TagValueList self) -> bool"""
return _swigibpy.TagValueList_empty(self)
def size(self):
"""size(TagValueList self) -> std::vector< shared_ptr< TagValue > >::size_type"""
return _swigibpy.TagValueList_size(self)
def clear(self):
"""clear(TagValueList self)"""
return _swigibpy.TagValueList_clear(self)
def swap(self, v):
"""swap(TagValueList self, TagValueList v)"""
return _swigibpy.TagValueList_swap(self, v)
def get_allocator(self):
"""get_allocator(TagValueList self) -> std::vector< shared_ptr< TagValue > >::allocator_type"""
return _swigibpy.TagValueList_get_allocator(self)
def begin(self):
"""begin(TagValueList self) -> std::vector< shared_ptr< TagValue > >::iterator"""
return _swigibpy.TagValueList_begin(self)
def end(self):
"""end(TagValueList self) -> std::vector< shared_ptr< TagValue > >::iterator"""
return _swigibpy.TagValueList_end(self)
def rbegin(self):
"""rbegin(TagValueList self) -> std::vector< shared_ptr< TagValue > >::reverse_iterator"""
return _swigibpy.TagValueList_rbegin(self)
def rend(self):
"""rend(TagValueList self) -> std::vector< shared_ptr< TagValue > >::reverse_iterator"""
return _swigibpy.TagValueList_rend(self)
def pop_back(self):
"""pop_back(TagValueList self)"""
return _swigibpy.TagValueList_pop_back(self)
def erase(self, *args):
"""
erase(TagValueList self, std::vector< shared_ptr< TagValue > >::iterator pos) -> std::vector< shared_ptr< TagValue > >::iterator
erase(TagValueList self, std::vector< shared_ptr< TagValue > >::iterator first, std::vector< shared_ptr< TagValue > >::iterator last) -> std::vector< shared_ptr< TagValue > >::iterator
"""
return _swigibpy.TagValueList_erase(self, *args)
def __init__(self, *args):
"""
__init__(std::vector<(shared_ptr<(TagValue)>)> self) -> TagValueList
__init__(std::vector<(shared_ptr<(TagValue)>)> self, TagValueList arg2) -> TagValueList
__init__(std::vector<(shared_ptr<(TagValue)>)> self, std::vector< shared_ptr< TagValue > >::size_type size) -> TagValueList
__init__(std::vector<(shared_ptr<(TagValue)>)> self, std::vector< shared_ptr< TagValue > >::size_type size, std::vector< shared_ptr< TagValue > >::value_type const & value) -> TagValueList
"""
_swigibpy.TagValueList_swiginit(self, _swigibpy.new_TagValueList(*args))
def push_back(self, x):
"""push_back(TagValueList self, std::vector< shared_ptr< TagValue > >::value_type const & x)"""
return _swigibpy.TagValueList_push_back(self, x)
def front(self):
"""front(TagValueList self) -> std::vector< shared_ptr< TagValue > >::value_type const &"""
return _swigibpy.TagValueList_front(self)
def back(self):
"""back(TagValueList self) -> std::vector< shared_ptr< TagValue > >::value_type const &"""
return _swigibpy.TagValueList_back(self)
def assign(self, n, x):
"""assign(TagValueList self, std::vector< shared_ptr< TagValue > >::size_type n, std::vector< shared_ptr< TagValue > >::value_type const & x)"""
return _swigibpy.TagValueList_assign(self, n, x)
def resize(self, *args):
"""
resize(TagValueList self, std::vector< shared_ptr< TagValue > >::size_type new_size)
resize(TagValueList self, std::vector< shared_ptr< TagValue > >::size_type new_size, std::vector< shared_ptr< TagValue > >::value_type const & x)
"""
return _swigibpy.TagValueList_resize(self, *args)
def insert(self, *args):
"""
insert(TagValueList self, std::vector< shared_ptr< TagValue > >::iterator pos, std::vector< shared_ptr< TagValue > >::value_type const & x) -> std::vector< shared_ptr< TagValue > >::iterator
insert(TagValueList self, std::vector< shared_ptr< TagValue > >::iterator pos, std::vector< shared_ptr< TagValue > >::size_type n, std::vector< shared_ptr< TagValue > >::value_type const & x)
"""
return _swigibpy.TagValueList_insert(self, *args)
def reserve(self, n):
"""reserve(TagValueList self, std::vector< shared_ptr< TagValue > >::size_type n)"""
return _swigibpy.TagValueList_reserve(self, n)
def capacity(self):
"""capacity(TagValueList self) -> std::vector< shared_ptr< TagValue > >::size_type"""
return _swigibpy.TagValueList_capacity(self)
__swig_destroy__ = _swigibpy.delete_TagValueList
TagValueList.iterator = new_instancemethod(_swigibpy.TagValueList_iterator, None, TagValueList)
TagValueList.__nonzero__ = new_instancemethod(_swigibpy.TagValueList___nonzero__, None, TagValueList)
TagValueList.__bool__ = new_instancemethod(_swigibpy.TagValueList___bool__, None, TagValueList)
TagValueList.__len__ = new_instancemethod(_swigibpy.TagValueList___len__, None, TagValueList)
TagValueList.pop = new_instancemethod(_swigibpy.TagValueList_pop, None, TagValueList)
TagValueList.__getslice__ = new_instancemethod(_swigibpy.TagValueList___getslice__, None, TagValueList)
TagValueList.__setslice__ = new_instancemethod(_swigibpy.TagValueList___setslice__, None, TagValueList)
TagValueList.__delslice__ = new_instancemethod(_swigibpy.TagValueList___delslice__, None, TagValueList)
TagValueList.__delitem__ = new_instancemethod(_swigibpy.TagValueList___delitem__, None, TagValueList)
TagValueList.__getitem__ = new_instancemethod(_swigibpy.TagValueList___getitem__, None, TagValueList)
TagValueList.__setitem__ = new_instancemethod(_swigibpy.TagValueList___setitem__, None, TagValueList)
TagValueList.append = new_instancemethod(_swigibpy.TagValueList_append, None, TagValueList)
TagValueList.empty = new_instancemethod(_swigibpy.TagValueList_empty, None, TagValueList)
TagValueList.size = new_instancemethod(_swigibpy.TagValueList_size, None, TagValueList)
TagValueList.clear = new_instancemethod(_swigibpy.TagValueList_clear, None, TagValueList)
TagValueList.swap = new_instancemethod(_swigibpy.TagValueList_swap, None, TagValueList)
TagValueList.get_allocator = new_instancemethod(_swigibpy.TagValueList_get_allocator, None, TagValueList)
TagValueList.begin = new_instancemethod(_swigibpy.TagValueList_begin, None, TagValueList)
TagValueList.end = new_instancemethod(_swigibpy.TagValueList_end, None, TagValueList)
TagValueList.rbegin = new_instancemethod(_swigibpy.TagValueList_rbegin, None, TagValueList)
TagValueList.rend = new_instancemethod(_swigibpy.TagValueList_rend, None, TagValueList)
TagValueList.pop_back = new_instancemethod(_swigibpy.TagValueList_pop_back, None, TagValueList)
TagValueList.erase = new_instancemethod(_swigibpy.TagValueList_erase, None, TagValueList)
TagValueList.push_back = new_instancemethod(_swigibpy.TagValueList_push_back, None, TagValueList)
TagValueList.front = new_instancemethod(_swigibpy.TagValueList_front, None, TagValueList)
TagValueList.back = new_instancemethod(_swigibpy.TagValueList_back, None, TagValueList)
TagValueList.assign = new_instancemethod(_swigibpy.TagValueList_assign, None, TagValueList)
TagValueList.resize = new_instancemethod(_swigibpy.TagValueList_resize, None, TagValueList)
TagValueList.insert = new_instancemethod(_swigibpy.TagValueList_insert, None, TagValueList)
TagValueList.reserve = new_instancemethod(_swigibpy.TagValueList_reserve, None, TagValueList)
TagValueList.capacity = new_instancemethod(_swigibpy.TagValueList_capacity, None, TagValueList)
TagValueList_swigregister = _swigibpy.TagValueList_swigregister
TagValueList_swigregister(TagValueList)
class CommissionReport(object):
"""Proxy of C++ CommissionReport class"""
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self):
"""__init__(CommissionReport self) -> CommissionReport"""
_swigibpy.CommissionReport_swiginit(self, _swigibpy.new_CommissionReport())
execId = _swig_property(_swigibpy.CommissionReport_execId_get, _swigibpy.CommissionReport_execId_set)
commission = _swig_property(_swigibpy.CommissionReport_commission_get, _swigibpy.CommissionReport_commission_set)
currency = _swig_property(_swigibpy.CommissionReport_currency_get, _swigibpy.CommissionReport_currency_set)
realizedPNL = _swig_property(_swigibpy.CommissionReport_realizedPNL_get, _swigibpy.CommissionReport_realizedPNL_set)
_yield = _swig_property(_swigibpy.CommissionReport__yield_get, _swigibpy.CommissionReport__yield_set)
yieldRedemptionDate = _swig_property(_swigibpy.CommissionReport_yieldRedemptionDate_get, _swigibpy.CommissionReport_yieldRedemptionDate_set)
__swig_destroy__ = _swigibpy.delete_CommissionReport
CommissionReport_swigregister = _swigibpy.CommissionReport_swigregister
CommissionReport_swigregister(CommissionReport)
_swigibpy.GROUPS_swigconstant(_swigibpy)
GROUPS = _swigibpy.GROUPS
_swigibpy.PROFILES_swigconstant(_swigibpy)
PROFILES = _swigibpy.PROFILES
_swigibpy.ALIASES_swigconstant(_swigibpy)
ALIASES = _swigibpy.ALIASES
def faDataTypeStr(pFaDataType):
"""faDataTypeStr(faDataType pFaDataType) -> char const *"""
return _swigibpy.faDataTypeStr(pFaDataType)
_swigibpy.REALTIME_swigconstant(_swigibpy)
REALTIME = _swigibpy.REALTIME
_swigibpy.FROZEN_swigconstant(_swigibpy)
FROZEN = _swigibpy.FROZEN
_swigibpy.SAME_POS_swigconstant(_swigibpy)
SAME_POS = _swigibpy.SAME_POS
_swigibpy.OPEN_POS_swigconstant(_swigibpy)
OPEN_POS = _swigibpy.OPEN_POS
_swigibpy.CLOSE_POS_swigconstant(_swigibpy)
CLOSE_POS = _swigibpy.CLOSE_POS
_swigibpy.UNKNOWN_POS_swigconstant(_swigibpy)
UNKNOWN_POS = _swigibpy.UNKNOWN_POS
class ComboLeg(object):
"""Proxy of C++ ComboLeg class"""
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self):
"""__init__(ComboLeg self) -> ComboLeg"""
_swigibpy.ComboLeg_swiginit(self, _swigibpy.new_ComboLeg())
conId = _swig_property(_swigibpy.ComboLeg_conId_get, _swigibpy.ComboLeg_conId_set)
ratio = _swig_property(_swigibpy.ComboLeg_ratio_get, _swigibpy.ComboLeg_ratio_set)
action = _swig_property(_swigibpy.ComboLeg_action_get, _swigibpy.ComboLeg_action_set)
exchange = _swig_property(_swigibpy.ComboLeg_exchange_get, _swigibpy.ComboLeg_exchange_set)
openClose = _swig_property(_swigibpy.ComboLeg_openClose_get, _swigibpy.ComboLeg_openClose_set)
shortSaleSlot = _swig_property(_swigibpy.ComboLeg_shortSaleSlot_get, _swigibpy.ComboLeg_shortSaleSlot_set)
designatedLocation = _swig_property(_swigibpy.ComboLeg_designatedLocation_get, _swigibpy.ComboLeg_designatedLocation_set)
exemptCode = _swig_property(_swigibpy.ComboLeg_exemptCode_get, _swigibpy.ComboLeg_exemptCode_set)
def __eq__(self, other):
"""__eq__(ComboLeg self, ComboLeg other) -> bool"""
return _swigibpy.ComboLeg___eq__(self, other)
__swig_destroy__ = _swigibpy.delete_ComboLeg
ComboLeg.__eq__ = new_instancemethod(_swigibpy.ComboLeg___eq__, None, ComboLeg)
ComboLeg_swigregister = _swigibpy.ComboLeg_swigregister
ComboLeg_swigregister(ComboLeg)
class UnderComp(object):
"""Proxy of C++ UnderComp class"""
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self):
"""__init__(UnderComp self) -> UnderComp"""
_swigibpy.UnderComp_swiginit(self, _swigibpy.new_UnderComp())
conId = _swig_property(_swigibpy.UnderComp_conId_get, _swigibpy.UnderComp_conId_set)
delta = _swig_property(_swigibpy.UnderComp_delta_get, _swigibpy.UnderComp_delta_set)
price = _swig_property(_swigibpy.UnderComp_price_get, _swigibpy.UnderComp_price_set)
__swig_destroy__ = _swigibpy.delete_UnderComp
UnderComp_swigregister = _swigibpy.UnderComp_swigregister
UnderComp_swigregister(UnderComp)