Building Your First Python Strategy Using OpenAlgo and Using Fyers API with ChatGPT

I want to create my options chain for commercial use using fyars api

In that case you have to approach the fyers API team explain the use case and get the partners API

sir i am getting this error when press connect broker (fyers)

This site can’t be reached

127.0.0.1 refused to connect.

Try:

  • Checking the connection
  • Checking the proxy and the firewall

ERR_CONNECTION_REFUSED

i get this error after running “pip install -r requirements.txt”

....[meson.build:2](http://meson.build:2):0: ERROR: Could not find C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe

how to fix?

i am using latest python, vscode and openalgo as of 2nd feb 2025 on Windows 10 Home Single Language, Version 10.0.19045 Build 19045.

Hi @1wwqa8dAt7,

OpenAlgo supports python version 3.12.8 and below. Latest Python version, may not support.

thanks. version 3.10.11 worked for me.

I am getting below error message after login to openalgo
Please check if your API Key or API Secret is valid.
If you updated the .env file while logged in, logout and login again to refresh credentials.

To resolve this issue :-

  1. I have changed the API key and API secret even I deleted the application from the fyer and created new but still I am getting same error message

OpenAlgo supports python version 3.12.8 and below. Latest Python version, may not support.
Consider using older versions instead of 3.13 or higher as some of the numpy and pandas libraries are still not compatible yet.

After login to “https://trade.fyers.in/api-login” getting error after selection of broker. What is issue?

API Login Error
Hi Sir, I am getting the above error while trying to access the link http://127.0.0.1:5000
I am using python version 12 only. Please help me sir

API Login Error I am getting this while trying to access openalgo

can you ensure that you are configuring as per the documentation and video tutorial
https://docs.openalgo.in/connect-brokers/brokers/fyers