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