币安量化交易
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.

37 lines
976 B

using Binance.TradeRobot.Model.Base;
using FreeSql.DataAnnotations;
namespace Binance.TradeRobot.Model.Db
{
[Table(Name = "pyramidpolicy", DisableSyncStructure = true)]
public partial class PyramidPolicy
{
[Column(DbType = "bigint", IsPrimary = true)]
public long Id { get; set; }
[Column(MapType = typeof(int), DbType = "int")]
public Enums.SignalPeriod SignalPeriod { get; set; }
[Column(DbType = "bigint")]
public long RobotId { get; set; }
/// <summary>
/// 杠杆倍数(1-125整数)
/// </summary>
[Column(DbType = "int")]
public int Leverage { get; set; } = 1;
/// <summary>
/// 仓位
/// </summary>
[Column(DbType = "decimal(18,8)")]
public decimal Position { get; set; } = 0M;
/// <summary>
/// 金字塔
/// </summary>
[Column(DbType = "int")]
public int Pyramid { get; set; } = 0;
}
}