79291628

Date: 2024-12-18 15:31:23
Score: 5.5
Natty: 5.5
Report link

Sorry if this is not an answer, but I wanted to ask for help. I am trying to do this:

option_chain = ib.reqSecDefOptParams(
1, underlying_symbol, '', underlying_security_type, conId)

But I'm getting the error TypeError: IB.reqSecDefOptParams() takes 5 positional arguments but 6 were given. Why does it recognize 6 arguments?

Reasons:
  • Blacklisted phrase (1): not an answer
  • Blacklisted phrase (1): I am trying to
  • RegEx Blacklisted phrase (1): I'm getting the error
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Keith