How to use the webull.endpoints function in webull

To help you get started, we’ve selected a few webull examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github tedchou12 / webull / webull / webull.py View on Github external
def __init__(self):
        self._session = requests.session()
        self._headers = {
            'Accept': '*/*',
            'Accept-Encoding': 'gzip, deflate',
            'Content-Type': 'application/json',
        }
        self._access_token = ''
        self._account_id = ''
        self._refresh_token = ''
        self._token_expire = ''
        self._trade_token = ''
        self._uuid = ''
        self._did = self._get_did()
        self._urls = endpoints.urls()

webull

The unofficial python interface for the WeBull API

MIT
Latest version published 2 years ago

Package Health Score

48 / 100
Full package analysis