Files
BitGet_API/Bitget_Server/Api/Dtos/SignalDtos.cs
2026-04-20 20:27:42 +09:00

38 lines
1.1 KiB
C#

using Bitget_Server.Domain.Enums;
namespace Bitget_Server.Api.Dtos;
public record SignalConditionsDto(
bool 구름떼상향돌파,
bool 구름떼하향돌파,
bool 영호조건식_상향돌파,
bool 영호조건식_하향돌파);
public record UpdateSignalConditionsRequest(
bool 구름떼상향돌파,
bool 구름떼하향돌파,
bool 영호조건식_상향돌파,
bool 영호조건식_하향돌파);
public record CheckedMarketsDto(IEnumerable<string> Markets, IEnumerable<string> Intervals);
public record UpdateCheckedMarketsRequest(IEnumerable<string> Markets, IEnumerable<string> Intervals);
public record SignalListResponse(
IEnumerable<SignalSummaryDto> LongUp,
IEnumerable<SignalSummaryDto> ShortDown,
IEnumerable<SignalSummaryDto> LongDown,
IEnumerable<SignalSummaryDto> ShortUp,
int LongCount,
int ShortCount);
public record SignalSummaryDto(
string MarketName,
string Description,
DateTime SignalStart,
double Price,
double Rate,
double IndicatorPrice,
double IndicatorRate,
MCandleTimeType MCandleTimeType);