Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upClean up blpapi utils #127
Conversation
|
Great idea -- til we figure out how to totally avoid it, at least make it local. |
|
is #107 also an issue linked to Lazyframe? |
|
Well, this is the fieldInfo from BBG for LAST_UPDATE: id "PR024" So, we can address this in the new allocateDataFrame function. The problem is that most of the functions (bdp, bdh) still use populateDfRow to convert the bbg response to a dataframe, and that code still uses the BBG types to convert, so it's going to see BLPAPI_DATATYPE_DATE or BLPAPI_DATATYPE_TIME and that particular function assumes that the allocation function has already set up for a double (posix) or integer (date). So, there's still some work to be done to connect the types we see at allocation time w/ the populateDfRow function. I don't think it's too hard, but just going to take some time to re-tool for this. |
|
Thank you for the detailed explanation, it is much more clear now. |
cleanup to move new util functions into blpapi_utils.cpp and move Lazyframe related code into bds which is the only remaining place it's used.