Activate or deactivate Hedge-Mode
In this section, we will see how to activate or deactivate the Hedge Mode of your API! First, we must verify that we connected our APIs correctly:
Here we have to enter the section 'Binance perpetual futures API' - 'Trade' - 'Change Position Mode (TRADE)':
We will write 'True' in the space provided and check 'Send'.
If everything is correct, we should receive status '200 OK'.
This confirmation would be enough, but if we want to verify that the change has been made correctly, we can see it here:
'Binance perpetual futures API' - 'Trade' - 'Get Current Position Mode (USER_DATA)', and click on the 'Send' option.
We must receive 'Status 200 OK' and the message: 'dualSidePosition': true.
We may now be able to operate in Hedge Mode without any problem!
If we want to deactivate it, we only have to write the word 'false' where it is indicated in the image and press the 'send' key:
To verify it, we can follow the same steps as before:
We must receive 'Status 200 OK' and this message: 'dualSidePosition': false.
Tutorial
Disclaimer:
The information provided in this guide is for general informational purposes only. We do not make any representations or warranties, express or implied, about the completeness, accuracy, reliability, suitability, or availability of the website https://www.postman.com/.
Therefore, any reliance on such information is strictly at your own risk.
Zignaly doesn't provide customer service for https://www.postman.com/. Get in touch with their support team here if you need assistance.
Zignaly will not be liable for any direct, indirect, incidental, or consequential loss or damage from this tool.