alpha-xone / xbbg

An intuitive Bloomberg API
https://xbbg.readthedocs.io/
Apache License 2.0
246 stars 52 forks source link

Added function for alternative authentication. #27

Closed anxl2008 closed 3 years ago

anxl2008 commented 3 years ago

Added an alt_connect() function to support different authentication methods to connect to blpapi. If a user is simply connecting with desktop api (the default method), then there will be no need to call alt_connect(). If a user is using other authentication method (Sever API/ anything else), then user can call alt_connect to create the connection.

This is meant to work with v0.7.6a1. Somehow github won't let me select the right tag.

alpha-xone commented 3 years ago
  1. Connection methods should be put in core/conn.py instead of blp.py;
  2. Needs to pass auto-CI checks.