Hi,
I'm trying to figure out what the best scope would be to grab historical Bid and Ask prices when using the RDP/API account?
Below is what I have but I'm running into issues. Could you just confirm if this is correct or not?
--data-urlencode 'grant_type=password'
--data-urlencode 'username= 'XXXXX'
--data-urlencode 'scope= 'trapi.data.historical-pricing.events.read'
--data-urlencode 'client_id= 'XXXXX'
--data-urlencode 'password= 'XXXXX'
--data-urlencode 'takeExclusiveSignOnControl=true'
I get this error when trying to get the token to work
{'error': {'id': '8c45e309-f6ef-433e-987e-329cc84ec98d', 'code': 'insufficient_scope', 'message': 'access denied. Scopes required to access the resource: [trapi.data.historical-pricing.events.read]. Missing scopes: [trapi.data.historical-pricing.events.read]', 'status': 'Forbidden'}}
Many thanks!