tastytrade / tastytrade-api-js

Javascript sdk for the tastytrade api
MIT License
67 stars 36 forks source link

Unable to subscribe to futures options greeks #40

Open geofflittle opened 5 months ago

geofflittle commented 5 months ago
          I tested it and can get `equity option` quotes and `future options` quotes.

          interestingly, I can get option quotes for `SPX`, but not for `SPX` itself.

          `greeks` seem not to work

Originally posted by @zlymeda in https://github.com/tastytrade/tastytrade-api-js/issues/7#issuecomment-2051106604

dmoss18 commented 5 months ago

I'll check on the greeks. We might only offer the quote market event for api users.

As for SPX, our offering only covers nasdaq basic equities, not indices.

syaffa12 commented 2 months ago

can you share code on how you're pulling options on futures quotes? I'm able to pull options on equities but not futures? TIA!

dmoss18 commented 2 months ago

@syaffa12 I just updated the README with an example for you. Lmk if works for you. https://github.com/tastytrade/tastytrade-api-js?tab=readme-ov-file#market-data

syaffa12 commented 2 months ago

Thank you very much. Unfortunately I'm not much of a coder and it looks like I need to pay for @dxfeed https://github.com/dxFeed/dxLink/blob/main/dxlink-javascript/dxlink-api/README.md anyways, so I'm going to use Barchart instead for my analysis purposes. Interestingly, I was able to pull options for stocks quite easily. It's proving more complicated for options on futures.

On Thu, Jul 11, 2024 at 2:52 PM Devin Moss @.***> wrote:

@syaffa12 https://github.com/syaffa12 I just updated the README with an example for you. Lmk if works for you.

https://github.com/tastytrade/tastytrade-api-js?tab=readme-ov-file#market-data

— Reply to this email directly, view it on GitHub https://github.com/tastytrade/tastytrade-api-js/issues/40#issuecomment-2223666317, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEDZO5MEE7SZCDX5FWC2PJTZL3H6VAVCNFSM6AAAAABGEPRO6GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRTGY3DMMZRG4 . You are receiving this because you were mentioned.Message ID: @.***>

-- @.***