FyersV3 Python SDK

Dear Fyers Dev Team,

kindly update the requirements file/packages and overall SDK.

it has fallen well behind current updated version numbers.

eg. downgrade of setuptools 84.2.1 68.0.0, or aiohttp very old

Running it with any other packages/app creates too many unresolved package conflicts that building an app is nearly impossible.

Thanks

Hi @chirag, thanks for highlighting this. Could you please share the detailed package requirements, the conflicts you’re facing, and your contact details via DM? Our team would like to connect with you and understand this better.

site-packages\fyers_apiv3\fyers_logger.py", line 54, in error
super().error(msg, *args, **kwargs)
File “C:\Python314\Lib\site-packages\aws_lambda_powertools\logging\logger.py”, line 742, in error
return self._logger.error(
Message: {‘type’: ‘sub’, ‘code’: 51001, ‘message’: "You requested more than your Standard plan’s 100-symbol limit. Please request 100 or fewer symbols. For a subscription limit of up to 5,000 symbols, take a FYERS Prime subscription through FYERS Web or App → Profile → FYERS Prime, or visit FYERS - Web ", ‘s’: ‘error’}

that → used is breaking your own logger among other things

site-packages\fyers_apiv3\FyersWebsocket\data_ws.py:7: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.

with so many vulnerabilities being exposed using AI tools, it is prudent to do a proper SDK audit and maintain/upgrade packages so their own dependencies do not introduce new exploits.

Hi @chirag, thanks for sharing the error logs.

We noticed two things:

  1. WebSocket subscription limit: The error occurs because your subscription request exceeds the Standard plan limit of 100 symbols. Please keep your subscriptions within 100 symbols or consider upgrading to FYERS Prime, which supports up to 5,000 symbols.

  2. Setuptools warning: As a temporary workaround, please use Setuptools version below 81. This warning will be addressed in an upcoming release of the FYERS Python SDK.