feat(Core): update DTOs and shared models
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Threading.Tasks;
|
||||
using FinlyticCore.Models.Trades;
|
||||
|
||||
namespace FinlyticCore.Models.Auth;
|
||||
|
||||
/// <summary>
|
||||
/// Strongly typed SignalR client interface for real-time WebSocket/SSE streaming.
|
||||
/// </summary>
|
||||
public interface ITradeClient
|
||||
{
|
||||
Task OnTradeProposed(TradeProposalDto proposal);
|
||||
Task OnTradeUpdated(TradeHourlyUpdateDto update);
|
||||
Task OnTradeClosed(string tradeId, decimal exitPrice, string reason);
|
||||
Task OnNewsReceived(object newsItem);
|
||||
}
|
||||
Reference in New Issue
Block a user