Hi all,
I’m using the latest lseg-data Python library (v1.x) with a Desktop session.For equities like SPY.P the usual Level-1 fields (TR.CLOSE, BID, ASK, etc.) work fine, but I can’t figure out the correct identifier / field for the Cboe Put/Call Ratio.
I’ve tried several combinations without success:
ld.get_history(".PCALL", ["TR.CLOSE"], "1d", start, end) # LDError: identifier not resolved
ld.get_history(".PCRATIO",["TR.CLOSE"], "1d", start, end) # same
ld.get_history("SPY.P", ["PUT_CALL"], "1d", start, end) # field not supported