Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set sl/tp #18

Open
bit-storm opened this issue Jun 1, 2023 · 2 comments
Open

set sl/tp #18

bit-storm opened this issue Jun 1, 2023 · 2 comments

Comments

@bit-storm
Copy link

How to trade futures in:

POST /openApi/swap/v2/trade/order

Should I specify the stop loss and target when placing the order?

@AliMovahednia
Copy link

price=0.520357115980036&quantity=4&recvWindow=5000&side=SELL&symbol=XRP-USDT&timeInForce=PostOnly&timestamp=1686705626355&type=LIMIT

this is my request for V2 API, and you know what is the server response? "no position to close"!!
and I just want to short the asset, and if I want to long the asset I can change side= BUY, and it will work perfectly!
it's so weird! 0-0

@bingx-support
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants