-
-
Notifications
You must be signed in to change notification settings - Fork 181
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
cancel_order for Options #398
Comments
bumping this, cancel order isn't working for me either and i've tried a lot to fix it. Same as you, it says it works but it doesn't. |
Where are you pulling 713120601031575552 and 82JSC93IK3RQ16PC6MMCUEM929 from exactly? Also can I see your code for placing an option order as well |
-- Code to place the order, many of these are either derived or user input -- I get those OrderId and ComboId from the Working orders output - |
I mean when you place the order. How are you pulling the optionId exactly? This is important in the final cancellation. |
If you have github I can just look at the entire class would be easier |
can't speak for the other guy, but would it be possible for you to share an example of how to properly cancel the option order? Because on my end it says the order should be cancelled but when I check it isn't. |
He's cancelling it correctly. We need to see all the data points.
…On Mon, May 22, 2023, 9:42 PM DouGrimaldi ***@***.***> wrote:
I mean when you place the order. How are you pulling the optionId exactly?
This is important in the final cancellation.
can't speak for the other guy, but would it be possible for you to share
an example of how to properly cancel the option order? Because on my end it
says the order should be cancelled but when I check it isn't.
—
Reply to this email directly, view it on GitHub
<#398 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AATIQHYGJRCV7TYUTRY5FI3XHQPYZANCNFSM6AAAAAAYHH6KEA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
cancel_order is not working for cancelling an option order. Am I missing something here.
I retrieved the Working order and then tried using both in canel order - 'orderId': 713120601031575552, 'comboId': '82JSC93IK3RQ16PC6MMCUEM929' - none helped.
I verified in Webull App - the order is still active.
--- CODE snippet ---
for order in open_orders:
print(order['orders'][0]['orderId'],"-",order['orders'][0]['statusCode'])
print(wb.cancel_order('713120601031575552'))
print(wb.cancel_order('82JSC93IK3RQ16PC6MMCUEM929'))
--- OUTPUT ---
713120601031575552 - Working
False
False
The text was updated successfully, but these errors were encountered: