Hi Fyers Dev Team, till how long or how many years more you will need to release a .Net Lib for Fyers API? I kindly request you to consider this as there are many waiting for it. and your competition is already ahead and providing it.
For now, you may integrate REST API calls with your custom C# .NET code. Almost all functionalities (orders/details/quotes/etc except Sockets obviously) are available in generic platform-independent REST APIs of Fyers.
Can you provide me more details on this? and it still doesn’t answer the exact question i asked? cant you guys release a official lib for C#.Net platforms?
Yes, sockets details are available but for some reason they are not giving endpoints. I’m currently using v2 endpoint and posted a question in the forum asking them to give me its v3 equivalent. It was of no use obviously - they didn’t give me what I asked for.
To add, if you are using custom .NET application and are aware of v3 equivalent of the below WSS endpoint, please share. Thanks in advance.
@nsuyash11-m18 can this be taken seriously? as there are many genuine users waiting for .Net lib support for fyers API.
Not sure, depends on complexity of use-case / adaptability, but integrating REST APIs can be a simple, light & quick way possible to get things running rather than waiting for something that is not yet in picture, and if not going with yet another simple Python SDK ready to use.
It has been many years they are in plan to launch dedicated SDK for C# .NET platform. You may refer this latest post by @communications_team team -
C# .NET SDK Tentative Release Date
Hoping my two cent info could help
Thanks !
Most likely by mid of April the C# SDK will be live
Thank you for the update @WWhYB2qrsx . We all will be counting on this. Please don’t disappoint us this time.
@WWhYB2qrsx waiting for an update on this.
Any update on this @WWhYB2qrsx ?
Sorry for the delay , it will be released by the end of this month
any updates brother?
C# .NET SDK has already been launched long back. Refer installation docs -https://myapi.fyers.in/docsv3#section/Libraries-and-SDKs
@nsuyash11-m18 thank you. Can you guys please share proper documentation or an example project which consumes and explains the usage?
The documentation and the request samples have been added in the V3 docs everywhere
- First you need to create your custom client app from Fyers API Apps Dashboard - https://myapi.fyers.in/dashboard
- Then you need to authenticate your custom app with Fyers Auth Servers with OAuth2 standard process (everytime you want to initiate your app’s session) - https://myapi.fyers.in/docsv3#tag/Authentication-and-Login-Flow-User-Apps
- Once you are done with this, then you can call any command from your app SDK and play by retrieving historical data / price quotes / sockets / designing custom conditional logics / triggering orders
- Refer v3 API Docs for all steps and sample codes - https://myapi.fyers.in/
Hello Fyers dev team ,
@WWhYB2qrsx @nsuyash11-m18 @shruthi_shetty
i just went through code samples and even tested classes / models you have provided.
Here is my honest feedback
Models could be more well designed
For getting historic data you have not giving option to use c# date time type,
No proper representation of what timeframe of data you are querying
-
Response from historic API Is some JArray? Seriously not a well delivered design for users.
-
you are just dumping a Json array n expecting users to parse that into a type again? What’s the point of API then?
-At least a structure with HistoricalData or something?
-
No proper representation of OI data infact I don’t see it at all. Even if we see it from the Json dump it’s very difficult to parse again. we don’t have to do that.
-
No proper return types , everything seems to be a tuple or Jarray dump
-
These small things has to be considered when developing an API SDKs
Anyways it’s your call and your platform.
I totally don’t see any value for me personally to consume these API SDKs
I will stick to Zerodha which is way ahead in this.
(if this release of C# SDKs met even half of what Zerodha is provided wrt to Ease of usage, i would have completely switched to Fyers)
Thank you.
Hello
Please share how to login using the C# SDK for version 3 api.
string clientID = “XXXXXXXX-100”;
string secretKey = “sdfdsfdsfd”;
string redirectURI = “https://trade.fyers.in/api-login/redirect-uri/index.html”;
Methods t = new Methods();
FyersClass fyersModel = FyersClass.Instance;
fyersModel.ClientId = clientID;
fyersModel.GetGenerateCode(clientID, secretKey, redirectURI);
//fyersModel.AccessToken = access_token;
ProfileModel profileModel = new ProfileModel();
t.GetProfile(fyersModel, profileModel);
I am getting the below error

