boyan-soubachov / tastyworks_api

An unofficial, reverse-engineered Python API for tastyworks.
Apache License 2.0
208 stars 79 forks source link

bad dough url? #50

Open lfender6445 opened 4 years ago

lfender6445 commented 4 years ago

Describe the bug

attempting to use https://github.com/boyan-soubachov/tastyworks_api/blob/master/tastyworks/dough/stocks.py#L6, receiving error

an error occured -> Cannot connect to host trade.dough.com:443 ssl:default [nodename nor servname provided, or not known]

are we sure trade.dough.com is valid after the shift in branding to tastyworks?

bandwiches commented 3 years ago

Are all dough urls responding this way or just this one? I think dough may finally be gone

lfender6445 commented 3 years ago

yes i believe so

bandwiches commented 3 years ago

I think this is the endpoint you're looking for https://api.tastyworks.com/symbols/search/.'

You should still be able to pass symbols as a parameter, but you'll also be required to supply authorization headers now.