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

Conditional Order Rejected: No Reason Given #235

Open
kasahh opened this issue Aug 5, 2024 · 0 comments
Open

Conditional Order Rejected: No Reason Given #235

kasahh opened this issue Aug 5, 2024 · 0 comments

Comments

@kasahh
Copy link

kasahh commented Aug 5, 2024

I am trying to send in a conditional market order using websocket. The order is sent successfully and you can even see it from the Bybit testnet dashboard but sometimes the order disappears after sometime and when I check the order history, it says it was rejected but it doesn't give a reason why it was rejected.

This is what the order message I sent via websocket looks like:

{'header': {'X-BAPI-TIMESTAMP': '1722885966243', 'X-BAPI-RECV-WINDOW': '8000'}, 'op': 'order.create', 'args': [{'category': 'linear', 'orderType': 'Market', 'positionIdx': 1, 'price': '0.28928', 'qty': '353.0', 'side': 'Buy', 'symbol': 'PONKEUSDT', 'triggerPrice': '0.28928', 'triggerBy': 'MarkPrice', 'triggerDirection': 1, 'reduceOnly': False, 'closeOnTrigger': False}]}

Thanks in advance.

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

1 participant