Switch to Hedge mode
william
Last Update 2 tahun yang lalu
"I faced and error which is as follow. ERROR : local variable 'order' referenced before assignment ."You got this message and don't understand it.
95% of case it mean that you are not using "Hedge mode" on position. Go to your bybit account> derivatives
click on the clogh and then you have change position mode to "Hedge Mode"