Problem with get_market_data for future data #243
Perceptron42
started this conversation in
General
Replies: 2 comments 1 reply
-
|
Hi, is there a reason you can't just always use the leading slash? |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Yes i would prefer to use leading slash since that's how the API and your library works at other end points. May be Tastytrade know about this issue and i don't see the end point in their API docs /market-data/ I will use "get_market_data_by_type" which works without any issues. Thanks. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Thanks @Graeme22 for implementing these new end points.
get_market_data_by_type works fine with futures:
Although I am having problems with futures using get_market_data
First is the issue of using a leading slash for symbol or not
And if we not use slash then also there are some errors
So the problem might be that single-symbol future endpoint is returning the raw object at teh top level instead of wrapping it under a "Data" key
It might be the issue from tastytrade side rather than the code.
Beta Was this translation helpful? Give feedback.
All reactions