.Net Core Protocol not supported Error
-
Hi Team,
I want to cover 3 items here:
- The dll is not working for .net core projects. It seems like an issue with the Security protocol that you support from your server end.
The issue starts with trying to generate token using SmartAPI > POSTWebRequest : Line 75 of SmartAPI.cs from the Github repo of https://github.com/angelbroking-github/smartapi-dotnet
ServicePointManager.SecurityProtocol = (SecurityProtocolType)48 | (SecurityProtocolType)192 | (SecurityProtocolType)768 | (SecurityProtocolType)3072;
-
question: Do you not support having a marketWatch without logging in. Do i must GenerateToken?
-
The data returned in MarketWatch is not as posted in the documentation or am i missing something?
I ran with .Net framework(not .core) so working example that you have provided in github but the data that i receive in console is
documentation: https://smartapi.angelbroking.com/docs/WebSocketStreaming (there are 34 properties here) but
a. i don't get all
b. sometimes they are too less too[{"to":"2169187335.26","lo":"520.40","e":"nse_cm","sp":"522.45","c":"519.80","ltp":"522.40","ltq":"4","tk":"10604","bs":"168","ltt":"28/05/2021 11:47:36","tsq":"1156595","v":"4141093","bp":"522.35","cng":"02.60","bq":"2","ap":"523.82","nc":"00.50","name":"sf","tbq":"846809"}]
[{"tvalue":"28/05/2021 11:47:38","name":"tm"}]
[{"e":"nse_cm","name":"sf","ltp":"522.45","ltq":"100","tk":"10604","ltt":"NA"}] ### less propertiesc. in FO: missing OI & other data
[{"to":"4800213108.00","lo":"522.50","e":"nse_fo","sp":"525.70","c":"523.90","ltp":"525.60","ltq":"1851","tk":"48540","bs":"5553","ltt":"28/05/2021 11:47:29","tsq":"2841285","v":"9116175","bp":"525.60","cng":"01.70","bq":"3702","ap":"526.56","nc":"00.32","name":"sf","tbq":"1073580"}]
- I dont see a category to ask C#/.Net SDK
-
HI @prakash-john the issue has been solved.
-
Hi @prakash-john we update you on this.
-
@admin Any update on the protocol error or .Net core project ?
-
Hi @prakash-john Please go through the below documentation
https://smartapi.angelbroking.com/docs/WebSocketStreaming -
@admin said in .Net Core Protocol not supported Error:
Values are only updated once their is change in them.
How are we supposed to get initial data when getting the first tick. For a new connection would it not provide a one time snapshot of all the data?
-
@prakash-john said in .Net Core Protocol not supported Error:
The dll is not working for .net core projects. It seems like an issue with the Security protocol that you support from your server end.
1)Our team is working on this
@prakash-john said in .Net Core Protocol not supported Error:
question: Do you not support having a marketWatch without logging in. Do i must GenerateToken?
Yes you need to login first and get the token.
@prakash-john said in .Net Core Protocol not supported Error:
The data returned in MarketWatch is not as posted in the documentation or am i missing something?
I ran with .Net framework(not .core) so working example that you have provided in github but the data that i receive in console isdocumentation: https://smartapi.angelbroking.com/docs/WebSocketStreaming (there are 34 properties here) but
a. i don't get all
b. sometimes they are too less tooValues are only updated once their is change in them.
@prakash-john said in .Net Core Protocol not supported Error:
in FO: missing OI & other data
Currently we are not providing it.
@prakash-john said in .Net Core Protocol not supported Error:
I dont see a category to ask C#/.Net SDK
we will create one for that. -
Hi @prakash-john We will update you on this I have shared the issue with our team.
-
@admin any update on those 4 queries?
-
HI @prakash-john we coordinate with our team and update you on this.
-
@admin Can i contribute to GitHub repo as anyways im coding for myself(of course i generally prefer .net core). Upto you guys.
-
HI @prakash-john we have noted this we will update you on this.