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

A question about BDS api #24

Open
Piggy-hammer opened this issue Feb 23, 2023 · 1 comment
Open

A question about BDS api #24

Piggy-hammer opened this issue Feb 23, 2023 · 1 comment

Comments

@Piggy-hammer
Copy link

The result returned by the BDS request is usually a table, but for the convenience of my data processing, I would like to compress the entire table into a single element or something similar. If using Bloomberg's Excel interface, I would use the following formula:

=BDS("299461SL8 Muni","PARTICIPANTS_TABLE", "Aggregate=Y","Separator=C")

with the above formula, the table will be aggregated into a list, and the list will be presented as a string, to be shown in a single cell in excel

Can I do something similar with blp package? Like pass the parameter of "Aggregate = Y" to the BDS api so I can get a list in stead of a whole table?

@gandhis1
Copy link

Why wouldn't you just do this yourself using DataFrame.to_csv? I don't think it makes much sense for the package to do this.

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

No branches or pull requests

2 participants