Skip to content

Commit

Permalink
Add futures TestOrder
Browse files Browse the repository at this point in the history
  • Loading branch information
mhdi-khosravi committed Jan 29, 2024
1 parent 21dbb55 commit 7f0576a
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();
}
/*
*POST /fapi/v1/order/test (HMAC SHA256)
*/
public function postTestOrder(array $data = [], string $version = Version::V1)
{
$this->type = 'POST';
$this->path = '/fapi/' . $version . '/order/test';
$this->data = array_merge($this->data, $data);
return $this->exec();
}

/*
*POST /fapi/v1/batchOrders (HMAC SHA256)
Expand Down

0 comments on commit 7f0576a

Please sign in to comment.