using System.ComponentModel;
namespace Binance.TradeRobot.Model.Base
{
public class Enums
{
#region 用户资金
///
/// 资金变更类型 追投=0,提现=1,转移=2
///
public enum CapitalChangeType
{
///
/// 增加资金
///
Add = 0,
///
/// 减少资金
///
Reduce = 1,
///
/// 转移资金
///
Transfer = 2
}
///
/// 资金方向 转入=0,转出=1
///
public enum FundDirection
{
In = 0,
Out = 1
}
#endregion
#region 机器人
///
/// 业务类型 币币=0,逐仓杠杆=1,U本位合约=2
///
public enum BusinessType
{
///
/// 币币
///
Spot = 0,
///
/// 逐仓杠杆
///
Spot_Margin = 1,
///
/// U本位合约
///
UPrep = 2
}
///
/// 机器人状态 Stop=0,Runing=1
///
public enum RobotState
{
Stop = 0,
Runing = 1
}
///
/// 交易策略 动量趋势v2=0,动量趋势v21=1,金字塔=11
///
public enum TradePolicy
{
动量趋势v2 = 0,
动量趋势v21 = 1,
金字塔 = 11
}
///
/// 执行模式 Both=0,OnlyBuy=1,OnlySell=2
///
public enum ExecutionMode
{
Both = 0, OnlyBuy = 1, OnlySell = 2
}
#endregion
#region 交易所
///
/// Binance=0, Gate.io=1
///
public enum Exchange
{
///
/// 币安
///
Binance = 0,
///
/// 芝麻开门
///
Gate_IO = 1
}
///
/// 借币状态 Loading=0 returned=1
///
public enum LoanState
{
Loaning, retured
}
///
/// 订单状态
///
public enum OrderState
{
Created
}
///
/// 交易方向 Buy=0,Sell=1
///
public enum TradeDirection
{
Buy, Sell
}
///
/// 信号周期 1m=0,3m=1,5m=2,15m=3,30m=4,1h=5,2h=6,4h=7,6h=8,8h=9,12h=10,1d=11,3d=12,1w=13,1M=14
///
public enum SignalPeriod
{
_1m,
_3m,
_5m,
_15m,
_30m,
_1h,
_2h,
_4h,
_6h,
_8h,
_12h,
_1d,
_3d,
_1w,
_1M
}
#endregion
}
}