Refactor code structure for improved readability and maintainability

This commit is contained in:
2026-08-05 10:05:20 +02:00
parent 61f1e59964
commit f96ed670ca
239 changed files with 23858 additions and 730 deletions
+19
View File
@@ -0,0 +1,19 @@
namespace TradingBot.Models;
public class Trade
{
public Guid Id { get; set; } = Guid.NewGuid();
public string Symbol { get; set; } = string.Empty;
public TradeType Type { get; set; }
public decimal Price { get; set; }
public decimal Amount { get; set; }
public DateTime Timestamp { get; set; }
public string Strategy { get; set; } = string.Empty;
public bool IsBot { get; set; }
}
public enum TradeType
{
Buy,
Sell
}