-
getOptionRef API is giving empty results
Hello, I’m stuck at 1.5 of the Fundamentals Capstone project.
I’m writing a query to the getOptionRef APIuniqueOpts:$string distinct trade
option_id to get a list of symbols as indicated.
However I’m getting an empty response:
refServiceHandle(getOptionRef;uniqueOpts)
option_id inst_id opt_type strike expiry
----------------------------------------However, when I do this query with integers to the other integral I’m getting kind of result.
uniqueOpts2: distinct trade option_idrefServiceHandle(`getInstRef;uniqueOpts2)
inst_id inst_syb inst_name
——————————
1 AAPL “Apple”
2 MSFT “Microsoft”How should I proceed in order to get some response on the getOption API?
Best regards,
Juan Pedro García
Log in to reply.