tastyware / tastytrade

An unofficial Python SDK for Tastytrade!
MIT License
98 stars 33 forks source link

List nested options chain missing requirements error #115

Closed mcelia2324 closed 1 month ago

mcelia2324 commented 7 months ago

pydantic.error_wrappers.ValidationError: 1 validation error for NestedOptionChain put-streamer-symbol field required (type=value_error.missing)

This was working yesterday but now for any ticker I am receiving the above error, seems put-streamer-symbol is the issue, was this because it used to return "put_streamer_symbol" and now the dashes might be causing an issue?

Can you see if you can replicate?

Thank you

mcelia2324 commented 7 months ago

I see your _dasherize function is used to handle this case but I am not sure if it is either not working properly or if it is something else altogether.

Graeme22 commented 6 months ago

Hi, can you post the code that's not working for you and the symbol that you're fetching the chain for? Thanks!