-
Notifications
You must be signed in to change notification settings - Fork 163
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
Using overrides in get_historical #41
Comments
The overrides are supplied as keyword arguments to the function. |
Does anyone know how to override start time and end time in a VWAP field for an Equity. (ie: VWAP of IBM from 15:00 to 15:30) |
@frankrao56 the overrides are VWAP_DT, VWAP_START_TIME, VWAP_END_TIME. The date format is "%m/%d/%Y" and the time format is "%H:%M:%S". However, because the VWAP_DT override is specific to a particular data point (not the whole time series), you can't use the get_historical function. You need to use get_attributes, and query one date at a time. If anyone finds a faster way to get VWAPs for multiple dates in a single request, please let me know! |
Hello.
I am trying to use the override "FWD_CURVE_QUOTE_FORMAT=RATES" in the following get_historical request, but I am not sure of the correct syntax
G10_test = inp.get_historical('PX_LAST',start_date, end_date).
Can someone please help?
The text was updated successfully, but these errors were encountered: