Trying to get data for two chains as follows:
data = ek.get_data(["0#USFN30=TWEB", "0#USFN15=TWEB"], ['CF_DATE','CF_NAME','COUPN_RATE','CF_BID', 'CF_ASK', 'SETTLEDATE'])
Getting the following error:
( Instrument CF_DATE CF_NAME COUPN_RATE CF_BID CF_ASK SETTLEDATE
0 0#USFN15=TWEB NaN UMBS 15YR NaN NaN NaN NaN
1 0#USFN30=TWEB NaN UMBS 30YR NaN NaN NaN NaN, [{'code': 251658244, 'col': 3, 'message': "Error: Field 'COUPN_RATE' was not found in response for the instrument '0#USFN15=TWEB'", 'row': 0}, {'code': 251658244, 'col': 4, 'message': "Error: Field 'CF_BID' was not found in response for the instrument '0#USFN15=TWEB'", 'row': 0}, {'code': 251658244, 'col': 5, 'message': "Error: Field 'CF_ASK' was not found in response for the instrument '0#USFN15=TWEB'", 'row': 0}, {'code': 251658244, 'col': 6, 'message': "Error: Field 'SETTLEDATE' was not found in response for the instrument '0#USFN15=TWEB'", 'row': 0}, {'code': 251658244, 'col': 3, 'message': "Error: Field 'COUPN_RATE' was not found in response for the instrument '0#USFN30=TWEB'", 'row': 1}, {'code': 251658244, 'col': 4, 'message': "Error: Field 'CF_BID' was not found in response for the instrument '0#USFN30=TWEB'", 'row': 1}, {'code': 251658244, 'col': 5, 'message': "Error: Field 'CF_ASK' was not found in response for the instrument '0#USFN30=TWEB'", 'row': 1}, {'code': 251658244, 'col': 6, 'message': "Error: Field 'SETTLEDATE' was not found in response for the instrument '0#USFN30=TWEB'", 'row': 1}])
When I run for one chain as follows:
data = ek.get_data("0#USFN15=TWEB", ['CF_DATE', 'CF_NAME','COUPN_RATE','CF_BID', 'CF_ASK', 'SETTLEDATE'])
I am able to retrieve pricing.