You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got the optionId straight from the tickerId:
wb.get_options_by_strike_and_expire_date(stock = 'SPY',expireDate='2023-06-23', strike = '437',direction="call")
output:
('place_option_order failed', 500, '')
The text was updated successfully, but these errors were encountered:
I have tried paper and real account. I am able to get option data, but not able to execute any orders.
This is what I tried and what I get.
wb.place_order_option(optionId='1039339466', action='BUY', orderType='MKT', enforce='DAY', quant='1')
I got the optionId straight from the tickerId:
wb.get_options_by_strike_and_expire_date(stock = 'SPY',expireDate='2023-06-23', strike = '437',direction="call")
output:
('place_option_order failed', 500, '')
The text was updated successfully, but these errors were encountered: