16 lines
430 B
C#
16 lines
430 B
C#
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
using FinlyticCore.Dtos.Bot;
|
|
using FinlyticCore.Dtos.Trading;
|
|
|
|
namespace FinlyticBot.Services.Execution;
|
|
|
|
public interface IBotOrderExecutor
|
|
{
|
|
Task<BotTradeOrderDto?> ExecuteProposalAsync(
|
|
TradeProposalDto proposal,
|
|
BotExecutionVenue? preferredVenue = null,
|
|
decimal? customQuantity = null,
|
|
CancellationToken cancellationToken = default);
|
|
}
|