tigerfintech / openapi-python-sdk

Python SDK for Tiger Open API
https://quant.itiger.com/#openapi
68 stars 15 forks source link

Current user and device do not have permissions in the OPT market #50

Open Kinneh04 opened 2 years ago

Kinneh04 commented 2 years ago

I want to get options data on US stocks but I always recieve this message: tigeropen.common.exceptions.ApiException: code=4 msg=4000:permission denied(Current user and device do not have permissions in the OPT market) I recently bought L2 Options data but this still happens. Idk if need also buy nasdaq totalview or not.

hotea commented 2 years ago

Make sure the data permission you bought is for API not APP

seantanjx commented 2 months ago

I wanted to get stock price from say a company listed in the Australian exchange. This are my quote permissions I got from running quoteClient.grab_quote_permissions() but i still got the same error

[{'name': 'aStockQuoteLv1', 'expire_at': -1}]
An error occurred: code=4 msg=4000:permission denied(Current user and device do not have permissions in the US market)

How can we check what permissions does aStockQuoteLv1 gives us?