Class OrderRequestParameters
public abstract class OrderRequestParameters : TradingRequestParameters
Constructors
Declaration
protected OrderRequestParameters()
Declaration
protected OrderRequestParameters(IOrder order)
Parameters
Type |
Name |
Description |
IOrder |
order |
|
Declaration
protected OrderRequestParameters(OrderRequestParameters origin)
Parameters
Properties
Declaration
public Account Account { get; set; }
Property Value
Declaration
public string AccountId { get; set; }
Property Value
Declaration
public IList<SettingItem> AdditionalParameters { get; set; }
Property Value
Declaration
public string Comment { get; set; }
Property Value
Declaration
public override string ConnectionId { get; }
Property Value
Overrides
Declaration
public DateTime ExpirationTime { get; set; }
Property Value
Declaration
public string GroupId { get; set; }
Property Value
Declaration
public override string Message { get; }
Property Value
Overrides
Declaration
public OrderType OrderType { get; }
Property Value
Declaration
public string OrderTypeId { get; set; }
Property Value
Declaration
public string PositionId { get; set; }
Property Value
Declaration
public double Price { get; set; }
Property Value
Declaration
public double Quantity { get; set; }
Property Value
Declaration
public string QuantityDefinitionSettingName { get; set; }
Property Value
Declaration
public Side Side { get; set; }
Property Value
Slippage
Declaration
public int Slippage { get; set; }
Property Value
Declaration
public SlTpHolder StopLoss { get; set; }
Property Value
Declaration
public List<SlTpHolder> StopLossItems { get; }
Property Value
Declaration
public Symbol Symbol { get; set; }
Property Value
Declaration
public string SymbolId { get; set; }
Property Value
Declaration
public SlTpHolder TakeProfit { get; set; }
Property Value
Declaration
public List<SlTpHolder> TakeProfitItems { get; }
Property Value
Declaration
public TimeInForce TimeInForce { get; set; }
Property Value
Declaration
public double Total { get; set; }
Property Value
Declaration
public double TrailOffset { get; set; }
Property Value
Declaration
public double TriggerPrice { get; set; }
Property Value
Methods
Declaration
public void ApplyValuesFrom(OrderRequestParameters other)
Parameters
Creates a new object that is a copy of the current instance.
Declaration
public abstract object Clone()
Returns
Type |
Description |
object |
A new object that is a copy of this instance.
|
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
object |
obj |
The object to compare with the current object.
|
Returns
Type |
Description |
bool |
true if the specified object is equal to the current object; otherwise, false.
|
Overrides
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(OrderRequestParameters other)
Parameters
Returns
Type |
Description |
bool |
true if the current object is equal to the other parameter; otherwise, false.
|
Declaration
public void FromXElement(XElement element, DeserializationInfo deserializationInfo)
Parameters
Declaration
protected override Account GetAccount()
Returns
Overrides
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
Type |
Description |
int |
A hash code for the current object.
|
Overrides
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type |
Description |
string |
A string that represents the current object.
|
Overrides
Declaration
public XElement ToXElement()
Returns
Declaration
public void UpdateFrom(OrderRequestParameters origin)
Parameters