Skip to Content

Installation

Requirements

  • A FYERS API app with the permissions needed for the requested API operations.
  • Python 3.10 or later, as recommended by the skill documentation.
  • The fyers-apiv3 package for the SDK and WebSocket features.
  • The App ID, Secret ID and redirect URI for OAuth.
  • An agent that can load SKILL.md skills.

Install the pack

Install both skills with:

npx skills add FyersDev/fyers-skills --all

fyers-supercharge depends on fyers-trading. The command requires access to the referenced repository. You can also install manually: copy the complete fyers-trading and fyers-supercharge folders, including their SKILL.md, references and scripts, into the agent’s skills directory, then reload the agent.

Install the Python packages listed in the trading skill’s requirements.txt from the installed skill directory. fyers-apiv3 is also required.

Connect the FYERS account

Create a local .env file from the trading skill’s .env.example and fill in FYERS_APP_ID, FYERS_SECRET_ID and FYERS_REDIRECT_URI. The login script opens the OAuth flow, exchanges the authorization code for an access token, and caches the token locally. Verify the session with a profile request.

python scripts/fyers_login.py python scripts/fyers_client.py profile

Next steps

Last updated on