mirror of
https://github.com/StockSharp/StockSharp.git
synced 2026-12-06 01:22:11 +00:00
79 lines
1.9 KiB
C#
79 lines
1.9 KiB
C#
#region S# License
|
|
/******************************************************************************************
|
|
NOTICE!!! This program and source code is owned and licensed by
|
|
StockSharp, LLC, www.stocksharp.com
|
|
Viewing or use of this code requires your acceptance of the license
|
|
agreement found at https://github.com/StockSharp/StockSharp/blob/master/LICENSE
|
|
Removal of this comment is a violation of the license agreement.
|
|
|
|
Project: StockSharp.Messages.Messages
|
|
File: OrderTypes.cs
|
|
Created: 2015, 11, 11, 2:32 PM
|
|
|
|
Copyright 2010 by StockSharp, LLC
|
|
*******************************************************************************************/
|
|
#endregion S# License
|
|
namespace StockSharp.Messages
|
|
{
|
|
using System;
|
|
using System.Runtime.Serialization;
|
|
|
|
using StockSharp.Localization;
|
|
|
|
/// <summary>
|
|
/// Order types.
|
|
/// </summary>
|
|
[DataContract]
|
|
[Serializable]
|
|
public enum OrderTypes
|
|
{
|
|
/// <summary>
|
|
/// Limit.
|
|
/// </summary>
|
|
[EnumMember]
|
|
[EnumDisplayNameLoc(LocalizedStrings.Str1353Key)]
|
|
Limit,
|
|
|
|
/// <summary>
|
|
/// Market.
|
|
/// </summary>
|
|
[EnumMember]
|
|
[EnumDisplayNameLoc(LocalizedStrings.Str241Key)]
|
|
Market,
|
|
|
|
/// <summary>
|
|
/// Conditional (stop-loss, take-profit).
|
|
/// </summary>
|
|
[EnumMember]
|
|
[EnumDisplayNameLoc(LocalizedStrings.Str242Key)]
|
|
Conditional,
|
|
|
|
/// <summary>
|
|
/// The order for REPO.
|
|
/// </summary>
|
|
[EnumMember]
|
|
[EnumDisplayNameLoc(LocalizedStrings.Str243Key)]
|
|
Repo,
|
|
|
|
/// <summary>
|
|
/// The order for modified REPO (REPO-M).
|
|
/// </summary>
|
|
[EnumMember]
|
|
[EnumDisplayNameLoc(LocalizedStrings.Str244Key)]
|
|
ExtRepo,
|
|
|
|
/// <summary>
|
|
/// Order for OTC trade.
|
|
/// </summary>
|
|
[EnumMember]
|
|
[EnumDisplayNameLoc(LocalizedStrings.Str245Key)]
|
|
Rps,
|
|
|
|
/// <summary>
|
|
/// Execution order to settlement contracts (such as options).
|
|
/// </summary>
|
|
[EnumMember]
|
|
[EnumDisplayNameLoc(LocalizedStrings.Str246Key)]
|
|
Execute,
|
|
}
|
|
} |