Closed OperationalFallacy closed 11 months ago
Hi @OperationalFallacy The api quote token has different entitlements than the platform quote tokens. Currently the api quote token is only entitled to equity quotes. We are working on adding equity options and other instrument types. Please note that using the api to fetch a platform quote token is a violation of our api terms and conditions, so be careful when testing so that you don't get put on delayed quotes.
Thank you, I figured the difference. I'll continue development and testing with a delayed stream/quotes for now.
@dmoss18 So I'm I understanding correctly that at the moment we can't use the streamer token the API gives us to stream futures options data?
@josebalius That's correct. Just equities quotes at this time.
Is there anywhere I can subscribe (maybe an issue or something) to know when this is available? This is a blocker for me :/
@josebalius I can open an issue here and you can subscribe to notifications. I'll come back with updates when equity options and other instrument quotes are added.
Thank you! ❤
@josebalius Here is the issue https://github.com/tastytrade/tastytrade-api-js/issues/7.
@OperationalFallacy From where are you streaming delayed data?
I want to subscribe to market data on options symbols and get the latest events, even when markets are closed. I'm looking for a snapshot of data rather than a real-time stream.
The tasty platform always shows the latest Greeks, quotes, etc, for the option symbols.
Looking at wss://tasty-demo-ws.dxfeed.com/delayed events in the browser, I see the usual FEED_DATA even when the options market is closed.
The API client behaves differently:
this.streamer.addSubscription( '.PLTR231117C15', {subscriptionTypes: [MarketDataSubscriptionType.Trade], channelId: 1})
would not produce any datathis.streamer.addSubscription( 'AAPL', {subscriptionTypes: [MarketDataSubscriptionType.Quote], channelId: 1})
shows data arrivingI couldn't find anything obvious in the API client implementation that may prevent receiving data outside of the window for opened markets.