Refactor user settings management to remove IsGmxEnabled and DefaultExchange from updatable fields, introducing GmxSlippage instead. Update UserController, UserService, and related DTOs to reflect these changes, ensuring proper handling of user settings. Adjust database schema and migrations to accommodate the new GmxSlippage property, enhancing user customization options for trading configurations.
This commit is contained in:
@@ -32,6 +32,7 @@ public class User
|
||||
[Id(12)] public int? MaxWaitingTimeForPositionToGetFilledSeconds { get; set; }
|
||||
[Id(13)] public decimal? MaxTxnGasFeePerPosition { get; set; }
|
||||
[Id(14)] public bool IsGmxEnabled { get; set; } = false;
|
||||
[Id(20)] public decimal? GmxSlippage { get; set; }
|
||||
|
||||
// User Settings - Indicator Combo Configuration
|
||||
[Id(15)] public Confidence? MinimumConfidence { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user