I am using the Refinitiv data library for Python.
I was looking to calculate the bid-ask spread on 5-minute intervals for a month for an ETF.
Currently, I get the history
x = rd.get_history(universe = x_ticker, interval = '5min', start = MTH_START, end = MTH_END, fields = ['BID','ASK'])
and calculate the min, max and mean spread locally. Can I do the calculation on LSEG and just get the min, max and mean spreads?