mirror of
https://github.com/vdemydiuk/mtapi.git
synced 2026-08-15 11:48:09 +00:00
Refactored MtApiService: command will be executed in first expert will be invoked by quote tick
This commit is contained in:
@@ -1,15 +1,8 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace MTApiService
|
||||
namespace MTApiService
|
||||
{
|
||||
public interface ICommandManager
|
||||
{
|
||||
void EnqueueCommand(MtCommand command);
|
||||
MtCommand DequeueCommand();
|
||||
|
||||
void OnCommandExecuted(MtExpert expert, MtCommand command, MtResponse response);
|
||||
void EnqueueCommandTask(MtCommandTask task);
|
||||
MtCommandTask DequeueCommandTask();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user