tastyware / tastytrade

An unofficial, sync/async Python SDK for Tastytrade!
https://tastyworks-api.rtfd.io
MIT License
126 stars 43 forks source link

List nested options chain missing requirements error #115

Closed mcelia2324 closed 6 months ago

mcelia2324 commented 12 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 12 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 11 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!