tedchou12 / webull

Unofficial APIs for Webull.
MIT License
597 stars 183 forks source link

Reorganized, added new function, altered 2 existing functions #244

Closed jpobeid closed 3 years ago

jpobeid commented 3 years ago
  1. I reorganized the code to better adhere to the subdivisions so it can be easier accessed by future developers (this included making a subdivision at the top for "Actions related to account". Previously, all added functions were under the "Actions related to options" and had nothing to do with options
  2. Made a new function is_logged_in() to quickly return True or False and is useful to check before running pre-scheduled scripts if sometime has elapsed after a previous one
  3. Changed the name of function "get_dividends()" to "get_dividends_incoming()" since this will return the future payments declared but not yet paid. Already paid past dividends can be pulled from the get_activities() function
  4. Added an option to get_watchlist() to directly return a list of symbols of items on the watchlist for quick reference