Skip to content

Commit

Permalink
add client order delete
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouaini528 committed Nov 22, 2023
1 parent 2928111 commit b264172
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/Api/Spot/Orders.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,4 +109,15 @@ public function getClientOrder(array $data=[]){

return $this->exec();
}

/**
* DELETE /api/v1/order/client-order/{clientOid}
* */
public function deleteClientOrder(array $data=[]){
$this->type='DELETE';
$this->path='/api/v1/order/client-order/'.$data['clientOid'];
$this->data=$data;

return $this->exec();
}
}

0 comments on commit b264172

Please sign in to comment.