mirror of
https://github.com/vdemydiuk/mtapi.git
synced 2026-08-13 02:38:07 +00:00
Issue #143: Added function TesterStop [MT5]
This commit is contained in:
@@ -73,6 +73,7 @@ namespace MtApi5TestClient
|
||||
public DelegateCommand ResetLastErrorCommand { get; private set; }
|
||||
public DelegateCommand PrintCommand { get; private set; }
|
||||
public DelegateCommand AlertCommand { get; private set; }
|
||||
public DelegateCommand TesterStopCommand { get; private set; }
|
||||
|
||||
public DelegateCommand iCustomCommand { get; private set; }
|
||||
|
||||
@@ -382,6 +383,7 @@ namespace MtApi5TestClient
|
||||
AlertCommand = new DelegateCommand(ExecuteAlert);
|
||||
GetLastErrorCommand = new DelegateCommand(ExecuteGetLastError);
|
||||
ResetLastErrorCommand = new DelegateCommand(ExecuteResetLastError);
|
||||
TesterStopCommand = new DelegateCommand(ExecuteTesterStop);
|
||||
|
||||
iCustomCommand = new DelegateCommand(ExecuteICustom);
|
||||
|
||||
@@ -1169,6 +1171,12 @@ namespace MtApi5TestClient
|
||||
AddLog("ResetLastError: executed.");
|
||||
}
|
||||
|
||||
private void ExecuteTesterStop(object obj)
|
||||
{
|
||||
_mtApiClient.TesterStop();
|
||||
AddLog("TesterStop: executed.");
|
||||
}
|
||||
|
||||
private async void ExecuteICustom(object o)
|
||||
{
|
||||
const string symbol = "EURUSD";
|
||||
|
||||
Reference in New Issue
Block a user