You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
using System.ComponentModel;
|
|
|
|
|
|
|
|
namespace Binance.TradeRobot.Model.Base
|
|
|
|
{
|
|
|
|
public class Enums
|
|
|
|
{
|
|
|
|
#region 基本
|
|
|
|
public enum BusinessType
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// 现货
|
|
|
|
/// </summary>
|
|
|
|
Spot = 0,
|
|
|
|
/// <summary>
|
|
|
|
/// 合约
|
|
|
|
/// </summary>
|
|
|
|
Prep = 1
|
|
|
|
}
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
#region 用户资金
|
|
|
|
/// <summary>
|
|
|
|
/// 资金变更类型 追投=0,提现=1,转移=2
|
|
|
|
/// </summary>
|
|
|
|
public enum CapitalChangeType
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// 增加资金
|
|
|
|
/// </summary>
|
|
|
|
Add = 0,
|
|
|
|
/// <summary>
|
|
|
|
/// 减少资金
|
|
|
|
/// </summary>
|
|
|
|
Reduce = 1,
|
|
|
|
/// <summary>
|
|
|
|
/// 转移资金
|
|
|
|
/// </summary>
|
|
|
|
Transfer = 2
|
|
|
|
}
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 资金方向 转入=0,转出=1
|
|
|
|
/// </summary>
|
|
|
|
public enum FundDirection
|
|
|
|
{
|
|
|
|
In = 0,
|
|
|
|
Out = 1
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
#region 机器人
|
|
|
|
/// <summary>
|
|
|
|
/// 机器人状态 Stop=0,Runing=1
|
|
|
|
/// </summary>
|
|
|
|
public enum RobotStatus
|
|
|
|
{
|
|
|
|
Stop = 0,
|
|
|
|
Runing = 1
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
}
|