zhouaini528 / binance-php

Binance API Like the official document interface, Support for arbitrary extension.
MIT License
107 stars 43 forks source link

Any function to set position side to hedge mode? #49

Open younisch96 opened 1 year ago

younisch96 commented 1 year ago

there is already a function to get the dual position sidegetPositionSideDual but it only reads.is there any other function to turn the hedge mood on?i have also tried the post query in same function but it only returns and not changes the dual positionsidepublic function getPositionSideDual(array $data=[]){ $this->type='POST'; $this->path='/fapi/'.$this->version.'/positionSide/dual'; $this->data=array_merge($this->data,$data); return $this->exec(); }