|
@@ -155,11 +155,11 @@ class Index extends controller
|
|
|
$send = ['orders'=>$order,'from'=>strtotime($openResult['TimeSetup'])-1,'to'=>strtotime($closeResult['TimeDone'])+1,'login'=>$closeResult['Login'],'deals'=>$getDeals];
|
|
$send = ['orders'=>$order,'from'=>strtotime($openResult['TimeSetup'])-1,'to'=>strtotime($closeResult['TimeDone'])+1,'login'=>$closeResult['Login'],'deals'=>$getDeals];
|
|
|
|
|
|
|
|
$data = [
|
|
$data = [
|
|
|
- 'OPEN_PRICE'=>$openResult["PriceCurrent"],
|
|
|
|
|
- 'OPEN_TIME'=>$openResult["TimeSetup"],
|
|
|
|
|
- 'CLOSE_TIME'=>$closeResult['TimeDone'],
|
|
|
|
|
- 'CLOSE_PRICE'=> $closeResult['PriceCurrent'],
|
|
|
|
|
- 'LOGIN'=>$closeResult['Login'],
|
|
|
|
|
|
|
+ 'OPEN_PRICE' => $openResult["PriceCurrent"],
|
|
|
|
|
+ 'OPEN_TIME' => $openResult["TimeSetup"],
|
|
|
|
|
+ 'CLOSE_TIME' => $closeResult['TimeDone'],
|
|
|
|
|
+ 'CLOSE_PRICE' => $closeResult['PriceCurrent'],
|
|
|
|
|
+ 'LOGIN' => $closeResult['Login'],
|
|
|
'TICKET' => $closeResult['PositionID'],
|
|
'TICKET' => $closeResult['PositionID'],
|
|
|
'SYMBOL' => $closeResult['Symbol'],
|
|
'SYMBOL' => $closeResult['Symbol'],
|
|
|
'VOLUME' => $closeResult['VolumeInitial'],
|
|
'VOLUME' => $closeResult['VolumeInitial'],
|