Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add appIdentityKey optional argument to blpConnect() #404

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

klin333
Copy link

@klin333 klin333 commented Jan 15, 2025

@eddelbuettel
Copy link
Member

eddelbuettel commented Jan 15, 2025

(Link is paywalled)

We will take a look. Implementation looks clean and straightforward (and sorry you had to deal with SEXP ...)

@klin333
Copy link
Author

klin333 commented Jan 15, 2025

Relevant bits from the Bloomberg documentation:

Integrating Application Identity Key into Application
Application Identity Key (AIK) is supported in all interfaces of BLPAPI starting from version 3.20. To leverage AIK in your BLPAPI requests, you can inject AIK into SessionOptions.

Select applicable language to show sample code to integrate AIK into your application:

SessionOptions sessionOptions;
sessionOptions.setApplicationIdentityKey("<Enter AIK here>");

@eddelbuettel
Copy link
Member

@klin333 I am so sorry. This fell to the side.

@johnlaing Any chance you could take a look and test drive it?

@eddelbuettel
Copy link
Member

I rebased this against the updated master branch, and updated the (now newly added) else branch to also have the added keyword so this should check out cleanly.

@johnlaing If you could testdrive it I'd much obliged.

@eddelbuettel
Copy link
Member

Or, for once, I could just merge it as this is a pretty local change with a default value preserving old behaviour ....

@johnlaing
Copy link
Contributor

I'll try to look at it this week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants