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

38 lines
976 B

3 years ago
using Binance.TradeRobot.Model.Base;
using FreeSql.DataAnnotations;
namespace Binance.TradeRobot.Model.Db
{
3 years ago
[Table(Name = "pyramidpolicy", DisableSyncStructure = true)]
3 years ago
public partial class PyramidPolicy
{
3 years ago
[Column(DbType = "bigint", IsPrimary = true)]
3 years ago
public long Id { get; set; }
3 years ago
[Column(MapType = typeof(int), DbType = "int")]
3 years ago
public Enums.SignalPeriod SignalPeriod { get; set; }
3 years ago
[Column(DbType = "bigint")]
3 years ago
public long RobotId { get; set; }
/// <summary>
/// �ܸ˱���(1-125����)
/// </summary>
3 years ago
[Column(DbType = "int")]
public int Leverage { get; set; } = 1;
/// <summary>
/// ��λ
/// </summary>
[Column(DbType = "decimal(18,8)")]
public decimal Position { get; set; } = 0M;
/// <summary>
/// ������
/// </summary>
3 years ago
[Column(DbType = "int")]
public int Pyramid { get; set; } = 0;
3 years ago
}
}