Closed bobnino closed 1 year ago
I just found the close position in the trade class below is an example
try {
$result=$okex->trade()->postClosePosition([
'instId'=>'DOT-USDT',
'mgnMode'=>'isolated',
]);
print_r($result);
}catch (\Exception $e){
print_r(json_decode($e->getMessage(),true));
}
can you please include the close position method to the api.