Class OrderRequestParameters
public abstract class OrderRequestParameters : TradingRequestParameters, IConnectionBindedObject, ILoggable, ICurrentAccount, ICloneable, IXElementSerialization
Constructors
Declaration
protected OrderRequestParameters()
Declaration
protected OrderRequestParameters(IOrder order)
Parameters
Type |
Name |
Description |
TradingPlatform.BusinessLayer.IOrder |
order |
|
Declaration
protected OrderRequestParameters(OrderRequestParameters origin)
Parameters
Properties
Declaration
public Account Account { get; set; }
Property Value
Declaration
public IList<SettingItem> AdditionalParameters { get; set; }
Property Value
Type |
Description |
IList<TradingPlatform.BusinessLayer.SettingItem> |
|
Declaration
public string Comment { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public override string ConnectionId { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Declaration
public DateTime ExpirationTime { get; set; }
Property Value
Type |
Description |
DateTime |
|
Declaration
public string GroupId { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public override string Message { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Declaration
public OrderType OrderType { get; }
Property Value
Type |
Description |
TradingPlatform.BusinessLayer.OrderType |
|
Declaration
public string OrderTypeId { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public string PositionId { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public double Price { get; set; }
Property Value
Type |
Description |
System.Double |
|
Declaration
public double Quantity { get; set; }
Property Value
Type |
Description |
System.Double |
|
Declaration
public string QuantityDefinitionSettingName { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public Side Side { get; set; }
Property Value
Type |
Description |
TradingPlatform.BusinessLayer.Side |
|
Slippage
Declaration
public int Slippage { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
public SlTpHolder StopLoss { get; set; }
Property Value
Type |
Description |
TradingPlatform.BusinessLayer.SlTpHolder |
|
Declaration
public List<SlTpHolder> StopLossItems { get; }
Property Value
Type |
Description |
List<TradingPlatform.BusinessLayer.SlTpHolder> |
|
Declaration
public Symbol Symbol { get; set; }
Property Value
Declaration
public string SymbolId { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public SlTpHolder TakeProfit { get; set; }
Property Value
Type |
Description |
TradingPlatform.BusinessLayer.SlTpHolder |
|
Declaration
public List<SlTpHolder> TakeProfitItems { get; }
Property Value
Type |
Description |
List<TradingPlatform.BusinessLayer.SlTpHolder> |
|
Declaration
public TimeInForce TimeInForce { get; set; }
Property Value
Type |
Description |
TradingPlatform.BusinessLayer.TimeInForce |
|
Declaration
public double Total { get; set; }
Property Value
Type |
Description |
System.Double |
|
Declaration
public double TrailOffset { get; set; }
Property Value
Type |
Description |
System.Double |
|
Declaration
public double TriggerPrice { get; set; }
Property Value
Type |
Description |
System.Double |
|
Methods
Declaration
public abstract object Clone()
Returns
Type |
Description |
System.Object |
|
Declaration
public void FromXElement(XElement element, DeserializationInfo deserializationInfo)
Parameters
Type |
Name |
Description |
XElement |
element |
|
TradingPlatform.BusinessLayer.Serialization.DeserializationInfo |
deserializationInfo |
|
Declaration
protected override Account GetAccount()
Returns
Overrides
Declaration
public XElement ToXElement()
Returns
Type |
Description |
XElement |
|
Declaration
public void UpdateFrom(OrderRequestParameters origin)
Parameters
Implements
ICloneable