If I want to get the total open interest of 'LCO' (Brent) I do:
import eikon as ek
ric='LCOTOT'
s , e = ek.get_data( ric , ['TR.OPENINTEREST.Date' , 'TR.OPENINTEREST']
However, if I want to do the same for 'RB' (Rbob) :
import eikon as ek
ric='RB-TOT'
s , e = ek.get_data( ric , ['TR.OPENINTEREST.Date' , 'TR.OPENINTEREST']
It wont work. Do you know why?