Skip to content

Commit

Permalink
Merge pull request #56 from mhdi-khosravi/master
Browse files Browse the repository at this point in the history
Add futures Update order
  • Loading branch information
zhouaini528 authored Mar 5, 2024
2 parents 5110d83 + 8166f6e commit 60a1a9d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/Api/Futures/Trade.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,16 @@ public function postOrder(array $data = [], string $version = Version::V1)
$this->data = array_merge($this->data, $data);
return $this->exec();
}
/*
*PUT /fapi/v1/order (HMAC SHA256)
*/
public function putOrder(array $data = [], string $version = Version::V1)
{
$this->type = 'PUT';
$this->path = '/fapi/' . $version . '/order';
$this->data = array_merge($this->data, $data);
return $this->exec();
}
/*
*POST /fapi/v1/order/test (HMAC SHA256)
*/
Expand Down

0 comments on commit 60a1a9d

Please sign in to comment.