-
Notifications
You must be signed in to change notification settings - Fork 4
/
classIBApi_1_1Order.html
701 lines (696 loc) · 78.9 KB
/
classIBApi_1_1Order.html
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
<!-- HTML header for doxygen 1.8.4-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.4"/>
<title>TWS API: Order Class Reference</title>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script>
$(document).ready(function(){
$("ul#tabs li").click(function(e){
if (!$(this).hasClass("active")) {
var tabNum = $(this).index();
var nthChild = tabNum+1;
$("ul#tabs li.active").removeClass("active");
$(this).addClass("active");
$("ul#tab li.active").removeClass("active");
$("ul#tab li:nth-child("+nthChild+")").addClass("active");
}
});
});
</script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
$(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="ib_theme.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea" style="background-color:black;">
<table cellspacing="0" cellpadding="0" >
<tbody>
<tr>
<td id="projectlogo"><img alt="Logo" src="nav_iblogo.png"/></td>
<td style="padding: 0 0 0 1em;">
<ul id="tabs"><li class="active">C#</li><li>Java</li><li>VB</li><li>C++</li></ul>
</td>
<td> <div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.4 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classIBApi_1_1Order.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Properties</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Pages</a></div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pub-static-attribs">Static Public Attributes</a> |
<a href="#properties">Properties</a> |
<a href="classIBApi_1_1Order-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">Order Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>The order's description.
<a href="classIBApi_1_1Order.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ac202d37f2d600cd44a69503af523086d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac202d37f2d600cd44a69503af523086d"></a>
override bool </td><td class="memItemRight" valign="bottom"><b>Equals</b> (Object p_other)</td></tr>
<tr class="separator:ac202d37f2d600cd44a69503af523086d"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr class="memitem:a39f3024cc80fb803f870e048e2c96907"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a39f3024cc80fb803f870e048e2c96907"></a>
static int </td><td class="memItemRight" valign="bottom"><b>CUSTOMER</b> = 0</td></tr>
<tr class="separator:a39f3024cc80fb803f870e048e2c96907"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab4b8aff45dbf7d8be084a9a8b4c165a4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab4b8aff45dbf7d8be084a9a8b4c165a4"></a>
static int </td><td class="memItemRight" valign="bottom"><b>FIRM</b> = 1</td></tr>
<tr class="separator:ab4b8aff45dbf7d8be084a9a8b4c165a4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2e56743d6628df1beffceb97076558af"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2e56743d6628df1beffceb97076558af"></a>
static char </td><td class="memItemRight" valign="bottom"><b>OPT_UNKNOWN</b> = '?'</td></tr>
<tr class="separator:a2e56743d6628df1beffceb97076558af"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4d843dac66614264b7221c29cf1a14f1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4d843dac66614264b7221c29cf1a14f1"></a>
static char </td><td class="memItemRight" valign="bottom"><b>OPT_BROKER_DEALER</b> = 'b'</td></tr>
<tr class="separator:a4d843dac66614264b7221c29cf1a14f1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a69d5c130a7c8136374759e291bc76dcf"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a69d5c130a7c8136374759e291bc76dcf"></a>
static char </td><td class="memItemRight" valign="bottom"><b>OPT_CUSTOMER</b> = 'c'</td></tr>
<tr class="separator:a69d5c130a7c8136374759e291bc76dcf"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a86b270ef83c97ca32145fb3b417454cc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a86b270ef83c97ca32145fb3b417454cc"></a>
static char </td><td class="memItemRight" valign="bottom"><b>OPT_FIRM</b> = 'f'</td></tr>
<tr class="separator:a86b270ef83c97ca32145fb3b417454cc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a03002a08c0e7e3ccbb2d1bed1ae38e97"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a03002a08c0e7e3ccbb2d1bed1ae38e97"></a>
static char </td><td class="memItemRight" valign="bottom"><b>OPT_ISEMM</b> = 'm'</td></tr>
<tr class="separator:a03002a08c0e7e3ccbb2d1bed1ae38e97"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a47fa7e56a14e848e335ba591ec4e279f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a47fa7e56a14e848e335ba591ec4e279f"></a>
static char </td><td class="memItemRight" valign="bottom"><b>OPT_FARMM</b> = 'n'</td></tr>
<tr class="separator:a47fa7e56a14e848e335ba591ec4e279f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a14f67f61e88cccb186d39e2f61e97381"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a14f67f61e88cccb186d39e2f61e97381"></a>
static char </td><td class="memItemRight" valign="bottom"><b>OPT_SPECIALIST</b> = 'y'</td></tr>
<tr class="separator:a14f67f61e88cccb186d39e2f61e97381"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a751f50b2a1cafce7da37fb0efcde8580"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a751f50b2a1cafce7da37fb0efcde8580"></a>
static int </td><td class="memItemRight" valign="bottom"><b>AUCTION_MATCH</b> = 1</td></tr>
<tr class="separator:a751f50b2a1cafce7da37fb0efcde8580"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af9f5f3ef4b54b0319bd97faf76a794e6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af9f5f3ef4b54b0319bd97faf76a794e6"></a>
static int </td><td class="memItemRight" valign="bottom"><b>AUCTION_IMPROVEMENT</b> = 2</td></tr>
<tr class="separator:af9f5f3ef4b54b0319bd97faf76a794e6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad8d1ea44c1d91f7c56cf4233493867a2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad8d1ea44c1d91f7c56cf4233493867a2"></a>
static int </td><td class="memItemRight" valign="bottom"><b>AUCTION_TRANSPARENT</b> = 3</td></tr>
<tr class="separator:ad8d1ea44c1d91f7c56cf4233493867a2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad887f5c2cb60f15aa6b13aba9add632d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad887f5c2cb60f15aa6b13aba9add632d"></a>
static string </td><td class="memItemRight" valign="bottom"><b>EMPTY_STR</b> = ""</td></tr>
<tr class="separator:ad887f5c2cb60f15aa6b13aba9add632d"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="properties"></a>
Properties</h2></td></tr>
<tr class="memitem:ac2926db25ae147030a1cf519c07d86a6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac2926db25ae147030a1cf519c07d86a6"></a>
int </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#ac2926db25ae147030a1cf519c07d86a6">OrderId</a><code> [get, set]</code></td></tr>
<tr class="memdesc:ac2926db25ae147030a1cf519c07d86a6"><td class="mdescLeft"> </td><td class="mdescRight">The API client's order id. <br/></td></tr>
<tr class="separator:ac2926db25ae147030a1cf519c07d86a6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3b7f811fe7e92ece6e59ebd9bd8c7224"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3b7f811fe7e92ece6e59ebd9bd8c7224"></a>
bool </td><td class="memItemRight" valign="bottom"><b>Solicited</b><code> [get, set]</code></td></tr>
<tr class="separator:a3b7f811fe7e92ece6e59ebd9bd8c7224"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a776a8855d7e7ba3b6401d3db760a0f54"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a776a8855d7e7ba3b6401d3db760a0f54"></a>
int </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#a776a8855d7e7ba3b6401d3db760a0f54">ClientId</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a776a8855d7e7ba3b6401d3db760a0f54"><td class="mdescLeft"> </td><td class="mdescRight">The API client id which placed the order. <br/></td></tr>
<tr class="separator:a776a8855d7e7ba3b6401d3db760a0f54"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2984c9020c667823c4ae4de995372f76"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2984c9020c667823c4ae4de995372f76"></a>
int </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#a2984c9020c667823c4ae4de995372f76">PermId</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a2984c9020c667823c4ae4de995372f76"><td class="mdescLeft"> </td><td class="mdescRight">The Host order identifier. <br/></td></tr>
<tr class="separator:a2984c9020c667823c4ae4de995372f76"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6cbcc18d725aac9ed8a4f9040221606c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6cbcc18d725aac9ed8a4f9040221606c"></a>
string </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#a6cbcc18d725aac9ed8a4f9040221606c">Action</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a6cbcc18d725aac9ed8a4f9040221606c"><td class="mdescLeft"> </td><td class="mdescRight">Identifies the side. Possible values are BUY, SELL, SSHORT. <br/></td></tr>
<tr class="separator:a6cbcc18d725aac9ed8a4f9040221606c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a372e99b524e834f7bda387c68cd22e0f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a372e99b524e834f7bda387c68cd22e0f"></a>
double </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#a372e99b524e834f7bda387c68cd22e0f">TotalQuantity</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a372e99b524e834f7bda387c68cd22e0f"><td class="mdescLeft"> </td><td class="mdescRight">The number of positions being bought/sold. <br/></td></tr>
<tr class="separator:a372e99b524e834f7bda387c68cd22e0f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7380a1c209277552af30c11afe6bf82a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7380a1c209277552af30c11afe6bf82a"></a>
string </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#a7380a1c209277552af30c11afe6bf82a">OrderType</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a7380a1c209277552af30c11afe6bf82a"><td class="mdescLeft"> </td><td class="mdescRight">The order's type. Available Orders are at <a href="https://www.interactivebrokers.com/en/software/api/apiguide/tables/supported_order_types.htm">https://www.interactivebrokers.com/en/software/api/apiguide/tables/supported_order_types.htm</a>. <br/></td></tr>
<tr class="separator:a7380a1c209277552af30c11afe6bf82a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aef8619178c248a300cf1dd8805f9845e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aef8619178c248a300cf1dd8805f9845e"></a>
double </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#aef8619178c248a300cf1dd8805f9845e">LmtPrice</a><code> [get, set]</code></td></tr>
<tr class="memdesc:aef8619178c248a300cf1dd8805f9845e"><td class="mdescLeft"> </td><td class="mdescRight">The LIMIT price. Used for limit, stop-limit and relative orders. In all other cases specify zero. For relative orders with no limit price, also specify zero. <br/></td></tr>
<tr class="separator:aef8619178c248a300cf1dd8805f9845e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9950071f61b1ccc57eec6c24ab547dd0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9950071f61b1ccc57eec6c24ab547dd0"></a>
double </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#a9950071f61b1ccc57eec6c24ab547dd0">AuxPrice</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a9950071f61b1ccc57eec6c24ab547dd0"><td class="mdescLeft"> </td><td class="mdescRight">Generic field to contain the stop price for STP LMT orders, trailing amount, etc. <br/></td></tr>
<tr class="separator:a9950071f61b1ccc57eec6c24ab547dd0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6b82712a718127487631727db08f67d4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6b82712a718127487631727db08f67d4"></a>
string </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#a6b82712a718127487631727db08f67d4">Tif</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a6b82712a718127487631727db08f67d4"><td class="mdescLeft"> </td><td class="mdescRight">The time in force. Valid values are: <br/>
DAY - Valid for the day only.<br/>
GTC - Good until canceled. The order will continue to work within the system and in the marketplace until it executes or is canceled. GTC orders will be automatically be cancelled under the following conditions: If a corporate action on a security results in a stock split (forward or reverse), exchange for shares, or distribution of shares. If you do not log into your IB account for 90 days.<br/>
At the end of the calendar quarter following the current quarter. For example, an order placed during the third quarter of 2011 will be canceled at the end of the first quarter of 2012. If the last day is a non-trading day, the cancellation will occur at the close of the final trading day of that quarter. For example, if the last day of the quarter is Sunday, the orders will be cancelled on the preceding Friday.<br/>
Orders that are modified will be assigned a new “Auto Expire” date consistent with the end of the calendar quarter following the current quarter.<br/>
Orders submitted to IB that remain in force for more than one day will not be reduced for dividends. To allow adjustment to your order price on ex-dividend date, consider using a Good-Til-Date/Time (GTD) or Good-after-Time/Date (GAT) order type, or a combination of the two.<br/>
IOC - Immediate or Cancel. Any portion that is not filled as soon as it becomes available in the market is canceled.<br/>
GTD. - Good until Date. It will remain working within the system and in the marketplace until it executes or until the close of the market on the date specified<br/>
OPG - Use OPG to send a market-on-open (MOO) or limit-on-open (LOO) order.<br/>
FOK - If the entire Fill-or-Kill order does not execute as soon as it becomes available, the entire order is canceled.<br/>
DTC - Day until Canceled <br/>
. <br/></td></tr>
<tr class="separator:a6b82712a718127487631727db08f67d4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5e284c3cda344a9158aff4125d867e7e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5e284c3cda344a9158aff4125d867e7e"></a>
string </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#a5e284c3cda344a9158aff4125d867e7e">OcaGroup</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a5e284c3cda344a9158aff4125d867e7e"><td class="mdescLeft"> </td><td class="mdescRight">One-Cancels-All group identifier. <br/></td></tr>
<tr class="separator:a5e284c3cda344a9158aff4125d867e7e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3485999c42d64f3c879ec4a424bab697"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3485999c42d64f3c879ec4a424bab697"></a>
int </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#a3485999c42d64f3c879ec4a424bab697">OcaType</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a3485999c42d64f3c879ec4a424bab697"><td class="mdescLeft"> </td><td class="mdescRight">Tells how to handle remaining orders in an OCA group when one order or part of an order executes. Valid values are:<br/>
1 = Cancel all remaining orders with block.<br/>
2 = Remaining orders are proportionately reduced in size with block.<br/>
3 = Remaining orders are proportionately reduced in size with no block.<br/>
If you use a value "with block" gives your order has overfill protection. This means that only one order in the group will be routed at a time to remove the possibility of an overfill. <br/></td></tr>
<tr class="separator:a3485999c42d64f3c879ec4a424bab697"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9aa003d6c9f80b79d822a426e0fd5f5b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9aa003d6c9f80b79d822a426e0fd5f5b"></a>
string </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#a9aa003d6c9f80b79d822a426e0fd5f5b">OrderRef</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a9aa003d6c9f80b79d822a426e0fd5f5b"><td class="mdescLeft"> </td><td class="mdescRight">The order reference. Intended for institutional customers only, although all customers may use it to identify the API client that sent the order when multiple API clients are running. <br/></td></tr>
<tr class="separator:a9aa003d6c9f80b79d822a426e0fd5f5b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aaa1c4f31b9580ee0715edcd78a51cbec"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaa1c4f31b9580ee0715edcd78a51cbec"></a>
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#aaa1c4f31b9580ee0715edcd78a51cbec">Transmit</a><code> [get, set]</code></td></tr>
<tr class="memdesc:aaa1c4f31b9580ee0715edcd78a51cbec"><td class="mdescLeft"> </td><td class="mdescRight">Specifies whether the order will be transmitted by TWS. If set to false, the order will be created at TWS but will not be sent. <br/></td></tr>
<tr class="separator:aaa1c4f31b9580ee0715edcd78a51cbec"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a37c8c925a01a8a35a1dfb942afeba264"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a37c8c925a01a8a35a1dfb942afeba264"></a>
int </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#a37c8c925a01a8a35a1dfb942afeba264">ParentId</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a37c8c925a01a8a35a1dfb942afeba264"><td class="mdescLeft"> </td><td class="mdescRight">The order ID of the parent order, used for bracket and auto trailing stop orders. <br/></td></tr>
<tr class="separator:a37c8c925a01a8a35a1dfb942afeba264"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa5140c5d83ff714c0e03c3aa01bed648"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa5140c5d83ff714c0e03c3aa01bed648"></a>
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#aa5140c5d83ff714c0e03c3aa01bed648">BlockOrder</a><code> [get, set]</code></td></tr>
<tr class="memdesc:aa5140c5d83ff714c0e03c3aa01bed648"><td class="mdescLeft"> </td><td class="mdescRight">If set to true, specifies that the order is an ISE Block order. <br/></td></tr>
<tr class="separator:aa5140c5d83ff714c0e03c3aa01bed648"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae7242331ac2ff093f65c333cde2b229b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae7242331ac2ff093f65c333cde2b229b"></a>
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#ae7242331ac2ff093f65c333cde2b229b">SweepToFill</a><code> [get, set]</code></td></tr>
<tr class="memdesc:ae7242331ac2ff093f65c333cde2b229b"><td class="mdescLeft"> </td><td class="mdescRight">If set to true, specifies that the order is a Sweep-to-Fill order. <br/></td></tr>
<tr class="separator:ae7242331ac2ff093f65c333cde2b229b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a87316898d4e44f4537555f5999088457"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a87316898d4e44f4537555f5999088457"></a>
int </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#a87316898d4e44f4537555f5999088457">DisplaySize</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a87316898d4e44f4537555f5999088457"><td class="mdescLeft"> </td><td class="mdescRight">The publicly disclosed order size, used when placing Iceberg orders. <br/></td></tr>
<tr class="separator:a87316898d4e44f4537555f5999088457"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae2e7e8f4a5bae41db31bf0300c7baa48"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae2e7e8f4a5bae41db31bf0300c7baa48"></a>
int </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#ae2e7e8f4a5bae41db31bf0300c7baa48">TriggerMethod</a><code> [get, set]</code></td></tr>
<tr class="memdesc:ae2e7e8f4a5bae41db31bf0300c7baa48"><td class="mdescLeft"> </td><td class="mdescRight">Specifies how Simulated Stop, Stop-Limit and Trailing Stop orders are triggered. Valid values are:<br/>
0 - The default value. The "double bid/ask" function will be used for orders for OTC stocks and US options. All other orders will used the "last" function.<br/>
1 - use "double bid/ask" function, where stop orders are triggered based on two consecutive bid or ask prices.<br/>
2 - "last" function, where stop orders are triggered based on the last price.<br/>
3 double last function.<br/>
4 bid/ask function.<br/>
7 last or bid/ask function.<br/>
8 mid-point function.<br/>
. <br/></td></tr>
<tr class="separator:ae2e7e8f4a5bae41db31bf0300c7baa48"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a60dcca6e3c3ae6ae6e0c5f3fdffc5a4a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a60dcca6e3c3ae6ae6e0c5f3fdffc5a4a"></a>
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#a60dcca6e3c3ae6ae6e0c5f3fdffc5a4a">OutsideRth</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a60dcca6e3c3ae6ae6e0c5f3fdffc5a4a"><td class="mdescLeft"> </td><td class="mdescRight">If set to true, allows orders to also trigger or fill outside of regular trading hours. <br/></td></tr>
<tr class="separator:a60dcca6e3c3ae6ae6e0c5f3fdffc5a4a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ade4fdefe2079ea5826872b9f52e3444e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ade4fdefe2079ea5826872b9f52e3444e"></a>
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#ade4fdefe2079ea5826872b9f52e3444e">Hidden</a><code> [get, set]</code></td></tr>
<tr class="memdesc:ade4fdefe2079ea5826872b9f52e3444e"><td class="mdescLeft"> </td><td class="mdescRight">If set to true, the order will not be visible when viewing the market depth. This option only applies to orders routed to the ISLAND exchange. <br/></td></tr>
<tr class="separator:ade4fdefe2079ea5826872b9f52e3444e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a04f61266450f61c36fae22946c74a8f3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a04f61266450f61c36fae22946c74a8f3"></a>
string </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#a04f61266450f61c36fae22946c74a8f3">GoodAfterTime</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a04f61266450f61c36fae22946c74a8f3"><td class="mdescLeft"> </td><td class="mdescRight">Specifies the date and time after which the order will be active. Format: yyyymmdd hh:mm:ss {optional Timezone}. <br/></td></tr>
<tr class="separator:a04f61266450f61c36fae22946c74a8f3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a95539081751afb9980f4c6bd1655a6ba"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a95539081751afb9980f4c6bd1655a6ba"></a>
string </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#a95539081751afb9980f4c6bd1655a6ba">GoodTillDate</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a95539081751afb9980f4c6bd1655a6ba"><td class="mdescLeft"> </td><td class="mdescRight">The date and time until the order will be active. You must enter GTD as the time in force to use this string. The trade's "Good Till Date," format "YYYYMMDD hh:mm:ss (optional time zone)". <br/></td></tr>
<tr class="separator:a95539081751afb9980f4c6bd1655a6ba"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8502e61f40165a591204fcdc5e267bcb"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8502e61f40165a591204fcdc5e267bcb"></a>
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#a8502e61f40165a591204fcdc5e267bcb">OverridePercentageConstraints</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a8502e61f40165a591204fcdc5e267bcb"><td class="mdescLeft"> </td><td class="mdescRight">Overrides TWS constraints. Precautionary constraints are defined on the TWS Presets page, and help ensure tha tyour price and size order values are reasonable. Orders sent from the API are also validated against these safety constraints, and may be rejected if any constraint is violated. To override validation, set this parameter’s value to True. <br/></td></tr>
<tr class="separator:a8502e61f40165a591204fcdc5e267bcb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a33f691609c737ede0368ec9f4c5db010"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a33f691609c737ede0368ec9f4c5db010"></a>
string </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#a33f691609c737ede0368ec9f4c5db010">Rule80A</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a33f691609c737ede0368ec9f4c5db010"><td class="mdescLeft"> </td><td class="mdescRight"><ul>
<li>Individual = 'I'<br/>
Agency = 'A'<br/>
AgentOtherMember = 'W'<br/>
IndividualPTIA = 'J'<br/>
AgencyPTIA = 'U'<br/>
AgentOtherMemberPTIA = 'M'<br/>
IndividualPT = 'K'<br/>
AgencyPT = 'Y'<br/>
AgentOtherMemberPT = 'N'<br/>
</li>
</ul>
<br/></td></tr>
<tr class="separator:a33f691609c737ede0368ec9f4c5db010"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a341b1af3e9092191bb982bb6ca3ed3fe"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a341b1af3e9092191bb982bb6ca3ed3fe"></a>
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#a341b1af3e9092191bb982bb6ca3ed3fe">AllOrNone</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a341b1af3e9092191bb982bb6ca3ed3fe"><td class="mdescLeft"> </td><td class="mdescRight">Indicates whether or not all the order has to be filled on a single execution. <br/></td></tr>
<tr class="separator:a341b1af3e9092191bb982bb6ca3ed3fe"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac59d696a43439990d4ddc2fb70d1d4a0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac59d696a43439990d4ddc2fb70d1d4a0"></a>
int </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#ac59d696a43439990d4ddc2fb70d1d4a0">MinQty</a><code> [get, set]</code></td></tr>
<tr class="memdesc:ac59d696a43439990d4ddc2fb70d1d4a0"><td class="mdescLeft"> </td><td class="mdescRight">Identifies a minimum quantity order type. <br/></td></tr>
<tr class="separator:ac59d696a43439990d4ddc2fb70d1d4a0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aeb2dd82954998d65227f794da1a19b3a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aeb2dd82954998d65227f794da1a19b3a"></a>
double </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#aeb2dd82954998d65227f794da1a19b3a">PercentOffset</a><code> [get, set]</code></td></tr>
<tr class="memdesc:aeb2dd82954998d65227f794da1a19b3a"><td class="mdescLeft"> </td><td class="mdescRight">The percent offset amount for relative orders. <br/></td></tr>
<tr class="separator:aeb2dd82954998d65227f794da1a19b3a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a81df402cd3db3cc7f0fc15254d3a220a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a81df402cd3db3cc7f0fc15254d3a220a"></a>
double </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#a81df402cd3db3cc7f0fc15254d3a220a">TrailStopPrice</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a81df402cd3db3cc7f0fc15254d3a220a"><td class="mdescLeft"> </td><td class="mdescRight">Trail stop price for TRAILIMIT orders. <br/></td></tr>
<tr class="separator:a81df402cd3db3cc7f0fc15254d3a220a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab6dd5e6425dcafecaf83c03d97688b92"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#ab6dd5e6425dcafecaf83c03d97688b92">TrailingPercent</a><code> [get, set]</code></td></tr>
<tr class="memdesc:ab6dd5e6425dcafecaf83c03d97688b92"><td class="mdescLeft"> </td><td class="mdescRight">Specifies the trailing amount of a trailing stop order as a percentage. Observe the following guidelines when using the trailingPercent field:<br/>
. <a href="#ab6dd5e6425dcafecaf83c03d97688b92">More...</a><br/></td></tr>
<tr class="separator:ab6dd5e6425dcafecaf83c03d97688b92"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a15c0b93f51d0e3791a669abb9932aa1e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a15c0b93f51d0e3791a669abb9932aa1e"></a>
string </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#a15c0b93f51d0e3791a669abb9932aa1e">FaGroup</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a15c0b93f51d0e3791a669abb9932aa1e"><td class="mdescLeft"> </td><td class="mdescRight">The Financial Advisor group the trade will be allocated to. Use an empty string if not applicable. <br/></td></tr>
<tr class="separator:a15c0b93f51d0e3791a669abb9932aa1e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac03bcd06612051495ff49fe8a3bca20c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac03bcd06612051495ff49fe8a3bca20c"></a>
string </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#ac03bcd06612051495ff49fe8a3bca20c">FaProfile</a><code> [get, set]</code></td></tr>
<tr class="memdesc:ac03bcd06612051495ff49fe8a3bca20c"><td class="mdescLeft"> </td><td class="mdescRight">The Financial Advisor allocation profile the trade will be allocated to. Use an empty string if not applicable. <br/></td></tr>
<tr class="separator:ac03bcd06612051495ff49fe8a3bca20c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6d3a08135f6b8e8486250d418bf38d2b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6d3a08135f6b8e8486250d418bf38d2b"></a>
string </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#a6d3a08135f6b8e8486250d418bf38d2b">FaMethod</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a6d3a08135f6b8e8486250d418bf38d2b"><td class="mdescLeft"> </td><td class="mdescRight">The Financial Advisor allocation method the trade will be allocated to. Use an empty string if not applicable. <br/></td></tr>
<tr class="separator:a6d3a08135f6b8e8486250d418bf38d2b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab25af3fc2d87ea758ee456d6911825ee"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab25af3fc2d87ea758ee456d6911825ee"></a>
string </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#ab25af3fc2d87ea758ee456d6911825ee">FaPercentage</a><code> [get, set]</code></td></tr>
<tr class="memdesc:ab25af3fc2d87ea758ee456d6911825ee"><td class="mdescLeft"> </td><td class="mdescRight">The Financial Advisor percentage concerning the trade's allocation. Use an empty string if not applicable. <br/></td></tr>
<tr class="separator:ab25af3fc2d87ea758ee456d6911825ee"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae3ad8abc1222c1e91101e4c1b6e03eea"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae3ad8abc1222c1e91101e4c1b6e03eea"></a>
string </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#ae3ad8abc1222c1e91101e4c1b6e03eea">OpenClose</a><code> [get, set]</code></td></tr>
<tr class="memdesc:ae3ad8abc1222c1e91101e4c1b6e03eea"><td class="mdescLeft"> </td><td class="mdescRight">For institutional customers only. Available for institutional clients to determine if this order is to open or close a position. Valid values are O (open), C (close). <br/></td></tr>
<tr class="separator:ae3ad8abc1222c1e91101e4c1b6e03eea"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1ac2658c8435907cba9cd2044f245b6e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1ac2658c8435907cba9cd2044f245b6e"></a>
int </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#a1ac2658c8435907cba9cd2044f245b6e">Origin</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a1ac2658c8435907cba9cd2044f245b6e"><td class="mdescLeft"> </td><td class="mdescRight">The order's origin. Same as TWS "Origin" column. Identifies the type of customer from which the order originated. Valid values are 0 (customer), 1 (firm). <br/></td></tr>
<tr class="separator:a1ac2658c8435907cba9cd2044f245b6e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac8d2e2d8240ec305f5a02deef3808f0f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac8d2e2d8240ec305f5a02deef3808f0f"></a>
int </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#ac8d2e2d8240ec305f5a02deef3808f0f">ShortSaleSlot</a><code> [get, set]</code></td></tr>
<tr class="memdesc:ac8d2e2d8240ec305f5a02deef3808f0f"><td class="mdescLeft"> </td><td class="mdescRight"><ul>
<li>For institutions only. Valid values are: 1 (broker holds shares) or 2 (shares come from elsewhere). </li>
</ul>
<br/></td></tr>
<tr class="separator:ac8d2e2d8240ec305f5a02deef3808f0f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0e16ab90707927c67d5b35f03ae20bfd"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0e16ab90707927c67d5b35f03ae20bfd"></a>
string </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#a0e16ab90707927c67d5b35f03ae20bfd">DesignatedLocation</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a0e16ab90707927c67d5b35f03ae20bfd"><td class="mdescLeft"> </td><td class="mdescRight">Used only when shortSaleSlot is 2. For institutions only. Indicates the location where the shares to short come from. Used only when short sale slot is set to 2 (which means that the shares to short are held elsewhere and not with IB). <br/></td></tr>
<tr class="separator:a0e16ab90707927c67d5b35f03ae20bfd"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7da1a8a1d588259cecb1367adeb03d17"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7da1a8a1d588259cecb1367adeb03d17"></a>
int </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#a7da1a8a1d588259cecb1367adeb03d17">ExemptCode</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a7da1a8a1d588259cecb1367adeb03d17"><td class="mdescLeft"> </td><td class="mdescRight"><ul>
<li></li>
</ul>
<br/></td></tr>
<tr class="separator:a7da1a8a1d588259cecb1367adeb03d17"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2f17f0c79c5f62a39fb2a93672767efa"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2f17f0c79c5f62a39fb2a93672767efa"></a>
double </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#a2f17f0c79c5f62a39fb2a93672767efa">DiscretionaryAmt</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a2f17f0c79c5f62a39fb2a93672767efa"><td class="mdescLeft"> </td><td class="mdescRight">The amount off the limit price allowed for discretionary orders. <br/></td></tr>
<tr class="separator:a2f17f0c79c5f62a39fb2a93672767efa"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acf7d37ea31f6d733e9616ecadbb81a64"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acf7d37ea31f6d733e9616ecadbb81a64"></a>
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#acf7d37ea31f6d733e9616ecadbb81a64">ETradeOnly</a><code> [get, set]</code></td></tr>
<tr class="memdesc:acf7d37ea31f6d733e9616ecadbb81a64"><td class="mdescLeft"> </td><td class="mdescRight">Trade with electronic quotes. <br/></td></tr>
<tr class="separator:acf7d37ea31f6d733e9616ecadbb81a64"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af5ddbacef36efacf7c3e20bda85a09f4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af5ddbacef36efacf7c3e20bda85a09f4"></a>
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#af5ddbacef36efacf7c3e20bda85a09f4">FirmQuoteOnly</a><code> [get, set]</code></td></tr>
<tr class="memdesc:af5ddbacef36efacf7c3e20bda85a09f4"><td class="mdescLeft"> </td><td class="mdescRight">Trade with firm quotes. <br/></td></tr>
<tr class="separator:af5ddbacef36efacf7c3e20bda85a09f4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aaabbc2dc4c7caf904476f6183e0dacde"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaabbc2dc4c7caf904476f6183e0dacde"></a>
double </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#aaabbc2dc4c7caf904476f6183e0dacde">NbboPriceCap</a><code> [get, set]</code></td></tr>
<tr class="memdesc:aaabbc2dc4c7caf904476f6183e0dacde"><td class="mdescLeft"> </td><td class="mdescRight">Maximum smart order distance from the NBBO. <br/></td></tr>
<tr class="separator:aaabbc2dc4c7caf904476f6183e0dacde"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abc3bd579e5d650bf745571e5ad35a1cc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abc3bd579e5d650bf745571e5ad35a1cc"></a>
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#abc3bd579e5d650bf745571e5ad35a1cc">OptOutSmartRouting</a><code> [get, set]</code></td></tr>
<tr class="memdesc:abc3bd579e5d650bf745571e5ad35a1cc"><td class="mdescLeft"> </td><td class="mdescRight">Use to opt out of default SmartRouting for orders routed directly to ASX. This attribute defaults to false unless explicitly set to true. When set to false, orders routed directly to ASX will NOT use SmartRouting. When set to true, orders routed directly to ASX orders WILL use SmartRouting. <br/></td></tr>
<tr class="separator:abc3bd579e5d650bf745571e5ad35a1cc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2a3d0bfb84d4af23190aff8bb83d8f65"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2a3d0bfb84d4af23190aff8bb83d8f65"></a>
int </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#a2a3d0bfb84d4af23190aff8bb83d8f65">AuctionStrategy</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a2a3d0bfb84d4af23190aff8bb83d8f65"><td class="mdescLeft"> </td><td class="mdescRight"><ul>
<li>For BOX orders only. Values include: 1 - match <br/>
2 - improvement <br/>
3 - transparent <br/>
</li>
</ul>
<br/></td></tr>
<tr class="separator:a2a3d0bfb84d4af23190aff8bb83d8f65"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2813e64815fbe557245a856170dde093"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2813e64815fbe557245a856170dde093"></a>
double </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#a2813e64815fbe557245a856170dde093">StartingPrice</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a2813e64815fbe557245a856170dde093"><td class="mdescLeft"> </td><td class="mdescRight">The auction's starting price. For BOX orders only. <br/></td></tr>
<tr class="separator:a2813e64815fbe557245a856170dde093"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9466f0d1ac7b06c54f4fb811becf1766"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9466f0d1ac7b06c54f4fb811becf1766"></a>
double </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#a9466f0d1ac7b06c54f4fb811becf1766">StockRefPrice</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a9466f0d1ac7b06c54f4fb811becf1766"><td class="mdescLeft"> </td><td class="mdescRight">The stock's reference price. The reference price is used for VOL orders to compute the limit price sent to an exchange (whether or not Continuous Update is selected), and for price range monitoring. <br/></td></tr>
<tr class="separator:a9466f0d1ac7b06c54f4fb811becf1766"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8466803d0c40a49457299b39f72651fe"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8466803d0c40a49457299b39f72651fe"></a>
double </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#a8466803d0c40a49457299b39f72651fe">Delta</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a8466803d0c40a49457299b39f72651fe"><td class="mdescLeft"> </td><td class="mdescRight">The stock's Delta. For orders on BOX only. <br/></td></tr>
<tr class="separator:a8466803d0c40a49457299b39f72651fe"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a89585a9ff961eca08dc75aaace807425"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a89585a9ff961eca08dc75aaace807425"></a>
double </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#a89585a9ff961eca08dc75aaace807425">StockRangeLower</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a89585a9ff961eca08dc75aaace807425"><td class="mdescLeft"> </td><td class="mdescRight">The lower value for the acceptable underlying stock price range. For price improvement option orders on BOX and VOL orders with dynamic management. <br/></td></tr>
<tr class="separator:a89585a9ff961eca08dc75aaace807425"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad20733800e5dc40758b9d7f07dccb4ab"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad20733800e5dc40758b9d7f07dccb4ab"></a>
double </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#ad20733800e5dc40758b9d7f07dccb4ab">StockRangeUpper</a><code> [get, set]</code></td></tr>
<tr class="memdesc:ad20733800e5dc40758b9d7f07dccb4ab"><td class="mdescLeft"> </td><td class="mdescRight">The upper value for the acceptable underlying stock price range. For price improvement option orders on BOX and VOL orders with dynamic management. <br/></td></tr>
<tr class="separator:ad20733800e5dc40758b9d7f07dccb4ab"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a796bc15e52c32cb30d75d318f56111a1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a796bc15e52c32cb30d75d318f56111a1"></a>
double </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#a796bc15e52c32cb30d75d318f56111a1">Volatility</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a796bc15e52c32cb30d75d318f56111a1"><td class="mdescLeft"> </td><td class="mdescRight">The option price in volatility, as calculated by TWS' Option Analytics. This value is expressed as a percent and is used to calculate the limit price sent to the exchange. <br/></td></tr>
<tr class="separator:a796bc15e52c32cb30d75d318f56111a1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae2abfac87799f0150e4a159e39a86468"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae2abfac87799f0150e4a159e39a86468"></a>
int </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#ae2abfac87799f0150e4a159e39a86468">VolatilityType</a><code> [get, set]</code></td></tr>
<tr class="memdesc:ae2abfac87799f0150e4a159e39a86468"><td class="mdescLeft"> </td><td class="mdescRight">Values include:<br/>
1 - Daily Volatility 2 - Annual Volatility. <br/></td></tr>
<tr class="separator:ae2abfac87799f0150e4a159e39a86468"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a319e54130eab3bbe44e697444fb0ae44"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a319e54130eab3bbe44e697444fb0ae44"></a>
int </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#a319e54130eab3bbe44e697444fb0ae44">ContinuousUpdate</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a319e54130eab3bbe44e697444fb0ae44"><td class="mdescLeft"> </td><td class="mdescRight">Specifies whether TWS will automatically update the limit price of the order as the underlying price moves. VOL orders only. <br/></td></tr>
<tr class="separator:a319e54130eab3bbe44e697444fb0ae44"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aba9616a9ffdf85850ba3b65d17164e13"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aba9616a9ffdf85850ba3b65d17164e13"></a>
int </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#aba9616a9ffdf85850ba3b65d17164e13">ReferencePriceType</a><code> [get, set]</code></td></tr>
<tr class="memdesc:aba9616a9ffdf85850ba3b65d17164e13"><td class="mdescLeft"> </td><td class="mdescRight">Specifies how you want TWS to calculate the limit price for options, and for stock range price monitoring. VOL orders only. Valid values include: <br/>
1 - Average of NBBO <br/>
2 - NBB or the NBO depending on the action and right. <br/>
. <br/></td></tr>
<tr class="separator:aba9616a9ffdf85850ba3b65d17164e13"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aae3b22b5c2735e0a7dad95cf38503547"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aae3b22b5c2735e0a7dad95cf38503547"></a>
string </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#aae3b22b5c2735e0a7dad95cf38503547">DeltaNeutralOrderType</a><code> [get, set]</code></td></tr>
<tr class="memdesc:aae3b22b5c2735e0a7dad95cf38503547"><td class="mdescLeft"> </td><td class="mdescRight">Enter an order type to instruct TWS to submit a delta neutral trade on full or partial execution of the VOL order. VOL orders only. For no hedge delta order to be sent, specify NONE. <br/></td></tr>
<tr class="separator:aae3b22b5c2735e0a7dad95cf38503547"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3d57ad537fed257be53534101069a073"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3d57ad537fed257be53534101069a073"></a>
double </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#a3d57ad537fed257be53534101069a073">DeltaNeutralAuxPrice</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a3d57ad537fed257be53534101069a073"><td class="mdescLeft"> </td><td class="mdescRight">Use this field to enter a value if the value in the deltaNeutralOrderType field is an order type that requires an Aux price, such as a REL order. VOL orders only. <br/></td></tr>
<tr class="separator:a3d57ad537fed257be53534101069a073"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2a310189a6f5ebe34983390e82a3dd63"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2a310189a6f5ebe34983390e82a3dd63"></a>
int </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#a2a310189a6f5ebe34983390e82a3dd63">DeltaNeutralConId</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a2a310189a6f5ebe34983390e82a3dd63"><td class="mdescLeft"> </td><td class="mdescRight"><ul>
<li></li>
</ul>
<br/></td></tr>
<tr class="separator:a2a310189a6f5ebe34983390e82a3dd63"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab4ea4d41603b75db263bff2b5cadec42"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab4ea4d41603b75db263bff2b5cadec42"></a>
string </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#ab4ea4d41603b75db263bff2b5cadec42">DeltaNeutralSettlingFirm</a><code> [get, set]</code></td></tr>
<tr class="memdesc:ab4ea4d41603b75db263bff2b5cadec42"><td class="mdescLeft"> </td><td class="mdescRight"><ul>
<li></li>
</ul>
<br/></td></tr>
<tr class="separator:ab4ea4d41603b75db263bff2b5cadec42"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac174895a7bb9ada877a46cda046f4cc6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac174895a7bb9ada877a46cda046f4cc6"></a>
string </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#ac174895a7bb9ada877a46cda046f4cc6">DeltaNeutralClearingAccount</a><code> [get, set]</code></td></tr>
<tr class="memdesc:ac174895a7bb9ada877a46cda046f4cc6"><td class="mdescLeft"> </td><td class="mdescRight"><ul>
<li></li>
</ul>
<br/></td></tr>
<tr class="separator:ac174895a7bb9ada877a46cda046f4cc6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad3bdac995f0edeebce9ffa671bee8047"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad3bdac995f0edeebce9ffa671bee8047"></a>
string </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#ad3bdac995f0edeebce9ffa671bee8047">DeltaNeutralClearingIntent</a><code> [get, set]</code></td></tr>
<tr class="memdesc:ad3bdac995f0edeebce9ffa671bee8047"><td class="mdescLeft"> </td><td class="mdescRight"><ul>
<li></li>
</ul>
<br/></td></tr>
<tr class="separator:ad3bdac995f0edeebce9ffa671bee8047"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a776e87a2186ba2303ccdfbba877c1d69"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a776e87a2186ba2303ccdfbba877c1d69"></a>
string </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#a776e87a2186ba2303ccdfbba877c1d69">DeltaNeutralOpenClose</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a776e87a2186ba2303ccdfbba877c1d69"><td class="mdescLeft"> </td><td class="mdescRight">Specifies whether the order is an Open or a Close order and is used when the hedge involves a CFD and and the order is clearing away. <br/></td></tr>
<tr class="separator:a776e87a2186ba2303ccdfbba877c1d69"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a27089ac5e64e4c458353947a26ca5d05"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a27089ac5e64e4c458353947a26ca5d05"></a>
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#a27089ac5e64e4c458353947a26ca5d05">DeltaNeutralShortSale</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a27089ac5e64e4c458353947a26ca5d05"><td class="mdescLeft"> </td><td class="mdescRight">Used when the hedge involves a stock and indicates whether or not it is sold short. <br/></td></tr>
<tr class="separator:a27089ac5e64e4c458353947a26ca5d05"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a425efb8efde41e84a7360d283f62ada3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a425efb8efde41e84a7360d283f62ada3"></a>
int </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#a425efb8efde41e84a7360d283f62ada3">DeltaNeutralShortSaleSlot</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a425efb8efde41e84a7360d283f62ada3"><td class="mdescLeft"> </td><td class="mdescRight"><ul>
<li>Has a value of 1 (the clearing broker holds shares) or 2 (delivered from a third party). If you use 2, then you must specify a deltaNeutralDesignatedLocation. </li>
</ul>
<br/></td></tr>
<tr class="separator:a425efb8efde41e84a7360d283f62ada3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad5a16b6a6d716ec9ea089a13149f0125"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad5a16b6a6d716ec9ea089a13149f0125"></a>
string </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#ad5a16b6a6d716ec9ea089a13149f0125">DeltaNeutralDesignatedLocation</a><code> [get, set]</code></td></tr>
<tr class="memdesc:ad5a16b6a6d716ec9ea089a13149f0125"><td class="mdescLeft"> </td><td class="mdescRight"><ul>
<li>Used only when deltaNeutralShortSaleSlot = 2. </li>
</ul>
<br/></td></tr>
<tr class="separator:ad5a16b6a6d716ec9ea089a13149f0125"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab9f8823057410d2ac4d4618c201505d1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab9f8823057410d2ac4d4618c201505d1"></a>
double </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#ab9f8823057410d2ac4d4618c201505d1">BasisPoints</a><code> [get, set]</code></td></tr>
<tr class="memdesc:ab9f8823057410d2ac4d4618c201505d1"><td class="mdescLeft"> </td><td class="mdescRight"><ul>
<li>For EFP orders only. </li>
</ul>
<br/></td></tr>
<tr class="separator:ab9f8823057410d2ac4d4618c201505d1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad245c45081244220acf5a092fe82508a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad245c45081244220acf5a092fe82508a"></a>
int </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#ad245c45081244220acf5a092fe82508a">BasisPointsType</a><code> [get, set]</code></td></tr>
<tr class="memdesc:ad245c45081244220acf5a092fe82508a"><td class="mdescLeft"> </td><td class="mdescRight"><ul>
<li>For EFP orders only. </li>
</ul>
<br/></td></tr>
<tr class="separator:ad245c45081244220acf5a092fe82508a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0ffd872cdcb1cd30f873a0883d48fdd5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0ffd872cdcb1cd30f873a0883d48fdd5"></a>
int </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#a0ffd872cdcb1cd30f873a0883d48fdd5">ScaleInitLevelSize</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a0ffd872cdcb1cd30f873a0883d48fdd5"><td class="mdescLeft"> </td><td class="mdescRight">Defines the size of the first, or initial, order component. For Scale orders only. <br/></td></tr>
<tr class="separator:a0ffd872cdcb1cd30f873a0883d48fdd5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4075b5c9a3037c40afdcf0704e0a79e5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4075b5c9a3037c40afdcf0704e0a79e5"></a>
int </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#a4075b5c9a3037c40afdcf0704e0a79e5">ScaleSubsLevelSize</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a4075b5c9a3037c40afdcf0704e0a79e5"><td class="mdescLeft"> </td><td class="mdescRight">Defines the order size of the subsequent scale order components. For Scale orders only. Used in conjunction with scaleInitLevelSize(). <br/></td></tr>
<tr class="separator:a4075b5c9a3037c40afdcf0704e0a79e5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af5c12edbfadd2d73d7fee5ec718b576e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af5c12edbfadd2d73d7fee5ec718b576e"></a>
double </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#af5c12edbfadd2d73d7fee5ec718b576e">ScalePriceIncrement</a><code> [get, set]</code></td></tr>
<tr class="memdesc:af5c12edbfadd2d73d7fee5ec718b576e"><td class="mdescLeft"> </td><td class="mdescRight">Defines the price increment between scale components. For Scale orders only. This value is compulsory. <br/></td></tr>
<tr class="separator:af5c12edbfadd2d73d7fee5ec718b576e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6b625be303fc4dd3b25fd40f0653fa74"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6b625be303fc4dd3b25fd40f0653fa74"></a>
double </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#a6b625be303fc4dd3b25fd40f0653fa74">ScalePriceAdjustValue</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a6b625be303fc4dd3b25fd40f0653fa74"><td class="mdescLeft"> </td><td class="mdescRight"><ul>
<li>For extended Scale orders. </li>
</ul>
<br/></td></tr>
<tr class="separator:a6b625be303fc4dd3b25fd40f0653fa74"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abc56bff487d4c29621f099bea83d31a3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abc56bff487d4c29621f099bea83d31a3"></a>
int </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#abc56bff487d4c29621f099bea83d31a3">ScalePriceAdjustInterval</a><code> [get, set]</code></td></tr>
<tr class="memdesc:abc56bff487d4c29621f099bea83d31a3"><td class="mdescLeft"> </td><td class="mdescRight"><ul>
<li>For extended Scale orders. </li>
</ul>
<br/></td></tr>
<tr class="separator:abc56bff487d4c29621f099bea83d31a3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9b9549a20a1708cfeef45c9b85b6738e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9b9549a20a1708cfeef45c9b85b6738e"></a>
double </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#a9b9549a20a1708cfeef45c9b85b6738e">ScaleProfitOffset</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a9b9549a20a1708cfeef45c9b85b6738e"><td class="mdescLeft"> </td><td class="mdescRight"><ul>
<li>For extended scale orders. </li>
</ul>
<br/></td></tr>
<tr class="separator:a9b9549a20a1708cfeef45c9b85b6738e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aea423db1d4d8e5c097cb01bc64ca02d4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aea423db1d4d8e5c097cb01bc64ca02d4"></a>
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#aea423db1d4d8e5c097cb01bc64ca02d4">ScaleAutoReset</a><code> [get, set]</code></td></tr>
<tr class="memdesc:aea423db1d4d8e5c097cb01bc64ca02d4"><td class="mdescLeft"> </td><td class="mdescRight"><ul>
<li>For extended scale orders. </li>
</ul>
<br/></td></tr>
<tr class="separator:aea423db1d4d8e5c097cb01bc64ca02d4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab2721e2e88aa3c830861a6cec872b54d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab2721e2e88aa3c830861a6cec872b54d"></a>
int </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#ab2721e2e88aa3c830861a6cec872b54d">ScaleInitPosition</a><code> [get, set]</code></td></tr>
<tr class="memdesc:ab2721e2e88aa3c830861a6cec872b54d"><td class="mdescLeft"> </td><td class="mdescRight"><ul>
<li>For extended scale orders. </li>
</ul>
<br/></td></tr>
<tr class="separator:ab2721e2e88aa3c830861a6cec872b54d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a33c7a08fbc7ecf1ba33b9e4f27876c17"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a33c7a08fbc7ecf1ba33b9e4f27876c17"></a>
int </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#a33c7a08fbc7ecf1ba33b9e4f27876c17">ScaleInitFillQty</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a33c7a08fbc7ecf1ba33b9e4f27876c17"><td class="mdescLeft"> </td><td class="mdescRight"><ul>
<li>For extended scale orders. </li>
</ul>
<br/></td></tr>
<tr class="separator:a33c7a08fbc7ecf1ba33b9e4f27876c17"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad2926dec2ed4a0632cc5c833a102c6a0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad2926dec2ed4a0632cc5c833a102c6a0"></a>
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#ad2926dec2ed4a0632cc5c833a102c6a0">ScaleRandomPercent</a><code> [get, set]</code></td></tr>
<tr class="memdesc:ad2926dec2ed4a0632cc5c833a102c6a0"><td class="mdescLeft"> </td><td class="mdescRight"><ul>
<li>For extended scale orders. </li>
</ul>
<br/></td></tr>
<tr class="separator:ad2926dec2ed4a0632cc5c833a102c6a0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acf21737b3a18bb54deed8e4aac4aef8a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acf21737b3a18bb54deed8e4aac4aef8a"></a>
string </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#acf21737b3a18bb54deed8e4aac4aef8a">HedgeType</a><code> [get, set]</code></td></tr>
<tr class="memdesc:acf21737b3a18bb54deed8e4aac4aef8a"><td class="mdescLeft"> </td><td class="mdescRight">For hedge orders. Possible values include:<br/>
D - delta <br/>
B - beta <br/>
F - FX <br/>
P - Pair <br/>
. <br/></td></tr>
<tr class="separator:acf21737b3a18bb54deed8e4aac4aef8a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3e6e42d546bd1b5fb96d13762cafeb25"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3e6e42d546bd1b5fb96d13762cafeb25"></a>
string </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#a3e6e42d546bd1b5fb96d13762cafeb25">HedgeParam</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a3e6e42d546bd1b5fb96d13762cafeb25"><td class="mdescLeft"> </td><td class="mdescRight"><ul>
<li>Beta = x for Beta hedge orders, ratio = y for Pair hedge order </li>
</ul>
<br/></td></tr>
<tr class="separator:a3e6e42d546bd1b5fb96d13762cafeb25"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8edb7e614aa530a58c647d8d273b1d8b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8edb7e614aa530a58c647d8d273b1d8b"></a>
string </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#a8edb7e614aa530a58c647d8d273b1d8b">Account</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a8edb7e614aa530a58c647d8d273b1d8b"><td class="mdescLeft"> </td><td class="mdescRight">The account the trade will be allocated to. <br/></td></tr>
<tr class="separator:a8edb7e614aa530a58c647d8d273b1d8b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae69fb7d5893045e5f3f434a665363fe1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae69fb7d5893045e5f3f434a665363fe1"></a>
string </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#ae69fb7d5893045e5f3f434a665363fe1">SettlingFirm</a><code> [get, set]</code></td></tr>
<tr class="memdesc:ae69fb7d5893045e5f3f434a665363fe1"><td class="mdescLeft"> </td><td class="mdescRight"><ul>
<li>Institutions only. Indicates the firm which will settle the trade. </li>
</ul>
<br/></td></tr>
<tr class="separator:ae69fb7d5893045e5f3f434a665363fe1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae6fa7e0ab92926dcf520c21c9a3a320a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae6fa7e0ab92926dcf520c21c9a3a320a"></a>
string </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#ae6fa7e0ab92926dcf520c21c9a3a320a">ClearingAccount</a><code> [get, set]</code></td></tr>
<tr class="memdesc:ae6fa7e0ab92926dcf520c21c9a3a320a"><td class="mdescLeft"> </td><td class="mdescRight">Specifies the true beneficiary of the order. For IBExecution customers. This value is required for FUT/FOP orders for reporting to the exchange. <br/></td></tr>
<tr class="separator:ae6fa7e0ab92926dcf520c21c9a3a320a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a09ae26e89e4324b0c2c64732ef1a1aea"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a09ae26e89e4324b0c2c64732ef1a1aea"></a>
string </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#a09ae26e89e4324b0c2c64732ef1a1aea">ClearingIntent</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a09ae26e89e4324b0c2c64732ef1a1aea"><td class="mdescLeft"> </td><td class="mdescRight">For exeuction-only clients to know where do they want their shares to be cleared at. Valid values are: IB, Away, and PTA (post trade allocation). <br/></td></tr>
<tr class="separator:a09ae26e89e4324b0c2c64732ef1a1aea"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a10f99918316ed4096736fff066c21192"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a10f99918316ed4096736fff066c21192"></a>
string </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#a10f99918316ed4096736fff066c21192">AlgoStrategy</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a10f99918316ed4096736fff066c21192"><td class="mdescLeft"> </td><td class="mdescRight">The algorithm strategy. As of API verion 9.6, the following algorithms are supported:<br/>
ArrivalPx - Arrival Price <br/>
DarkIce - Dark Ice <br/>
PctVol - Percentage of Volume <br/>
Twap - TWAP (Time Weighted Average Price) <br/>
Vwap - VWAP (Volume Weighted Average Price) <br/>
For more information about IB's API algorithms, refer to <a href="https://www.interactivebrokers.com/en/software/api/apiguide/tables/ibalgo_parameters.htm">https://www.interactivebrokers.com/en/software/api/apiguide/tables/ibalgo_parameters.htm</a>. <br/></td></tr>
<tr class="separator:a10f99918316ed4096736fff066c21192"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a407a5371e7d074d5dfeb5922ecbc88b3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a407a5371e7d074d5dfeb5922ecbc88b3"></a>
List< <a class="el" href="classIBApi_1_1TagValue.html">TagValue</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#a407a5371e7d074d5dfeb5922ecbc88b3">AlgoParams</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a407a5371e7d074d5dfeb5922ecbc88b3"><td class="mdescLeft"> </td><td class="mdescRight">The list of parameters for the IB algorithm. For more information about IB's API algorithms, refer to <a href="https://www.interactivebrokers.com/en/software/api/apiguide/tables/ibalgo_parameters.htm">https://www.interactivebrokers.com/en/software/api/apiguide/tables/ibalgo_parameters.htm</a>. <br/></td></tr>
<tr class="separator:a407a5371e7d074d5dfeb5922ecbc88b3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a657f43100729808a833b9c01adeeb165"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a657f43100729808a833b9c01adeeb165"></a>
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#a657f43100729808a833b9c01adeeb165">WhatIf</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a657f43100729808a833b9c01adeeb165"><td class="mdescLeft"> </td><td class="mdescRight">Allows to retrieve the commissions and margin information. When placing an order with this attribute set to true, the order will not be placed as such. Instead it will used to request the commissions and margin information that would result from this order. <br/></td></tr>
<tr class="separator:a657f43100729808a833b9c01adeeb165"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a59dee48ed680cf82980165495d9f2ecc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a59dee48ed680cf82980165495d9f2ecc"></a>
string </td><td class="memItemRight" valign="bottom"><b>AlgoId</b><code> [get, set]</code></td></tr>
<tr class="separator:a59dee48ed680cf82980165495d9f2ecc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a030448fae6b7a3874ad64d89f66c213b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a030448fae6b7a3874ad64d89f66c213b"></a>
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#a030448fae6b7a3874ad64d89f66c213b">NotHeld</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a030448fae6b7a3874ad64d89f66c213b"><td class="mdescLeft"> </td><td class="mdescRight">Orders routed to IBDARK are tagged as “post only” and are held in IB's order book, where incoming SmartRouted orders from other IB customers are eligible to trade against them. For IBDARK orders only. <br/></td></tr>
<tr class="separator:a030448fae6b7a3874ad64d89f66c213b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a839106698ec5bb1192a22e4e1debdf28"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a839106698ec5bb1192a22e4e1debdf28"></a>
List< <a class="el" href="classIBApi_1_1TagValue.html">TagValue</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#a839106698ec5bb1192a22e4e1debdf28">SmartComboRoutingParams</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a839106698ec5bb1192a22e4e1debdf28"><td class="mdescLeft"> </td><td class="mdescRight">Parameters for combo routing. For more information, refer to <a href="https://www.interactivebrokers.com/en/software/api/apiguide/tables/smart_combo_routing.htm">https://www.interactivebrokers.com/en/software/api/apiguide/tables/smart_combo_routing.htm</a>. <br/></td></tr>
<tr class="separator:a839106698ec5bb1192a22e4e1debdf28"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a24ec268b8cda927b039dbd2ea4db4355"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a24ec268b8cda927b039dbd2ea4db4355"></a>
List< <a class="el" href="classIBApi_1_1OrderComboLeg.html">OrderComboLeg</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classIBApi_1_1Order.html#a24ec268b8cda927b039dbd2ea4db4355">OrderComboLegs</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a24ec268b8cda927b039dbd2ea4db4355"><td class="mdescLeft"> </td><td class="mdescRight">The attributes for all legs within a combo order. <br/></td></tr>
<tr class="separator:a24ec268b8cda927b039dbd2ea4db4355"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a83f6142af0b975ae26c85573d0daee2e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a83f6142af0b975ae26c85573d0daee2e"></a>
List< <a class="el" href="classIBApi_1_1TagValue.html">TagValue</a> > </td><td class="memItemRight" valign="bottom"><b>OrderMiscOptions</b><code> [get, set]</code></td></tr>
<tr class="separator:a83f6142af0b975ae26c85573d0daee2e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abe1d0ee78a40a4a2ee5ad5840a4573ba"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abe1d0ee78a40a4a2ee5ad5840a4573ba"></a>
string </td><td class="memItemRight" valign="bottom"><b>ActiveStartTime</b><code> [get, set]</code></td></tr>
<tr class="separator:abe1d0ee78a40a4a2ee5ad5840a4573ba"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a91804df69eb74b1761953987c0eb76b8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a91804df69eb74b1761953987c0eb76b8"></a>
string </td><td class="memItemRight" valign="bottom"><b>ActiveStopTime</b><code> [get, set]</code></td></tr>
<tr class="separator:a91804df69eb74b1761953987c0eb76b8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a990b002ff7c4deb6d1ed04b0ecffbe1c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a990b002ff7c4deb6d1ed04b0ecffbe1c"></a>
string </td><td class="memItemRight" valign="bottom"><b>ScaleTable</b><code> [get, set]</code></td></tr>
<tr class="separator:a990b002ff7c4deb6d1ed04b0ecffbe1c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af9e98b530e0229b5e5c3807f445f02ce"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af9e98b530e0229b5e5c3807f445f02ce"></a>
bool </td><td class="memItemRight" valign="bottom"><b>RandomizeSize</b><code> [get, set]</code></td></tr>
<tr class="separator:af9e98b530e0229b5e5c3807f445f02ce"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae065252f125f59ef38eef98e41437d91"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae065252f125f59ef38eef98e41437d91"></a>
bool </td><td class="memItemRight" valign="bottom"><b>RandomizePrice</b><code> [get, set]</code></td></tr>
<tr class="separator:ae065252f125f59ef38eef98e41437d91"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The order's description. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classIBApi_1_1Contract.html" title="class describing an instrument's definition ">Contract</a>, <a class="el" href="classIBApi_1_1OrderComboLeg.html" title="Allows to specify a price on an order's leg. ">OrderComboLeg</a>, <a class="el" href="classIBApi_1_1OrderState.html" title="Provides an active order's current state. ">OrderState</a> </dd></dl>
</div><h2 class="groupheader">Property Documentation</h2>
<a class="anchor" id="ab6dd5e6425dcafecaf83c03d97688b92"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">double TrailingPercent</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Specifies the trailing amount of a trailing stop order as a percentage. Observe the following guidelines when using the trailingPercent field:<br/>
. </p>
<ul>
<li>This field is mutually exclusive with the existing trailing amount. That is, the API client can send one or the other but not both.<br/>
</li>
<li>This field is read AFTER the stop price (barrier price) as follows: deltaNeutralAuxPrice stopPrice, trailingPercent, scale order attributes<br/>
</li>
<li>The field will also be sent to the API in the openOrder message if the API client version is >= 56. It is sent after the stopPrice field as follows: stopPrice, trailingPct, basisPoint<br/>
</li>
</ul>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>C:/Dev/IBAPI_Github/documentation/tws-api/source/csharpclient/client/Order.cs</li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.4-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="namespaceIBApi.html">IBApi</a></li><li class="navelem"><a class="el" href="classIBApi_1_1Order.html">Order</a></li>
<li class="footer">Copyright IB 2015 </li>
</ul>
</div>
</body>
</html>