Queestion on "API trapi.data.pricing.read" scope

Is LDP account required to run the following script? Please advise.

Import lseg.data as ld

non_streaming = ld.content.pricing.Definition(

    ['EUR=', 'GBP=', 'JPY=', 'CAD='],

    fields=['BID', 'ASK']

).get_stream()

non_streaming.open(with_updates=False)

non_streaming.get_snapshot()

Tagged:

Answers

  • Hello @Midori517

    The provided LSEG Data Library code consumes the Real-Time data from the platform, so the client's credential needs API trapi.data.pricing.read scope.

    Note: This is based on my observation with the Platform session (RDP). I am not sure about the Desktop session (Workspace).