Lean
$LEAN_TAG$
InteractiveBrokersOrderProperties.cs
1
/*
2
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
3
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
4
*
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
* you may not use this file except in compliance with the License.
7
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
8
*
9
* Unless required by applicable law or agreed to in writing, software
10
* distributed under the License is distributed on an "AS IS" BASIS,
11
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
* See the License for the specific language governing permissions and
13
* limitations under the License.
14
*/
15
16
using
QuantConnect
.
Interfaces
;
17
18
namespace
QuantConnect.Orders
19
{
20
/// <summary>
21
/// Contains additional properties and settings for an order submitted to Interactive Brokers
22
/// </summary>
23
public
class
InteractiveBrokersOrderProperties
:
OrderProperties
24
{
25
/// <summary>
26
/// The linked account for which to submit the order (only used by Financial Advisors)
27
/// </summary>
28
/// <remarks>Mutually exclusive with FaProfile and FaGroup</remarks>
29
public
string
Account
{
get
;
set
; }
30
31
/// <summary>
32
/// The account group for the order (only used by Financial Advisors)
33
/// </summary>
34
/// <remarks>Mutually exclusive with FaProfile and Account</remarks>
35
public
string
FaGroup
{
get
;
set
; }
36
37
/// <summary>
38
/// The allocation method for the account group order (only used by Financial Advisors)
39
/// Supported allocation methods are: Equal, NetLiq, AvailableEquity, PctChange
40
/// </summary>
41
public
string
FaMethod
{
get
;
set
; }
42
43
/// <summary>
44
/// The percentage for the percent change method (only used by Financial Advisors)
45
/// </summary>
46
public
int
FaPercentage
{
get
;
set
; }
47
48
/// <summary>
49
/// The allocation profile to be used for the order (only used by Financial Advisors)
50
/// </summary>
51
/// <remarks>Mutually exclusive with FaGroup and Account</remarks>
52
public
string
FaProfile
{
get
;
set
; }
53
54
/// <summary>
55
/// If set to true, allows orders to also trigger or fill outside of regular trading hours.
56
/// </summary>
57
public
bool
OutsideRegularTradingHours
{
get
;
set
; }
58
59
/// <summary>
60
/// Returns a new instance clone of this object
61
/// </summary>
62
public
override
IOrderProperties
Clone
()
63
{
64
return
(
InteractiveBrokersOrderProperties
)MemberwiseClone();
65
}
66
}
67
}
Common
Orders
InteractiveBrokersOrderProperties.cs
Generated by
1.8.17