hi, this code is failing with this error:
2021-07-29 17:44:48,859 P[10512] [MainThread 1676] UDF Core request failed. Gateway Time-out
2021-07-29 17:44:48,861 P[10512] [MainThread 1676] HTTP request failed: EikonError-UDF Core request failed. Gateway Time-out
from this code snippet
rics = ["0#SPXW*.U"]
fields = ['BID','ASK','TIMACT',"CF_LAST","PRIMACT_1"]
results = list()
temprics = rics
errors = 0
while rics:
try:
temp,e = ek.get_data(temprics[-1],fields)
results.append(temp)
print("probably succeeded: " + str(temprics[-1]) )
temprics.pop()
except:
print("certainly failed: " + str(temprics[-1]) )
errors += 1
if errors >=2:
temprics.pop()
errors = 0
print("gave up on that last one")
res = pd.concat(results)