mirror of
https://github.com/JKorf/CryptoExchange.Net
synced 2025-06-07 16:06:15 +00:00
74 lines
1.4 KiB
C#
74 lines
1.4 KiB
C#
namespace CryptoExchange.Net.CommonObjects
|
|
{
|
|
/// <summary>
|
|
/// Order type
|
|
/// </summary>
|
|
public enum CommonOrderType
|
|
{
|
|
/// <summary>
|
|
/// Limit type
|
|
/// </summary>
|
|
Limit,
|
|
/// <summary>
|
|
/// Market type
|
|
/// </summary>
|
|
Market,
|
|
/// <summary>
|
|
/// Other order type
|
|
/// </summary>
|
|
Other
|
|
}
|
|
|
|
/// <summary>
|
|
/// Order side
|
|
/// </summary>
|
|
public enum CommonOrderSide
|
|
{
|
|
/// <summary>
|
|
/// Buy order
|
|
/// </summary>
|
|
Buy,
|
|
/// <summary>
|
|
/// Sell order
|
|
/// </summary>
|
|
Sell
|
|
}
|
|
/// <summary>
|
|
/// Order status
|
|
/// </summary>
|
|
public enum CommonOrderStatus
|
|
{
|
|
/// <summary>
|
|
/// placed and not fully filled order
|
|
/// </summary>
|
|
Active,
|
|
/// <summary>
|
|
/// canceled order
|
|
/// </summary>
|
|
Canceled,
|
|
/// <summary>
|
|
/// filled order
|
|
/// </summary>
|
|
Filled
|
|
}
|
|
|
|
/// <summary>
|
|
/// Position side
|
|
/// </summary>
|
|
public enum CommonPositionSide
|
|
{
|
|
/// <summary>
|
|
/// Long position
|
|
/// </summary>
|
|
Long,
|
|
/// <summary>
|
|
/// Short position
|
|
/// </summary>
|
|
Short,
|
|
/// <summary>
|
|
/// Both
|
|
/// </summary>
|
|
Both
|
|
}
|
|
}
|