Job finished
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Specification
to perform the remote operation control of our copying system
Example
POST http://url.com/parameters.php
{
AccountNumber : '43335',
Brokername : 'fx',
Balance : 1000,
Equity : 1100,
PL : 50,
NumberOfActiveTrades : 0,
DailyGoalProfitMaxReached : True/False,
DailyGoalProfitMinReached : True/False,
Phase : 'Suspended' or 'Copying',
Demo : True/False,
Name : 'First Name and Last Name of the account owner',
}
Response from our server :
{
ChannelToUse: 'Channel12',
Suspended : True/False //account blocked copy should be suspended,
DailyGoalProfitMax : 6 // if zero not activated,
DailyGoalProfitMin : 6 // if zero not activated,
UpdateParametersFrequency : 1 //in minutes,
HardStopRequested : True/False //copy should be suspended but do close existing trades,
SoftStopRequested : True/False //copy should be suspended but do not close existing trades
}
History
POST http://url.com/history.php
{
AccountNumber : '43335',
Tickets : {
{
OrderClosePrice : '1.2544',
OrderCloseTime: Date/Time,
OrderComment: 'test',
OrderCommission : -1.12,
OrderLots: '1.0',
OrderMagicNumber : '74',
OrderOpenPrice: '1.2355',
OrderOpenTime: Date/Time,
OrderProfit:50,
OrderStopLoss: '1.2000',
OrderSwap: -2.05,
OrderSymbol: 'EUR/USD',
OrderTakeProfit : '1.2544',
OrderTicket: '1234567',
OrderType : 'should be SELL BUY WITHDRAWALS DEPOSITS'
},
...
}
}