diff --git a/src/Api/Futures/Trade.php b/src/Api/Futures/Trade.php index 0d968ce..401e3bc 100644 --- a/src/Api/Futures/Trade.php +++ b/src/Api/Futures/Trade.php @@ -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) */