tedchou12 / webull

Unofficial APIs for Webull.
MIT License
601 stars 185 forks source link

added options chart data endpoint & function to retrieve bars #191

Closed boonyeow closed 3 years ago

boonyeow commented 3 years ago

To get a list of options available for a stock, you can simply invoke the option_chain function. You can retrieve derivativeIds for specific options by calling e.g. option_chain[0]["put"]["tickerId"]

**data provided is not real-time and has a 15 min delay

zenhorace commented 3 years ago

Thanks for coding this up! FYI, if you're subscribed to the OPRA realtime feed and authenticated when making the call, there shouldn't be a delay. And the response includes a delay field, if it is delayed

tedchou12 commented 3 years ago

Thank you! Looks good. Let me test tmr, I will merge it!