Open stephkre4 opened 1 year ago
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, '')
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, '')