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

41 lines
1.2 KiB

using Binance.TradeRobot.Model.Base;
using System;
namespace Binance.TradeRobot.Model.Dto
{
public class RobotResponse
{
public long Id { get; set; }
public DateTime CreateTime { get; set; }
public Enums.TradePolicy TradePolicy { get; set; }
/// <summary>
/// 运行时长(s)
/// </summary>
public long RunningTime { get; set; } = 0;
public Enums.RobotState State { get; set; }
public string Symbol { get; set; }
public Enums.BusinessType BusinessType { get; set; }
public Enums.Exchange ExchangeId { get; set; }
public virtual string ExecuteLogKey { get { return $"Execute-{ExchangeId}-{TradePolicy}-{Symbol}"; } }
public virtual string KLineKey { get { return $"KLine-{ExchangeId}-{Symbol}"; } }
public SymbolInfoResponse SymbolInfo { get; set; }
/// <summary>
/// 机器人账户对象
/// </summary>
public RobotAccountResponse RobotAccount { get; set; }
/// <summary>
/// 机器人绑定的交易所APIKey对象
/// </summary>
public SimpleExchangeAPIKeyResponse ExchangeAPIKey { get; set; }
}
}