Open bverh opened 6 years ago
Sure that looks good. The one thing is it would probably make sense to instantiate a DataFrame with the results to be consistent with the other functions in pdblp
, it doesn't appear that you are doing that here?. It would also be good to add a unit test to tests/test_pdblp
.
I can definitely do that. The results from InstrumentListRequest
also include a description of the ticker, so I will include this along with the tickers in the returned DataFrame. I will add some tests as well.
Implementation of the terminal function "SECF" which allows query based lookup of tickers using a search string. This leverages the "instruments" service using the
InstrumentListRequest
request type.I can go ahead and open a PR of my implementation of the function, which can be located here
This is quite similar to the request from @dcragusa in issue #45. I've gone ahead and kept consistent by using the same naming convention for opening the related service -
self.instrService