boyan-soubachov / tastyworks_api

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

Adding a Greeks class #78

Open perigvennetier opened 3 years ago

perigvennetier commented 3 years ago

Problem addressed

Greeks class missing to hold all the greeks for a specific option symbol.

Solution

Checklist

def-mycroft commented 3 years ago

is this required to retrieve the greeks or is there currently a way to achieve this functionality? trying to decide if I need to wait for this pull request to be finished or if I can do something else.

perigvennetier commented 3 years ago

is this required to retrieve the greeks or is there currently a way to achieve this functionality? trying to decide if I need to wait for this pull request to be finished or if I can do something else.

You can use the streamer to pull greeks data but there is currently no class to hold the Greeks results. You'll have to manage the data in your implementation.