Files
managing-apps/src/Managing.Application.Abstractions/Models/UserSettingsDto.cs
cryptooda aa3b06bbe4 Enhance user settings management by adding new properties and updating related functionality
This commit introduces additional user settings properties, including TrendStrongAgreementThreshold, SignalAgreementThreshold, AllowSignalTrendOverride, and DefaultExchange, to the User entity and associated DTOs. The UserController and UserService are updated to handle these new settings, allowing users to customize their trading configurations more effectively. Database migrations are also included to ensure proper schema updates for the new fields.
2025-12-30 06:48:08 +07:00

23 lines
811 B
C#

using static Managing.Common.Enums;
namespace Managing.Application.Abstractions.Models;
public class UserSettingsDto
{
// Trading Configuration
public decimal? LowEthAmountAlert { get; set; }
public bool? EnableAutoswap { get; set; }
public decimal? AutoswapAmount { get; set; }
public int? MaxWaitingTimeForPositionToGetFilledSeconds { get; set; }
public decimal? MaxTxnGasFeePerPosition { get; set; }
public bool? IsGmxEnabled { get; set; }
// Indicator Combo Configuration
public Confidence? MinimumConfidence { get; set; }
public decimal? TrendStrongAgreementThreshold { get; set; }
public decimal? SignalAgreementThreshold { get; set; }
public bool? AllowSignalTrendOverride { get; set; }
public TradingExchanges? DefaultExchange { get; set; }
}