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

46 lines
1.1 KiB

using FreeSql.DataAnnotations;
namespace Binance.TradeRobot.Model.Db
{
[Table(DisableSyncStructure = true)]
public partial class RobotAccount
{
[Column(IsPrimary = true)]
public long Id { get; set; }
/// <summary>
/// 平仓次数
/// </summary>
public long ClosePositionCount { get; set; } = 0;
public long RobotId { get; set; }
/// <summary>
/// 现货/杠杆持仓金额
/// </summary>
[Column(DbType = "decimal(18,8)")]
public decimal SoptCurrentcyAmount { get; set; } = 0.0M;
/// <summary>
/// 现货/杠杆持仓数量
/// </summary>
[Column(DbType = "decimal(18,8)")]
public decimal SpotCurrencyQuantity { get; set; } = 0.0M;
/// <summary>
/// 总收益
/// </summary>
[Column(DbType = "decimal(18,8)")]
public decimal TotalProfit { get; set; } = 0.0M;
/// <summary>
/// 盈利次数
/// </summary>
public long WinCount { get; set; } = 0;
}
}